papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
to quarter :l :r fw 2 * :l circle :r rt arctan 2 fw (sqrt 5) * :l circle :r lt 2 * arctan 2 fw (sqrt 5) * :l circle :r lt 2 * arctan 1 / 2 fw (sqrt 5) * :l circle :r lt 2 * arctan 2 fw (sqrt 5) * :l rt arctan 2 fw 2 * :l lt 90 end reset circle 24 repeat 4 [quarter 48 24]
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
>