#http://www.mathcurve.com/courbes2d/biquartic/biquartic.shtml

vertices = 10000

m = 16

t = from 0 to (m*PI)

n = rand_int2(3, 10)
p = 1 + cos(n*t) + sin(n*t)^2
k = t/m/2

x = p*cos(t)*cos(k)
z = p*sin(t)*cos(k)
y = abs(p)*sin(k)