p5.js | Constants | QUARTER_PI
The QUARTER_PI is a mathematical constant with the value 0.7853982. It is one quarter the ratio of the circumference of a circle to its diameter.
Below program illustrates the QUARTER_PI constant in p5.js:
Example: This example describes the QUARTER_PI constant.