Jump to content

Pixilang/Definitions

From Wikibooks, open books for an open world

Definitions

[edit | edit source]

The basic thing in Pixilang is the pixi-container. A Pixi-container can contain a text-string, image, link to another pixi-container with alpha-channel, or a numeric array. You can use different pixi-containers as simple arrays. Remember: In Pixilang "image", "text-string", "numeric array" are ID-numbers: image - ID-number of pixi-container with image; text-string - ID-number of pixi-container with text-string; numeric array - ID-number of pixi-container with numeric array.

Example:

//How to access a second pixel in some image? 
pixel_value = some_image[ 2 ]

The Pixilang window looks like this: