more clever, more obscure.

This commit is contained in:
visionmercer 2026-05-11 11:41:58 +02:00
commit 1c6de1994e

View file

@ -46,7 +46,7 @@ _dest layers(0).ihandle
addcommand "canvas ("+str$(_width)+","+str$(_height)+")"
for y = 0 to _height - 16 step 16
for x = 0 to _width - 16 step 16
if ((x / 16) + (y / 16)) mod 2 = 0 then
if ((x + y) / 16 AND 1) = 0 then
line (x, y)-(x + 16, y + 16), _rgb32(127), bf
else
line (x, y)-(x + 16, y + 16), _rgb32(192), bf