xy
plot pixels with simple expressions.
syntax
-
xandyare coordinates (0-255) (and)are grouping%is modulo*is multiplication+is addition-is subtraction/is division!is exponentiation^is bitwise xor&is bitwise and|is bitwise or
modes
- normal: zero → white, non-zero → black
-
continuous: colour is
1 - fract(result)
examples
try toggling continuous on some of these:
-
((x-128)*64)%(y-128) -
(x^y)%9 -
(x*3)^(y*3) -
((x|y)%15)*16 -
((x-y)!2)/32
debugger
execution trace for pixel (32, 32):
| step | token | stack |
|---|
inspired by @aemkei