A fast and easy way to make animations for your LED cube.
Exports to CSV format.
Use it in the browser at victormoller.com/ledcube
- Click on the lights(balls) to turn them on/off.
- Create all the frames and animate them.
- Press Export and then "Copy to clipboard(C Array)"
- Open up the LEDCubeAnimation.ino file.
- In there set CUBESIZE to your LEDcube size.
- Set LEDPin[] to the pins for the LEDcube columns.
- Set PlanePin[] to the planes on the LEDcube.
- In PatternTable[] paste in your exported animation in it.
- Run the Arduino program.
An exemple how one output line will look. (B is just for C array)
B100, B000, B000, B000, B000, B000, B000, B000, B000, 5,
B100 is one row where the lamp status is set from left to right.
3 (or depending on your cube size) makes up a plane from front to back.
And then the planes go from bottom to the top.