I just got to my office and tried the same stuff on my linux box. Its definitely a mac problem. I can recreate it very easily interactively:
from turtle import *
reset()
speed('fastest')
forward(300)
speed('slowest')
foward(300)
On the mac there is no discernable difference in speed. I'm using 2.4.3 universal framework build and the Batteries included Aqua Tcl/Tk
I poked around the code a bit and, strangely, commenting out the self._canvas.after call doesn't seem to change anything!
Brad
On 5/19/06, Vern Ceder <[EMAIL PROTECTED]> wrote:
Brad,
I haven't heard this from anyone else. Could you whip up some code that
illustrates this? I assume that the new demo with spiral of triangles
displays the same behavior?
Vern
Brad Miller wrote:
> Vern,
>
> I've been doing some more experimenting with the new turtle on my mac.
> It appears that the speed function does not have any effect. The turtle
> seems to have only two speeds:
>
> 1. with tracing on it runs normal
> 2. with tracing off it runs at light speed.
>
> My understanding is that, even with tracing on,
> speed('fastest')
> forward(200)
> should draw a line almost instantaneously. But for me it draws the same
> speed as
> speed('slowest')
> forward(200)
>
> I've tried both the speed function and the delay function, but I can't
> change the speed of the turtle except for the two speeds above. has
> anyone else seen this? Is this a mac only bug?
>
> Thanks,
>
> Brad
>
> On 5/10/06, *Vern Ceder* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Brad Miller wrote:
> > I don't know if either of you are interested but I've started
> working on
> > 'StarPython' which I've been experimenting with as a wrapper
> around your
> > new turtle class that allows me to implement some of the programs in
> > StarLogo using Python.
>
> Brad,
>
> Definitely keep us posted as you progress with StarPython, particularly
> if you have any code you want to post or any ideas you want to kick
> around.
>
> Vern
>
> --
> This time for sure!
> -Bullwinkle J. Moose
> -----------------------------
> Vern Ceder, Director of Technology
> Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>;
> 260-436-0746; FAX: 260-436-5137
>
>
>
>
>
> >
--
This time for sure!
-Bullwinkle J. Moose
-----------------------------
Vern Ceder, Director of Technology
Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
[EMAIL PROTECTED]; 260-436-0746; FAX: 260-436-5137
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "edupython" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/edupython
-~----------~----~----~----~------~----~------~--~---
