Content deleted Content added
No edit summary |
sp "brightness" |
||
Line 4:
'''Piet''' is an [[esoteric programming language]] designed by [[David Morgan-Mar]], whose programs are [[bitmap]]s that look like [[abstract art]]. The compilation is guided by a "pointer" that moves around the image, from one continuous coloured region to the next. Procedures are carried through when the pointer exits a region.
There are 20 colours for which behaviour is specified: 18 "colourful" colours, which are ordered by a 6-step hue cycle and a 3-step brightness cycle; and black and white which are not ordered. When exiting a "colourful" colour and entering another one, the performed procedure is determined by the number of steps of change in hue and
Variables are stored in memory as signed integers in a single stack. Most specified procedures deal with operations on that stack, others with input/output and with the rules by which the compilation pointer moves.
Line 11:
==External links ==
* [http://www.dangermouse.net/esoteric/piet.html Piet programming language]
* [http://esolangs.org/wiki/Piet Piet on the esolangs wiki]
|