papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
to tree :len :depth :amount forward :len/3 if :depth > 0 [ left 75 repeat :amount [ tree :len/2 :depth-1 :amount right 150/:amount ] tree :len/2 :depth-1 :amount left 75 ] back :len/3 end tree 350 4 5
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
>