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