Mathober2025_Jacobian
Polar Transformation

OctoVsHeptaPolar
For my 8th sketch of Mathober2025 coded in LiveCodeLab, OctoVsHepta takes the prompt of “Octagonal/Heptagonal” and showcases side by side, a figure that has 8 sides and another that has 7 sides and how they slightly differ.
For My 24th Sketch of Mathober2025, I used the same images and added a polar distortion. Which follows the 23rd prompt of Jacobian as Jacobian matrix is involved with cartesian coordinates to polar coordinates.
Poetry
Octagonal with slightly more
Heptagonal with slightly less
Similar in the creation process
But differences can be seen as the time soars
Images





Code
//Octagonal
pushMatrix()
move -1.5,0
8 times with i
rotate sin(time % i),Math.hypot(time %6, cos(time)*5)/10,wave(Math.hypot(sin(time),cos(time)))/10
if time % 30 > 15
rect i/(time % 10 + 1)
else
line i/(time % 10 + 1)
popMatrix()
//Heptagonal
pushMatrix()
scale 0.5
move 1.5,0,5
7 times with i
rotate sin(time %i),Math.hypot(time %6, cos(time)*5)/10,wave(Math.hypot(sin(time),cos(time)))/10
if time % 30 > 15
rect i/(time % 10 + 1)
else
line i/(time % 10 + 1)
popMatrix()




