Your browser does not support HTML5 Canvas

Notes:

What's a TNTTrinsignia? Well...you're looking at one, aren't you!? Can you guess what other TNT shapes were used to create it? If not, check out the source code.

TNTTrinsignia Features and Usage:
Primary Attributes:

5 Parameters:

  • circleCenter: TNTPoint
  • sideLength: a positive real number
  • triangleFillColor: TNTColor as fcolr
  • diskFillColor: TNTColor as fcolr
  • rotn: a 'double' that rotates the shape about its center. rotn > 0 ==> counter-clockwise; rotn < 0 ==> clockwise
To Create:

The example above was created by:

var trinsignia = new TNTTrinsignia(origin, 18, orange, cyan, 0);
trinsignia.drawTNTTrinsignia(context);
                                    
To Draw:
trinsignia.drawTNTTrinsignia(context);