Notes:
A 'polar coordinates' type shape; one of 2 variations of this type shape. Study the variations here, and compare to TNTLimaçon2. Learn more about this shape at Mathworld.
r = b + a*cos(θ)
TNTLimaçon Features and Usage:
| Primary Attributes: |
7 Parameters: |
|---|---|
| To Create: |
The examples above were created by:
var ptA = new TNTPoint(-10, 10);
var ptB = new TNTPoint(10, 10);
var ptC = new TNTPoint(-10, -10);
var ptD = new TNTPoint(10, -10);
//TCAGraphic Objects
var upperLeftLimacon = new TNTLimacon(ptA, 5, 5, red, blue, blackStroke, 0);
upperLeftLimacon.drawTNTLimacon(context);
var upperRightLimacon = new TNTLimacon(ptB, 4, 6, green, yellow, blackStroke, 0);
upperRightLimacon.drawTNTLimacon(context);
var lowerLeftLimacon = new TNTLimacon(ptC, 2, 7, blue, red, blackStroke, 0);
lowerLeftLimacon.drawTNTLimacon(context);
var lowerRightLimacon = new TNTLimacon(ptD, 6, 3, yellow, medGreen, blackStroke, 0);
lowerRightLimacon.drawTNTLimacon(context);
|
| To Draw: | upperLeftLimacon.drawTNTLimacon(context); |
| More: |
Experiment with values of a and b:
|
