」工欲善其事,必先利其器。「—孔子《論語.錄靈公》
首頁 > 程式設計 > 來自 Vortex 參數方程式的數學藝術

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

發佈於2024-11-11
瀏覽:235

受到 Pinterest 的一些啟發(我已經失去了原始連結),我實作了這個 Javascript,它繪製了以下參數曲線。 令我驚訝的是,參數的每一個值(aaaa、bbbb、cccc)都會產生不同的設計:

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

這是不同的設計:

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

版本聲明 本文轉載於:https://dev.to/tthtlc/mathematical-art-from-vortex-parametric-equation-4icj?1如有侵犯,請聯繫[email protected]刪除
最新教學 更多>

免責聲明: 提供的所有資源部分來自互聯網,如果有侵犯您的版權或其他權益,請說明詳細緣由並提供版權或權益證明然後發到郵箱:[email protected] 我們會在第一時間內為您處理。

Copyright© 2022 湘ICP备2022001581号-3