
BoxialRotationStrands
For MinaCoding2026 Day 15: Rotation, BoxialRotationStrands coded in LiveCodeLab explores the rotational path of certain boxes.
Video
Code
simpleGradient black,black,grey
pushMatrix()
scale 1.25
stroke white
12 times with i
rotate Math.hypot(i,sin(time) / 50)
move 0,0,0.01 * i
noFill
box i,i,i
popMatrix()
pushMatrix()
stroke blue
7 times with i
scale 1.60
move 0,0,0.0001
rotate sin(time) / 500
noFill
box
popMatrix()
pushMatrix()
scale 1.97
stroke gold
5 times with i
move 0,0,0.0001
rotate sin(time) / 100
noFill
box
popMatrix()



