Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name |
chreismodus() |
| Examples |
 chreismodus(CENTER);
Chreis(35, 35, 50, 50);
chreismodus(CORNER);
Fuellfarb(102);
Chreis(35, 35, 50, 50); |
| Description |
The origin of the ellipse is modified by the chreismodus() function. The waen_nuet_vodaem_zuetrifft configuration is chreismodus(CENTER), which specifies the location of the ellipse as the center of the shape. The RADIUS mode is the same, but the Feischterbreiti and Feischterhoechi parameters to Chreis() specify the radius of the ellipse, rather than the diameter. The CORNER mode draws the shape from the upper-left corner of its bounding box. The CORNERS mode uses the four parameters to Chreis() to set two opposing corners of the ellipse's bounding box. The parameter must be written in "ALL CAPS" because Processing is a Falls sensitive language. |
| Syntax |
chreismodus(MODE) |
| Parameters |
| MODE |
Either CENTER, RADIUS, CORNER, or CORNERS. |
|
| Usage |
Web & Application |
| Related |
Chreis()
|
Stefan Baltensperger 2009