papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
to spiral :w :a :x :c :ww :d circle :d if :c = 0 [stop] penwidth :ww color [255-:w*1 0 :w*1] pu lt :x fw :w bw:w rt :x fw :w pd rt :a spiral :w+1 :a :x+0.0 :c -1 :ww + 0.0 :d end reset spiral 10 137.5083 0 200 10 1
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
<
>