I would need to get at canvas pixel color under certain moving widget or
better (= faster?) colors/"types" of underlying static widgets that are
of polygon shape (not rectangle).
How to arrange it without using higher math that must have to compute
actual distance of each of point on a polygon?
It seems to me that in my "again and again repainting canvas" script the
rendering is slowing down as the time goes.
It is visible even after 10 seconds.
Any idea why?
--
geon
The exception is rule.
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh napsal(a):
> when you add an item to the canvas, it's part of the canvas
> until you remove it. if performance drops, it's usually because
> you keep adding new items without removing the old ones.
>
> try adding a w.delete(ALL) call before you "repaint".
>
In the meantime I found
I think the answer you should find under Subject: Tkinter slowes down
---
geon
Exception is rule.
phil napsal(a):
> Using Tkinter Canvas to teach High School Geometry
> with A LOT of success.
>
> My drawing gets very slow after a lot of actions.
>
> For instance I have created code to rotate a