Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
link wopen
|
||||
|
||||
procedure main(A)
|
||||
local width, margin, x, y
|
||||
|
||||
width := 2 ^ (order := (0 < integer(\A[1])) | 8)
|
||||
wsize := width + 2 * (margin := 30 )
|
||||
WOpen("label=Sierpinski", "size="||wsize||","||wsize) |
|
||||
stop("*** cannot open window")
|
||||
|
||||
every y := 0 to width - 1 do
|
||||
every x := 0 to width - 1 do
|
||||
if iand(x, y) = 0 then DrawPoint(x + margin, y + margin)
|
||||
|
||||
Event()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue