papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
cs to envelope lt 180 square triangle rt 180 end to square repeat 4 [fd 50 rt 90] end to triangle rt 30 repeat 3 [fd 50 rt 120] lt 30 end to house square fd 50 triangle bk 50 end to st2 square lt 90 triangle rt 90 fd 50 triangle rt 90 fd 50 triangle rt 90 fd 50 triangle rt 90 fd 50 rt 90 end to st6 square fd 50 square fd 50 square fd 50 square fd 50 triangle bk 200 lt 90 triangle rt 180 fd 50 lt 90 fd 50 rt 90 triangle end to st1 repeat 6 [rt 60 triangle] end to st3 repeat 6 [ rt 60 triangle] end cs st3
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
>