Constants
phi: REAL ~ 1.61803398874989484820; -- (1+SqRt[5])/2
decagonRadius: REAL ~ 0.42553027804273699912; -- 2/SqRt[5*phi+14]
innerRadius: REAL ~ 0.90494418748830634264; -- SqRt[(5*phi+10)/(5*phi+14)]
dihedral: REAL ~ 1.10714871779409050301; -- ArcTan[2]
cos18d: REAL ~ 0.9510565;
sin18d: REAL ~ 0.309017;
cos36d: REAL ~ 0.80901699437494742410; -- phi/2
sin36d: REAL ~ 0.58778525229247312916; -- SqRt[3-phi]/2
cos54d: REAL ~ 0.5877852;
sin54d: REAL ~ 0.809017;
cos72d: REAL ~ 0.30901699437494742410; -- (phi-1)/2
sin72d: REAL ~ 0.95105651629515357211; -- SqRt[phi+2]/2
sqRt5: REAL ~ 2.23606797749978969640; -- SqRt[5]
v1x: REAL ¬ decagonRadius * cos36d;
v1y: REAL ¬ decagonRadius * sin36d;
v2x: REAL ¬ decagonRadius * cos72d;
v2y: REAL ¬ decagonRadius * sin72d;
BLACK: Color ~ [0.0, 0.0, 0.0];
RED: Color ~ [0.7, 0.1, 0.1];
GREEN: Color ~ [0.1, 0.7, 0.1];
YELLOW: Color ~ [0.7, 0.7, 0.1];
BLUE: Color ~ [0.1, 0.1, 0.7];
MAGENTA: Color ~ [0.7, 0.1, 0.7];
CYAN: Color ~ [0.1, 0.7, 0.7];
WHITE: Color ~ [1.0, 1.0, 1.0];
aBlue: Color ~ [ 15/255.0, 90/255.0, 255/255.0];
aGreen: Color ~ [ 0/255.0, 255/255.0, 75/255.0];
aTan: Color ~ [255/255.0, 210/255.0, 110/255.0];
aRed: Color ~ [255/255.0, 30/255.0, 55/255.0];
aYellow: Color ~ [255/255.0, 250/255.0, 30/255.0];
rootThird: REAL ~ 0.57735026918962576451; -- 1/SqRt[3]
rootThree: REAL ~ 1.73205080756887729352; -- SqRt[3]