This is Charming1. For Charming2, go to charmingjs.org. This is v1. For v2, go to charmingjs.org.

Constant

Useful constants.

cm.TWO_PI

It is twice the ratio of the circumference of a circle to its diameter.

Math.cos(cm.TOW_PI); // 1