数学图形(1.20)N叶草
有N个叶子的草
相关软件参见:数学图形可视化工具,使用自己定义语法的脚本代码生成数学图形.该软件免费开源.QQ交流群: 367752815
vertices = 1000 t = from 0 to (2*PI) r = 10 n = rand_int2(3, 10) p = 1 + cos(n*t) + sin(n*t)^2 x = p*cos(t) y = p*sin(t)
N叶草面_1
vertices = D1:512 D2:100 u = from 0 to (PI*2) D1 v = from 0.0 to 1.0 D2 r = 10 n = rand_int2(3, 10) p = 1 + v*cos(n*u) + sin(n*u)^2 x = p*cos(u) y = p*sin(u)
N叶草面_2
vertices = D1:512 D2:100 u = from 0 to (PI*2) D1 v = from 0.0 to 4.0 D2 r = 10 n = rand_int2(3, 10) p = 1 + cos(n*u) + sin(n*u)^2*v x = p*cos(u) y = p*sin(u)