Mathober2023_Section

Mathober2023_Section

Sections and 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

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

LiveCodeLab Code

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)