數學圖形(1.45)毛雷爾玫瑰(Maurer rose)


毛雷爾玫瑰,也有的翻譯是毛瑞爾,它是一種很漂亮的圖形.玫瑰線的變異品種.

我沒有找到其中文的解釋,有興趣可以看下維基上的相關頁面.

Maurer rose of the rose r = sin() consists of the 360 lines successively connecting the above 361 points. Thus a Maurer rose is a polygonal curve with vertices on a rose.

A Maurer rose can be described as a closed route in the polar plane. A walker starts a journey from the origin, (0, 0), and walks along a line to the point (sin(nd), d). Then, in the second leg of the journey, the walker walks along a line to the next point, (sin(n·2d), 2d), and so on. Finally, in the final leg of the journey, the walker walks along a line, from (sin(n·359d), 359d) to the ending point, (sin(n·360d), 360d). The whole route is the Maurer rose of the rose r = sin(). A Maurer rose is aclosed curve since the starting point, (0, 0) and the ending point, (sin(n·360d), 360d), coincide.

相關軟件參見:數學圖形可視化工具,使用自己定義語法的腳本代碼生成數學圖形.

vertices = 361

t = from 0 to 360

n = 2
d = 39

k = t*d*0.0174533

x = sin(n*k)*cos(k)
y = sin(n*k)*sin(k)

r = 10
x = x*r
y = y*r
z = z*r

 

vertices = 361

t = from 0 to 360 n = 6 d = 71 k = t*d*0.0174533 x = sin(n*k)*cos(k) y = sin(n*k)*sin(k) r = 10 x = x*r y = y*r z = z*r

使用隨機參數的代碼:

vertices = 361

t = from 0 to 360 n = rand_int2(3, 12) d = rand_int2(1, 100) k = t*d*0.0174533 x = sin(n*k)*cos(k) y = sin(n*k)*sin(k) r = 10 x = x*r y = y*r z = z*r

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM