ant
ants:{p:[x,y],r:rotindex[-length~length]}
[ {"p":[256,256],"r":0} ]
rot:[x,y]
[ [0,1], [1,0], [0,-1], [-1,0] ]
grid:{c:"rrggbbaa",r:rotindex[-length~length]}||rotindex[-length~length]
[ {"c":"00000000","r":1}, -1,1,1,-1, -1,1,1,1, 1,1,-1,1, 1,-1,-1 ]
size:
speed:
set
run
stop