「労働者が自分の仕事をうまくやりたいなら、まず自分の道具を研ぎ澄まさなければなりません。」 - 孔子、「論語。陸霊公」
表紙 > プログラミング > 渦パラメトリック方程式からの数学芸術

渦パラメトリック方程式からの数学芸術

2024 年 11 月 11 日に公開
ブラウズ:905

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] に送信してください。 できるだけ早く対応させていただきます。

Copyright© 2022 湘ICP备2022001581号-3