Skip to main content

Command Palette

Search for a command to run...

MinaCoding2026_MoreRotation

Boxes are Rotating

Updated
1 min readView as Markdown
MinaCoding2026_MoreRotation

BoxialRotationStrands

For MinaCoding2026 Day 15: Rotation,  BoxialRotationStrands coded in LiveCodeLab explores the rotational path of certain boxes.

Video

https://youtu.be/bAYmHl4npJw

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()

Minacoding2026

Part 33 of 33

Submissions for MinaCoding 2025: https://minacoding.online/theme

Start from the beginning

MinaCoding2026_Circle

Starting this Journey Again