Spinning Cube
On your display
A wireframe cube tumbling in 3D, with depth-shaded edges and a slow colour drift.
- Topic
- Animations
- Includes
- Script
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002) 52×16 (TC002) version
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
Spinning Cube
A wireframe cube tumbling in 3D, with depth-shaded edges.
Panels: 52x16 and 32x8
What it is
A real rotation in three axes, projected to the panel — not a sprite sequence.
Edges nearer the camera are drawn brighter than those behind, which is what lets
sixteen rows of pixels read as a solid shape rather than a tangle of lines.
It tumbles rather than spinning on one axis, so the silhouette keeps changing.
Settings
Nothing to set.
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More scripts in Animations
Something wrong with this script? Report it.
Have an idea?
Sign in to ask questions and join the conversation.