数学图形(2.7)sphere sine wave

时间:2023-03-09 09:18:21
数学图形(2.7)sphere sine wave

在球上以SIN曲线的轨迹游走.

#http://www.mathcurve.com/courbes3d/couronnetangentoidale/couronnetangentoidale.shtml

vertices = 

t = from  to (*PI)

a =
n = rand2(0.5, ) x = a*sin(n*t)*cos(t)
y = a*sin(n*t)*sin(t)
z = a*cos(n*t)

数学图形(2.7)sphere sine wave

有SIN的就会有与它相反的COS的:

#http://www.mathcurve.com/courbes3d/clelie/clelie.shtml

vertices = 

t = from  to (*PI)

a =
n = rand2(0.1, ) x = a*cos(n*t)*cos(t)
y = a*cos(n*t)*sin(t)
z = a*sin(n*t)

二者生成的图形差不多

数学图形(2.7)sphere sine wave