#http://www.mathcurve.com/courbes3d/couture/couture.shtml
#ΘΖΤΪΝψΗςΙΟ΅ΔΟίΘ¦

vertices = D1:360 D2:100

u = from 0 to (2*PI) D1
v = from 0 to (10) D2

c = 2*sqrt(v)

r = 5/sqrt(1 + v*v)

x = cos(u) + v*cos(3*u)
z = sin(u) - v*sin(3*u)
y = c*sin(2*u)

x = x*r
y = y*r
z = z*r