Mathober2025_Primitives
More Cubes
Updated
•1 min read
CubeFulSquashes
For my 12th sketch of Mathober2025 coded in LiveCodeLab, CubeFulSquashes takes the 18th prompt: Primitives and uses many cubes as they can be considered a geometric
Poem
A Cube wishes
To be more than a square
but wonders where?
and how, it can lead to switches?
Video
Code
simpleGradient teal,silver,black
45 times with i
ambientLight 190,i*3,i
fill brown
noStroke()
rotate -0.001 * (time % 45),Math.hypot(i,i^3),(i/1000)*3
move -0.001 * (time % 8),0,i/5
box wave(sin(time)/10000), wave((sin(time)*20)/18000)




