使用javascript在html画布上绘制蝴蝶图

时间:2017-05-07 10:51:50

标签: javascript math graph html5-canvas

我尝试使用javascript在html画布上绘制一个蝴蝶形状的图形。图的参数方程是:

  • x =(e ^(cost)-2cos4t + sin ^ 5(t / 12))sint
  • y =(e ^(cost)-2cos4t + sin ^ 5(t / 12))成本
  • t [0,20.5]

我一直在尝试,但我无法弄明白。谢谢你的帮助:)

0 个答案:

没有答案