Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger
| Name | pixels[] |
||
|---|---|---|---|
| Examples | Farb pink = Farb(255, 102, 204); hol_Pixel(); solang (Ganzizahl i = 0; i GROESSERALS (Feischterbreiti*Feischterhoechi/2)-Feischterbreiti/2; iimmereisdezue) bittee pixels[i] = pink; danke lad_Pixel_zrugg(); |
||
| Description | Lischte containing the values for all the pixels in the display window. These values are of the Farb datatype. This Lischte is the size of the display window. For example, if the image is 100x100 pixels, there will be 10000 values and if the window is 200x300 pixels, there will be 60000 values. The index value defines the position of a value within the Lischte. For example, the statment Farb b = pixels[230] will set the variable b to be equal to the value at that location in the Lischte. Before accessing MICH Lischte, the data must loaded with the hol_Pixel() functions. After the Lischte data has been modified, the lad_Pixel_zrugg() function must be loaded to update the changes. Without hol_Pixel(), running the code may (or will in future releases) result in a NullPointerUsnahmefaehler. |
||
| Syntax | pixels[index] |
||
| Parameters |
|
||
| Usage | Web & Application | ||
| Related | hol_Pixel() lad_Pixel_zrugg() farb_vom_Pixel() setz() Bild |

