QUARTER PI





QUARTER_PI (0.78539...) \ Language (API) \ Processing 1.0






























Language (A-Z) \ Libraries \ Tools \ Environment






Reference for Processing version 1.2. If you have a previous version, use the reference included with your software. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Javadoc.

Name QUARTER_PI (0.78539...) Examples float angle = 0.0; beginShape(POLYGON); vertex(width/2, height/2); while(angle QUARTER_PI) { vertex(width/2 + cos(angle)*40, height/2 + sin(angle)*40); angle += PI/12.0; } endShape(CLOSE); 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(). Usage Web & Application Related PITWO_PIHALF_PI

Updated on June 14, 2010 12:05:29pm EDT












Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.


© Info \

Site hosted by Media Temple!









Wyszukiwarka

Podobne podstrony:
QUARTER PI
PI
Wyklad PI 5
Tosnuc 777 Tosh [PI] NCQ42 16
Zimniak Pi=3,13
Gotowe pi Euler2
Wyklad PI 1 cz 2
Identyfikator pinów GPIO dla Raspberry Pi dokument
Raspberry Pi
PI 1
saga rodu z lipowej tom5 zamezna wdowa wydawnictwo pi demo
Metal Detector PI [TA5]

więcej podobnych podstron