Sierpinski triangle/Graphical: Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
Petelomax (talk | contribs)
m typo
Line 1,188: Line 1,188:
if c=K_ESC then return IUP_CLOSE end if
if c=K_ESC then return IUP_CLOSE end if
if find(c,"+-") then
if find(c,"+-") then
level = min(max(level+','-c,1),12)
level = max(1,min(12,level+','-c))
IupRedraw(canvas)
IupRedraw(canvas)
end if
end if