papert―logo in your browser
examples:
koch snowflake
,
hilbert curve
,
spiral
share this program:
link to it
html:
bbcode:
; Logo Walk Feldkirchen ; function Projection represents GPS or other device doing the computation to Projection :degrees :meters ; input waypoint where bearing starts ; starting at your current position the turtle turns to degrees setheading :degrees ; and goes meters forward forward :meters ; output of the projected waypoint end ; STAGE1 (Header) ; here we go! ; STAGE2 ; input pictnum (nnn of collage) you can see from STAGE1 ; if all nnn are replaced the program will draw a sketch of the way make "pictnum 713 Projection 67 :pictnum - 525 ; STAGE3 ; input pictnum (nnn of collage) you can see from STAGE2 make "pictnum 805 Projection :pictnum - 690 203 ; STAGE4 ; input pictnum (nnn of collage) you can see from STAGE3 make "pictnum 666 Projection 312 :pictnum - 396 ; STAGE5 ; input pictnum (nnn of collage) you can see from STAGE4 make "pictnum 802 Projection :pictnum - 517 128 ; STAGE6 ; input pictnum (nnn of collage) you can see from STAGE5 make "pictnum 678 Projection 27 :pictnum - 582 ; STAGE7 ; input pictnum (nnn of collage) you can see from STAGE6 make "pictnum 657 Projection :pictnum - 602 113 ; FINAL ; input pictnum (nnn of collage) you can see from STAGE7 make "pictnum 706 Projection 338 :pictnum - 648 ; congratulation
Your browser doesn't support canvas tags. Please upgrade to a recent version of Firefox or Opera.
<
>