Constants

Here is a list of mathematical constants that come with Chelsea.js


PI = 3.141592653589793

The value of PI( 𝜋 ) correct to 16 decimal places. It is ratio of the circumference of a circle to its diameter.


TAU = 6.283185307179586

The value of TAU( 𝜏 ) is twice the value of 𝜋. It is the ratio of the circumference of a circle to its radius.


HALF_PI = 1.5707963267948966

The value of HALF_PI is half the value of 𝜋.


QUARTER_PI = 0.7853981633974483

The value of QUARTER_PI is one fourth the value of 𝜋.


THIRD_PI = 1.0471975511965976

The value of THIRD_PI is one third the value of 𝜋.


PHI = 1.618033988749895

The value of PHI ( ϕ ) is the golden ratio.


E = 2.718281828459045

The value of E is the Euler's number.