Day 23 - Lego
09 | 2009
This is based on an old script that I lost in a harddrive crash and decided to recreate it. When the lego bricks start to slide I'm tilting the laptop, and calculating the direction of the gravity from the sudden motion sensor.
Xploding Plastix - Comatose Luck
also on flickr, youtube, blip.tv.
Source Code
Thanks to Bence Samu for the lego 3d objects.
Requires a laptop with a sudden motion sensor and the unimotion module from my google code svn.