Python + Motion detection = Fweemote 30
jedie writes "After reading about different Wiimote hacks on Slashdot I decided to make a video with some demos of my motion-detection library. You can watch the video here. There's a link to the sourcecode (GPL) as well, but the demo is win32 only. It's basically a webcam and some software in python to track LEDs (preferrably IRs). In the demo video, you see the software (albeit badly because of the webcam's IR filter being removed) tracking two differently colored LEDs, so multiplayer is possible. The software can track multiple points easily, and when combined with IR-LEDs, it's easy to simulate one Wiimote (i.e. calculating the distance and angle between two IR-LEDs to determine where the remote is relative to the webcam). I want the code to get some publicity, because I don't have time to work on it (dissertation, blabla) but I don't want the code (however messy it is) to go to waste."
Re:Win32 because of webcam library (Score:3, Funny)
Re:If only (Score:4, Funny)
You can't write 'because' either.
Re:If only (Score:3, Funny)
if code aesthetics are really important to you, they you really must go with basic.
10 CLS
20 PRINT "Hello world"
30 END
Look at the beautiful symmetry!
Look at the even row of numbers in one column, and how they prop up the commands sitting beside them.
I must say, BASIC code is truly an example of sublime beauty.
I pity the fool who codes in Python.