TAU constant

double const TAU

( begin auto-generated from TAU.xml )

TAU is an alias for TWO_PI, a mathematical constant with the value 6.28318530717958647693. It is twice the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions sin() and cos().

( end auto-generated ) @webref constants @see PConstants#PI @see PConstants#TWO_PI @see PConstants#HALF_PI @see PConstants#QUARTER_PI

Implementation

static const double TAU = 2.0 * math.pi;