Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9927

Re: turtles slowing down

From Terry Reedy <tjreedy@udel.edu>
Subject Re: turtles slowing down
Date 2011-07-19 22:29 -0400
References <d9ff7419-fed9-4e8f-b02f-2afd63e6d7d7@g3g2000prf.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1275.1311129011.1164.python-list@python.org> (permalink)

Show all headers | View raw


On 7/19/2011 6:02 PM, EricC wrote:
> Hi,
>
> I am a newbie - I have been teaching myself Python 3 since a few
> months ago. My “self assignments” include some purely for fun. Among
> them was using the turtle module to have multiple turtles running
> around on the screen.
>
> Recently one such fun turtle “project” showed strange behavior that I
> cannot understand – while I achieved my goals (multiple turtles
> oscillate along random straight lines while changing colors), there
> was a steady slowing down of turtles as time goes. Actually they
> became so slow it is not even fun to look at.

There is a bug issue on the tracker that may be related to this. 
Unfortunately, the reviser of the turtle module is not actively 
maintaining it any more, though this might be an underlying tkinter or 
tk issue. Probably something is not being deleted that should be, or you 
are simply overloading the canvas memory and re-compute loop.

I have not specifically looked at your code.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

turtles slowing down EricC <ec97005@gmail.com> - 2011-07-19 15:02 -0700
  Re: turtles slowing down Terry Reedy <tjreedy@udel.edu> - 2011-07-19 22:29 -0400

csiph-web