# Mathober2023_Section

# FloatingSections

For the 4th  Prompt Of Mathober: **Section, *FloatingSections*** shows the path of Solids and their cross sections as they transverse the pixelated and layered Screen.

Coded in **LiveCodeLab & SonicPi**

## Poem

```ocaml
From Solids to Waves
Waves to a Solid
On the Graph they are Plotted
Plotted as they Look to Behave
Beyond the Restrictions
Beyond the Equations
```

## Video

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

## LiveCodeLab Code

```javascript
scale 0.3

rotate sin(time),Math.cbrt(Math.hypot((sin(time)+0.5),wave(0.05))),wave(0.04)
move Math.pow(cos(time)+ 1,time % 6)

if time % 8 >4
	box 3,sin(time),tan(time)
else
    rect 3,sin(time),tan(time)
```
