I wrote these for fun, and usually out of pure curiosity. Couple of the mini-projects are games that I've developped with my friends for various competitions.
Above: A simple 3d engine I built one day from scratch. I wanted to write my own small part of the OpenGL pipeline.
Above: Multi-agent crowd simulation. Agents avoid each other while also travelling towards an objective.
I implemented this while I was taking my second Quantum Mechanics class. It visualizes the amplitude of a wave function corresponding to a 1D particle as it evolves in time according to a discretization of the time-dependent Schrodinger's equation. It supports arbitrary potential functions.
Choon was a physics shoot-em-up game I developed with two friends for the game competition TOJAM 3 (2008). I wrote most of the physics and AI parts: particle engine, explosions, and mice that aim to kill.
Progger is a physics/logic game I developed with a friend for the UofT game programming competition. It was quite the hit!
Above: Monte Carlo simulation of inter-reflection. You can change the direction of light, type of light, reflectance of both planes, their angle, etc.. and observe the effects on the overall brightness.
Above: Graph layout using a force based approach. I eventually used this code to lay out some of my neural networks, with a preprocessing stage that ran BFS to get a decent initial configuration.
A robot arm that can solve n-block Towers of Hanoi problem.
A simulation of sound propagation with a particle spring model.
Scale is a physics/logic/arcade game I developed with a friend for the competition TOJAM 4 (2009). We won the first place for best use of Theme. (The theme was "scale")