# MinaCoding2024_Talking

# **DonutWorld2**

For the 8th day of #**MinaCoding2024 : "Talking"** , I was talking to someone about today being ***Donut Day.***

So decided to remix a previous donut piece called ***DonutWorld(***[https://blog.illestpreacha.com/mathober2023cohomology](https://blog.illestpreacha.com/mathober2023cohomology)) ***into* DonutWorld2**

## Poem

```ocaml
Donuts World
Donuts Twirl
Donuts Curl and Hurl
These are the actions
The Interactions
In Donut World
```

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/MXRS6bn4JC0?si=PgSdemOgzgHWrsf0"></iframe>

## Code

### LiveCodeLab

```javascript
turns = time % 6 + 1
detail = 500 - 3 * (time % 10 * 12 + 1)

speed = 0.4

scale (time % 6 + 1)/5
rotate time % 25,0.75, Math.cbrt(time)

detail times with i
    rotate 0, 0, wave(0.003)
    move 0.65,wave(0.003),wave(0.03)
        rotate 0, sin(time), Math.cbrt(time)
            peg 1,0.5,0.5
```

### Hydra

```javascript
s0.initScreen()

src(s0).modulatePixelate(src(s0).scale([0.55,0.65,0.75,0.85,0.95].smooth())).
modulateScale(s0,1.5).out()
```
