Accelerometers are popping up in tons of devices. After finishing Mattias Ljungström’s Game Design class I wrote some code to give 3d visualization of wii controller movents. A friend who is learning Processing asked me for a copy of it recently so i took the chance to document and comment the code. You’ll have to download the bluetooth drivers or replace them but the code is generic and simple enough that it should be easy to apply to other devices with accelerometer feedback. If you arent familiar with Processing… its a cross-platform framework for quick-simple visualization coding. code is here. if you are able to find improvements, please let me know so i can link to your version or include it here.
Archives for the month of: June, 2008