Click here for <CANVAS>-enabled version - LOTS faster! (doesn't work with IE)
Paintfuck is a Smallfuck variant (which is, in turn, a Brainfuck variant) with a 2D data area instead of 1D. It adds two new commands for the added dimension and replaces Smallfuck's < and > with letters. The commands are:
n- Move data pointer north (up).
s- Move data pointer south (down).
e- Move data pointer east (right).
w- Move data pointer west (left).
*- Flip current cell.
[- If cell is 0, jump past matching
]- Jump to matching
The spec stipulates that any letter not among these should be ignored. The data area is toroidal in this interpreter. Ones are shown as black cells and zeros as white ones.
Written by Pedro Gimeno. Pedro Gimeno's personal page