TAU
The Greek letter τ (tau) is a suggested symbol for the circle constant representing the ratio between circumference and radius. The constant is equal to 2π (2 times pi), and approximately 6.28. Source: math.wikia
yarn add tau-js
Why?
Read the Tau Manifesto!
Usage
const tau = ;
Calculating the circumference of a circle
const calculateCircumference = tau * radius; // 62.83185307179586
Euler's Formula
const eulerFormula = Math + i * Math // Always (almost) 1
Extending native Math object
MathTAU = tau;
Testing
Run npm test
or testling to run the test suite.
License
tau-js is currently under M.I.T license.