这个曲线与之前的数学图形(2.7)sphere sine wave很相似.而且个人觉得从其公式上看sphere sine wave更应该叫做球面正弦曲线.当然从渲染的曲线图上看,它是非常明显的贴在球上的正弦曲线.
#http://www.mathcurve.com/courbes3d/sinusoidespherique/sinusoidespherique.shtml vertices = 12000 t = from 0 to (40*PI) a = 10 n = rand2(0.1, 10) k = rand2(0.5, 5) w = a/sqrt(1 + (k*cos(n*t))^2) x = cos(t)*w z = sin(t)*w y = k*cos(n*t)*w