c and c++

Physics Simulation

Submitted by Logan Smyth on Mon, 03/26/2012 - 01:06

I'm making a physics simulator in C++. After I went to GDC 2012, I got excited to play with OpenGL again, so I decided to pick up on this project, which I'd read up a bit on last year but hadn't had the time to really sink my teeth into it. I have collision detection all worked out and now I just need to finish off the physics simulation itself. After that, all that remains is to clean up the code and make the it fun to actually play with.

NodeJS IMAP Client

Submitted by Logan Smyth on Tue, 05/24/2011 - 22:53

I'm currently working on making a library for NodeJS to provide a nice client library for IMAP. There is another library at the moment, but it doesn't provide a lot of the functionality provided by IMAP, so I wanted to write a full-on client trying to conform as much as possible to RFC 3501.Currently, it can send all standard IMAP commands and return the results, but they aren't wrapped in any particular nice response format, and there isn't any real standard method for supplying arguments yet, other than a string matching the IMAP protocol, which isn't ideal.

NES Emulator (Second attempt)

Submitted by Logan Smyth on Tue, 12/29/2009 - 00:00

With all the knowledge I'd gained from working on my first attempt at an NES emulator, I wanted to give it another shot in C++. This time around, I had much more success, though I still ran out of steam for now.

I implemented the CPU and GPU in C++ using SDL for 2D rendering and input. It can render Pong 80% correctly, though I have not implemented sprites or user input yet, so there is not much that can be tested aside from general ability to render.

Wireless "Cows & Bulls" Game

Submitted by Logan Smyth on Thu, 12/10/2009 - 00:00

For the final project of Microprocessor Systems, my team and I designed and implemented a game running on McGill's custom development boards. Using the onboard MSP430 and CPLD and our custom drivers for all of the hardware, a wireless transciever, the CC2500, a PS2 keyboard and a 2x24 LCD display, we designed a Cows & Bulls game that would run wirelessly between two boards.

MPRIS Songbird Extension

Submitted by Logan Smyth on Wed, 07/01/2009 - 01:00

This extensions provides an MPRIS interface for controlling Songbird through the Linux DBUS. It allows for changing tracks, volume and position, prev/next, play/pause/stop, as well as allows for retrieval of metadata on songs. This is my first Songbird extension and likely my last since they have discontinued support for Songbird on Linux, though there are still nightly builds available.


Submitted by Logan Smyth on Sun, 02/01/2009 - 00:00

As nice as Java graphics are, I wanted to learn to code graphics in a language that was a little more solid and made me feel a little more in control. So, setting out with the knowledge of C I'd picked up over the past few years, I went about learning C++ and graphics.

Subscribe to RSS - c and c++

You are here