数学图形(2.20)3D曲线

这一节主要是发布我自己写的3D曲线,

(1)立体flower线圈

vertices =
a = 10.1
b = 3.1
s = (a + b) / b
o = i = from to (**PI)
j = mod(i, *PI)
k = mod(s*i, *PI) m = a*sin(j)
n = a*cos(j) x = m + o*sin(k)
y = n
z = o*cos(k)

数学图形(2.20)3D曲线

(2)乱

vertices = 

t = from (0.0) to (*PI)

r = 

a = rand2(PI*0.1, PI*0.9)

s = sin(t)
c = cos(t) x = r*s*cos(t/sin(a))
z = r*s*sin(t/cos(a))
y = r*c

数学图形(2.20)3D曲线

上一篇:在ubuntu/deepin/mint等系统中使用命令删除文件或文件夹


下一篇:数学图形(1.38)anguinea曲线