# Mathober2025_Amalgamation

# **BloomingCubes**

For my 5th sketch of Mathober2025 coded in #***LiveCodeLab,*** BloomingCubes takes the **26th** prompt\*\*: Amalgamation\*\* and uses many cubes that are amalgamated to bloom\*\*.\*\*

## Poetry

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

## Video

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

## Code

### LiveCodeLab

```javascript
(time % 30 + 1)* 25 times with i
	stroke
	scale .97
	rotate Math.hypot(sin(i)*3,cos(i)*2)
	move i/15, Math.hypot(sin(i)*3,cos(i)*2),Math.hypot(sin(i)*3,cos(i)*2)
		rect wave(0.13)*i/15,sin(time),sin(time)* i/5
		if time % 10 > 5
			box sin(time),sin(time)* i/10,wave(0.13)*i/15
		else
			rect Math.hypot(sin(i)*3,cos(i)*2),sin(time),sin(time)* i/10,wave(0.13)*i/15
```
