Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name |
Grad() |
| Examples |
Komazahl rad = PI/4;
Komazahl deg = Grad(rad);
schrib_uf_e_neui_Linie(rad + " radians is " + deg + " degrees"); |
| Description |
Converts a radian measurement to its corresponding value in degrees. Radians and degrees are two ways of measuring the same thing. There are 360 degrees in a circle and 2*PI radians in a circle. For example, 90° = PI/2 = 1.5707964. All trigonometric methods in Processing require their parameters to be specified in radians. |
| Syntax |
Grad(angle) |
| Parameters |
| angle |
Ganzizahl or Komazahl |
|
| Usage |
Web & Application |
| Related |
Radiant()
|
Stefan Baltensperger 2009