Munching squares: Difference between revisions
Content added Content deleted
(add evaldraw (.kc) solution for Munching Squares) |
(→{{header|Evaldraw}}: add image) |
||
Line 902: | Line 902: | ||
Since all variables in Evaldraw are doubles, convert to binary and do a custom per bit xor operation. |
Since all variables in Evaldraw are doubles, convert to binary and do a custom per bit xor operation. |
||
[[File:Evaldraw xor squares.gif|thumb|alt=xor pattern where color is the result of xor(x,y) over values x from 0 to 128 and y to 128|Coloring the xor munching squares pattern over time]] |
|||
<syntaxhighlight lang="c">enum{NUMBITS=7, MAXNUMS=3} |
<syntaxhighlight lang="c">enum{NUMBITS=7, MAXNUMS=3} |