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

Cars | racing with the reactable

As an add-on to the introductionary course in NodeBox at the St. Lucas School of Arts we wanted to try out the posibilities of Jannis Leidel's TUIO library by creating a small NodeBox/reactable game.

The TUIO library allows a webcam to recognise certain geometric shapes called fiducials. The webcam is able to track the movement and rotation of these shapes so it allows you to build a custom interface unlike the mouse and keyboard.


Students focused on the following principles:

  • The arena had to draw itself.
  • By leaving the track the car would slow down rapidly. A set of dynamic checkpoints were introduced and a check that kept track of the position of each car with respect to the circuit.
  • We wanted the game to be multiplayer so class programming techniques came in handy. The game relies on two classes, one for the dynamic arena and one for the car.

Here are some samples of autogenerated racing tracks:





View source code


Created at EMG
Students: Wim Van Aerschot, Vladimir Jartsev, Gilles Pinseel