The
PI is a mathematical constant with the value 3.14159265358979323846. It is the circumference's ratio of a circle to its diameter.
Syntax
PI
Below program illustrates the usage of PI in p5.js:
Example:
Output:
👁 Image
Reference: https://p5js.org/reference/#/p5/PI