WiiFlash Ribbons uses the mouse, or if connected, the pitch- and roll- data of a Wiimote as input for this little Papervision3D experiment. The source code is based on Ribbons3D by Felix Turner and Line 2.0 by Mark Barcinski.
Click here to have a look at the result (use your mouse, or, if running the newest WiiFlashServer, your Wiimote as input device). You can also download Wiimote Demo Ribbons.zip containing the source files to use it with the Wiimote and the WiiFlashserver.
Wiimote Demo Functions.zip (demonstrating LED, Rumble and mouse control)
Wiimote Demo IR.zip (very simple way of using IR blob/dots/point data)
Wiimote Demo IR Traces.zip (using bitmaps, filters and matrix functions to generate a nice effect when handling IR blob/dots/point data)
Wiimote Demo 3D Object.zip (using pitch, roll and yaw data to rotate and move a 3D object in Papervision 3D)
Wiimote Demo Head Tracking.zip (using two IR dots to do simple x, y an z positioning in Papervision 3D)
Wiimote Demo 3D Object Nunchuck.zip (using the Nunchuck to rotate and scale a 3D object in Papervision 3D)
More examples are on their way so check back soon!
17 Comments. Leave a comment too
May 7, 2008
Nice. How about some examples of forward backward depth movement (z-axis) – that seems to be the hardest thing about programming with WiiFlash.
May 9, 2008
Great Stuff!
I got a wii remote for my birthday ( a wii would be even better! ) unfortunately I didn’t have the time to play with it yet, but with demos like these I really get motivated to make time
and get it up and running with my mac.
May 9, 2008
Hi Jason,
I guess ‘Wiimote Demo Head Tracking.zip’ is what you are looking for…
Alan
May 27, 2008
hi~I got a problem
when i try “Wiimote Demo IR”
it’s work on my Macbook
it only use wiimoteJ to connect Bluetooth, that really easy
but it’s not work on my Windows XP
although my “WiiFlash server” is working
could you tell me how to set in PC…
thanks a lot ^^
May 30, 2008
Thanks for your work on this and for these samples.
However, the IR samples aren’t working for me. I get NaN for the point x and y values. I am connected to the Wiimote (using WiiFlashServerJ 0.4a on Mac OS X) and the Demo Functions example works fine. It’s just the IR that is not working (which unfortunately is the only sensor I need on the Wiimote).
I can see the IR points with x and y values when I connect to the Wiimote with DarwiinRemote, so I am sure that my IR emitters are working and that the Wiimote is functioning correctly.
Is anyone else having this problem? Any ideas of what I can try?
Thanks!
Nathan
August 3, 2008
Hi, great examples !!
Do you have any example code for reading/managing/responding to HistoryPeakDetection?
Thanks.
September 7, 2008
This was just what I was looking for. I gave the IR tutorials a tried but they seem to be malfunctioning. It senses the IR points but the points don’t move accordingly. It might just be my computer.
Thanks though, this is a good starting point for a project I’ll be working on.
November 17, 2008
Can we get an example for how to set up multiple wii remotes?
December 3, 2008
This is strange. I can’t get the IR demos to work (using tea candles as my IR emitters), but just last week I was able to do it just fine on this same machine with this same setup.
December 3, 2008
hmmm…. rediscovering the bluetooth device helped restore IR functionality