# Mathober2025_Primitives

# **CubeFulSquashes**

For my 12th sketch of **<mark>Mathober2025</mark>** coded in ***LiveCodeLab,* CubeFulSquashes** takes the **18th** prompt**: Primitives** and uses many cubes as they can be considered a geometric

## Poem

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

## Video

%[https://youtu.be/laI8G7Y5V8g] 

## Code

```ocaml
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)

```
