Skip to main content

Command Palette

Search for a command to run...

Mathober2025_Polyhedron

Cubing

Published
1 min read
Mathober2025_Polyhedron

CubeFulWishes

For my 4th sketch of Mathober2025 coded in #LiveCodeLab, CubeFulWishes takes the 3rd prompt of “Polyhedron” and turns a cube/box into much more.

Poem

A Cube wishes 
To be more than a square
but wonders where?
and how, it can lead to switches?

Video

Code

simpleGradient yellow,black,yellow

25 times with i
    box sin(time)*(i/15),wave(i/15),wave(i/15)
    box sin(time)*(i/15),wave(i/15)*2,wave(i/15)
    ambientLight 10,50,90
    fill orange
        box sin(time)*(i/15),wave(i/15)*2,wave(i/15)*2