Preview: Wiimote Headtracking, Now in Processing
Netzstaub has been pumping out all kinds of great code and projects over on his blog. Here’s an especially sweet example: he’s got Processing working with a basic headtracking process. The input involves oscp5 and netp5 used with the Mac-only DarwiinRemoteOSC library, but could be adapted to other operating systems.
Wiimote Headtracking in Processing via wesen’s Twitter (follow CDM at Twitter: cdmblogs)
Once the data is there, the rest is basically math. You position the camera to look straight ahead, and then adjust the viewing angle based on incoming data.
The sketch is available, so go try it — and see if further improvements or other applications are possible.
In case you aren’t already familiar with it, here’s the now-famous video featuring Wiimote headtracking, by Carnegie Mellon’s Johnny Chung Lee:






2 Comments or Links
Leave a CommentComments
wesen
this is early work in progress, it doesn’t look like johnny lee’s window (the boundaries of the tunnel don’t stick to the window corners), we’ll go back to that and hack some cool stuff with it too.
August 25, 2008 @ 8:07 am
BomB
Best of all!!!
September 7, 2008 @ 1:12 pm
Other Sites Linking Here
Wiimote head tracking in Processing - Hack a Day
[...] [via Create Digital Motion] [...]
March 16, 2009 @ 3:57 pm
Leave a comment
RSS feed for comments on this post. TrackBack URI