一种很酷的螺线,看着有种分形学的感觉.参考自http://www.2dcurves.com/spiral/spirallos.html
其数学的极坐标表达式如下:
我的脚本代码如下:
#http://www.2dcurves.com/spiral/spirallos.html vertices = t = from () to (*PI) a = rand2(, )
b = rand2(, )
c = rand2(-, )
d = rand2(0.1, )
f = rand2(0.1, ) m = abs(cos(d*t))^a
n = abs(sin(d*t))^b p = pow(E, f*t)*pow(m+n,c) x = p*sin(t)
y = p*cos(t)