Jump to content

Sierpinski triangle/Graphical: Difference between revisions

Update Seed7 example
(Update Seed7 example)
Line 1,960:
include "draw.s7i";
include "keybd.s7i";
include "bin64.s7i";
 
const proc: main is func
Line 1,974 ⟶ 1,975:
for y range 0 to pred(width) do
for x range 0 to pred(width) do
if bitset conv bin64(x) & bitset conv bin64(y) = bitset.valuebin64(0) then
point(margin + x, margin + y, black);
end if;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.