Pixels meet physics!

What to code when you have an hour sitting in the train, or don’t want to waste your evening watching  tv? Let’s try a quick and simple simulation, where raw pixels come to live and react like they obey the laws of physics.

Enjoy this simulation of bouncing balls with gravity, wall collision detection and friction.

Run Full Screen