From 1c6de1994e5d0959388c52db208bd5ba76e4b9dc Mon Sep 17 00:00:00 2001 From: visionmercer <62051836+visionmercer@users.noreply.github.com> Date: Mon, 11 May 2026 11:41:58 +0200 Subject: [PATCH] more clever, more obscure. --- pixler.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixler.bas b/pixler.bas index a81a7fd..ab6d5ad 100644 --- a/pixler.bas +++ b/pixler.bas @@ -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