[Fluxus] Turtle builder

Luis navarro del angel luisn30 at hotmail.com
Wed Jul 28 17:00:29 PDT 2010


Hi, 

I'm was trying to use the turtle builder, and i was wondering if it can be used with the ordinary turtle commands (forward, right, left, repeat etc.)
I found part of this code in the web but i can't make it work, i don't know what is missing.

(clear)

(define (spiral n)
      (turtle-move n)
      (turtle-turn (vector 0 15 0))
      (if (> n 30)
          1
          (spiral (* n 1.02))))
(spiral 10)

(define (render)
      (turtle-reset)
      (turtle-prim 0))

(every-frame (render))


greets, 
Luis


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20100729/d0e8135b/attachment-0002.htm>


More information about the Fluxus mailing list