papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
to tree :depth :length :scale :angle if :depth=0 [stop] setpensize round :depth/2 forward :length right :angle tree :depth-1 :length*:scale :scale :angle left 2*:angle tree :depth-1 :length*:scale :scale :angle right :angle back :length end clearscreen tree 10 50 0.7 45
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
<
>