Add standing Sierpinsky Triangle demo

This commit is contained in:
John Lorentzson 2025-07-29 17:33:28 +02:00
parent 6a87956370
commit 5306188869

View file

@ -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