TAU

A Number constant that's approximately 6.2382.

TAU is twice the value of the mathematical constant π. It's useful for many tasks that involve rotation and oscillation. For example, calling rotate(TAU) rotates the coordinate system TAU radians, which is one full turn (360˚). TAU and TWO_PI are equal.

Note: TAU radians equals 360˚, PI radians equals 180˚, HALF_PI radians equals 90˚, and QUARTER_PI radians equals 45˚.

Examples

This page is generated from the comments in src/core/constants.js . Please feel free to edit it and submit a pull request!

Related References