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.
Syntax:
QUARTER_PI
Below program illustrates the QUARTER_PI constant in p5.js:
Example: This example describes the QUARTER_PI constant.
Output:
👁 Image
Reference: https://p5js.org/reference/#/p5/QUARTER_PI