[Squeakland] spiral

Phil Firsenbaum tacmanphil at mac.com
Wed Dec 8 07:47:49 PST 2004


Randy,
I was playing with polygons and spirals last year and created the 
attached scripts. They use a variable (size1) for the length of the 
sides and I start Birdie in the center of the screen.

Phil

-------------- next part --------------



On Dec 6, 2004, at 2:57 PM, Randy Heiland wrote:

> How might one create a script to draw a spiral?  I mistakenly thought 
> that
> if I did something like:
>
> Fwd by 5
> Turn by <obj> headingTheta + 2
> penDown
>
> that I might accomplish it.  However, it seems that the headingTheta 
> is not
> dynamically updated in this script, i.e. the heading never changes.
>
> Thanks, Randy
>
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland
>


More information about the Squeakland mailing list