Name | QUARTER_PI (0.78539...) |
---|---|
Examples |
x = width/2 y = height/2 d = width * 0.8 arc(x, y, d, d, 0, QUARTER_PI) arc(x, y, d-20, d-20, 0, HALF_PI) arc(x, y, d-40, d-40, 0, PI) arc(x, y, d-60, d-60, 0, TWO_PI) |
Description | 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. It is useful in combination with the trigonometric functions sin() and cos(). |
Related |
PI (3.14159...) TWO_PI (6.28318...) TAU (6.28318...) HALF_PI (1.57079...) |
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License