首頁 >web前端 >js教程 >來自 Vortex 參數方程式的數學藝術

來自 Vortex 參數方程式的數學藝術

Linda Hamilton
Linda Hamilton原創
2024-10-18 10:41:29277瀏覽

With some inspiration from Pinterest (I lossed the original link already) I implemented this Javascript that draw the following parametric curves. And to my surprise, every single one values of the parameters (aaaa,bbbb,cccc) generate a different design:

function x(t) {
return Math.cos(t)+1/3*(Math.cos(aaaa*t)+Math.sin(bbbb*t));
}
function y(t) {
return Math.sin(t)+1/3*(Math.sin(aaaa*t)+Math.cos((bbbb-cccc)*t));
}

https://tthtlc.github.io/vortex_explore.html

and here are the different design:

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

以上是來自 Vortex 參數方程式的數學藝術的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn