不记得在哪搞了个数学公式生成的图形.
vertices = 1000 t = from 0 to (2*PI) r = 2.0 x = r*(5*cos(t) - cos(6*t)) y = r*(3*sin(t) - sin(4*t))
给线加上一维变量的变化,使之变成面:
vertices = D1:360 D2:21 u = from 0 to (2*PI) D1 v = from 0 to 20 D2 x = (v+2)*cos(u) - cos((v+3)*u) y = v*sin(u) - sin((v+1)*u)