Notes:
A fairly complicated shape that can represent a butterfly...and more!
r = a*cos(b*sin(θ)) * (c + cos(θ))
TNTButterfly Features and Usage:
| Primary Attributes: |
7 Parameters:
|
|---|---|
| To Create: |
The example above was created by:
var center = origin.translate(0, 5);
var myButterfly = new TNTButterfly(center, 5, 4, 3, yellow, orangeStroke, -90);
myButterfly.drawTNTButterfly(context);
|
| To Draw: | myButterfly.drawTNTButterfly(context); |
