数学图形(1.34) peut aussi曲线
这是一种左右对称的类圆形曲线
#http://www.mathcurve.com/courbes2d/lissajous/lissajous2.shtml vertices = 12000 t = from 0 to (2*PI) m = 3 n = 7 w = PI/2 a = 10 p = a*sin(m*t) q = w*sin(n*t+w) x = p*cos(q) y = p*sin(q)
加随机数处理
vertices = 12000 t = from 0 to (2*PI) m = rand_int2(1, 10) n = rand_int2(1, 10) w = PI/2 a = 10 p = a*sin(m*t) q = w*sin(n*t+w) x = p*cos(q) y = p*sin(q)