From 5306188869cf3cfc9e882f38b35f3a16405c6a4a Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Tue, 29 Jul 2025 17:33:28 +0200 Subject: [PATCH] Add standing Sierpinsky Triangle demo --- editor/standing-sierpinsky.c6l | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 editor/standing-sierpinsky.c6l diff --git a/editor/standing-sierpinsky.c6l b/editor/standing-sierpinsky.c6l new file mode 100644 index 0000000..f20d6ae --- /dev/null +++ b/editor/standing-sierpinsky.c6l @@ -0,0 +1,13 @@ +if first() then + clear_screen() +end + +yh = 0 +for y do 200 times + x = bitand(time(), y) + xo = x - 100 - yh + pixel_draw(xo, y) + if bitand(y, 1) == 1 then + yh = yh + 1 + end +end