Contains three parts:
server
: a Node.js app, which runs an "admin" web interface controlling the device;game
: a C++ app, launched by the web interface, which runs a mode based on sensor inputs and outputs on LEDs;rotation-calibration
: a C++ app, which sets the sensor-to-device transformation matrix.
The web interface features an editor (ACE) and remotely controls the device.
The modes are saved and loaded from the modes
directory. In order to be able
Install Node.js, then in the server
directory, install dependencies with npm install
.
Run the server with node app.js
.
Documentation in progress:
- Setting Wi-Fi
- Securing the web interface
The app is responsible for taking inputs from sensors and outputting colors on LEDs.
A mode binds the inputs to the outputs. This is a Lua script, which can be edited on the web interface.
Documentation in progress:
- API
- Tutorial
Build system: scons
Libraries:
Copyright 2016 Jonathan Giroux