more clever, more obscure.
This commit is contained in:
parent
8fc02cd0e6
commit
1c6de1994e
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ _dest layers(0).ihandle
|
||||||
addcommand "canvas ("+str$(_width)+","+str$(_height)+")"
|
addcommand "canvas ("+str$(_width)+","+str$(_height)+")"
|
||||||
for y = 0 to _height - 16 step 16
|
for y = 0 to _height - 16 step 16
|
||||||
for x = 0 to _width - 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
|
line (x, y)-(x + 16, y + 16), _rgb32(127), bf
|
||||||
else
|
else
|
||||||
line (x, y)-(x + 16, y + 16), _rgb32(192), bf
|
line (x, y)-(x + 16, y + 16), _rgb32(192), bf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue