"If a worker wants to do his job well, he must first sharpen his tools." - Confucius, "The Analects of Confucius. Lu Linggong"
Front page > Programming > Mathematical art from Vortex parametric equation

Mathematical art from Vortex parametric equation

Published on 2024-11-11
Browse:634

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

Release Statement This article is reproduced at: https://dev.to/tthtlc/mathematical-art-from-vortex-parametric-equation-4icj?1 If there is any infringement, please contact [email protected] to delete it
Latest tutorial More>

Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.

Copyright© 2022 湘ICP备2022001581号-3