Welcome,
Share Files

Rosetta Window

a gives the number of corners, b the depth of the lattice.

a and b must be relatively prime for best results.

x=(a + b)*cos(u) - b*cos((a/b + 1)u)
y=(a + b)*sin(u) - b*sin((a/b + 1)u)