1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Using the WiiMote with NodeBox

Posted by fdb on Feb 15, 2008

A small example that shows how to communicate between the WiiMote and NodeBox. Communication happens over OSC, through a program called OSCulator.

http://nodebox.net/code/index.php/WiiDraw

Source code is available, so let me know if you do something fun with this! A library is forthcoming.


 
Posted by fdb on Feb 15, 2008

There's now a full WiiMote library for NodeBox:

http://nodebox.net/code/index.php/WiiNode



Posted by anonymous on Mar 08, 2008

That's great, but is there support for the nunchucks?



Posted by spooky kid on May 05, 2008

Hi fdb, I'm trying to use wiidraw following all your instructions, but it gives me that error:

Traceback (most recent call last):
File "nodebox/gui/mac/__init__.pyo", line 358, in _execScript
File "/Users/sebas/Desktop/wiidraw/wiidraw.py", line 4, in
ImportError: cannot import name oscAPI


Do you know what is happening? I can't wait to use this great union between nodebox and wiimote! Thanks a lot!



Posted by fdb on May 15, 2008

The oscAPI.py file is in a folder "osc", which should be in the same folder as your wiidraw.py file.

Anyway, you should check out the WiiNode library, which obsoletes the wiidraw code, and includes the drawing example as well.

Kind regards,

Frederik