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:
The above is the detailed content of Mathematical art from Vortex parametric equation. For more information, please follow other related articles on the PHP Chinese website!