On 11/2/11 2:17 PM, Jeff Brantley wrote:
Thank you both for the feedback. In the meantime, I made some major changes to my drawing algorithm that resulted in about a 20X reduction in width and probably a similar factor reduction in the number of line objects drawn. Now the tk canvas performance problems are virtually gone, so it seems I can continue prototyping with it.
Are you using TK for a GUI here? or just for drawing? If GUI, I'd stick with it (or choose another GUI toolkit, wx drawing is pretty fast, or even openGL if you need to quickly re-draw the same stuff at different scales or views.
If you're not making a GUI app and just need drawing, I'd go with a drawing API -- PIL, or maybe Kiva or Cairo or something.
-Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
