papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
to l :l :w if :l = 0 [stop] rt 90 r :l -1 :w fw :w lt 90 l :l -1 :w fw :w l :l-1 :w lt 90 fw :w r :l -1 :w rt 90 end to r :l :w if :l = 0 [stop] lt 90 l :l -1 :w fw :w rt 90 r :l -1 :w fw :w r :l -1 :w right 90 fw :w l :l -1 :w lt 90 end reset setxy 60 440 penwidth 4 l 6 6
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
>