TWO_PI constant

double const TWO_PI

( begin auto-generated from TWO_PI.xml )

TWO_PI is 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#TAU @see PConstants#HALF_PI @see PConstants#QUARTER_PI

Implementation

static const double TWO_PI = 2.0 * math.pi;