[Edu-sig] Re: Teaching graphics with Python (was
Introductoryhighschool programming)
Kirby Urner
urnerk at qwest.net
Sat May 8 23:14:06 EDT 2004
Re: www.4dsolutions.net/ocn/python/nks.py
> individually. I should try it with rectangles.
>
Definitely faster with rectangles.
In Tk, getting down to the actual pixel level (pixelsize=1), even with Point
(tried in place of Rectangle), I get a fuzzy picture.
Might be some problem with my algorithm I didn't catch.
An advantage of the PIL method is you're building something savable. With
graphics.py, I don't see a way to save the canvas to a file.
(for color coded view, in browser, use:
http://www.4dsolutions.net/cgi-bin/py2html.cgi?script=/ocn/python/nks.py
Kirby
More information about the Edu-sig
mailing list