#http://www.mathcurve.com/surfaces/enneper/enneper.shtml
vertices = D1:100 D2:400

r = from 0 to 1.1 D1
t = from 0 to (PI*2) D2

a = 10
n = rand_int2(2, 10)
w = 2*n - 1

x = a*[r*cos(t) - pow(r, w)/w*cos(w*t)]
y = 2*a/n*pow(r, n)*cos(n*t)
z = a*[r*sin(t) - pow(r, w)/w*sin(w*t)]
