Befunsvge commands
Regular befunge-93 commands
< > ^ v: Change flow direction
#: Jump over next cell
?: Move in a random direction
+ - * / %: Pop two values and push the result
`: Pop a and b, push 1 if b > a, 0 otherwise
:: Duplicate the stack head
\: swap the two elements at the front
$: pop a stack element
!: pop a value, push 1 if the value is 0, 0 otherwise
_: pop a value, go right if the value is 0, go left otherwise
|: pop a value, go down if the value is 0, go up otherwise
@: stop execution
": toggle string mode (push char codepoints between to quotes)
p: pop coords and value, set the corresponding cell to the value
g: pop coords, push the corresponding cell value
.: pop a value, display the corresponding number
$: pop a value, display the corresponding char (codepoint)
SVG extensions
κ ρ ε: pop values, output the corresponding SVG tag (
circle,
rect,
ellipse)
A a C c S s Q q M m L l T t H h Z z: pop values, push the corresponding directive to the current path buffer
W w: pop values, push the corresponding directive (
V v) to the current path buffer
π: flush the path buffer, output the corresponding
path_ directive
External input extension
i: pop x y z coordinates and push f(x,y,z). For now, f is just Perlin noise, with parameters below.