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

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

vertices = 12000

t = from 0 to (40*PI)

a = 10
n = rand2(0.5, 10)
 
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 = 12000

t = from 0 to (80*PI)

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

二者生成的图形差不多

 数学图形(2.7)sphere sine wave

 

 

相关文章:

  • 2021-06-01
  • 2021-11-14
  • 2022-12-23
  • 2022-01-14
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2021-10-15
  • 2022-12-23
  • 2021-09-29
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-18
相关资源
相似解决方案