数学图形(1.38)anguinea曲线

个人觉得,这是一种变异的SIN曲线.

#http://www.mathcurve.com/courbes2d/anguinee/anguinee.shtml
vertices = 1000
t = from (-PI) to (PI)
a = rand2(10, 100)
d = rand2(1, 10)

x = d*tan(t/2)
y = a/2*sin(t)

面的形式:

#http://www.mathcurve.com/courbes2d/anguinee/anguinee.shtml
vertices = D1:1000 D2:101
u = from (-PI*0.95) to (PI*0.95) D1
v = from 0 to 50 D2
d = rand2(1, 10)
x = d*tan(u/2)
y = v/2*sin(u)
v = v*0.1

posted on 2014-07-12 13:36  叶飞影  阅读(969)  评论(0编辑  收藏  举报