Faster turtles
Using the Python Imaging Library I’ve created a faster alternative to the turtle.py module. It takes only a few seconds to draw images that were taking several minutes with turtle.py.
There are a few downsides to this approach I suppose:
- There is no on-screen animation of the image being created which is useful tool when teaching turtle graphics — only a finished image is created.
- Output is a raster image, not a nice svg or eps file.
On the up side:
- Super fast
- Antialiased
- All Python Imaging Library tools and methods also available.
- At the moment is largely compatible with the turtle.py module
Who knows… once I’ve got the code into a more finished state I may share my fast-turtle module with the world.
Here’s a nice animation that I created with my aforementioned fast turtle module:
Advertisement

I’m VERY interested in your fast turtle, as in Python 3.2.1 turtlegraphics are not usable for complex images. What a perversion of MVC to get drawing objects instead of a raster image ! Thanks to send it !
wissme at hotmail dot com
Please find the code for “imgturtle” here. You will need to have Python image Library and Aggdraw modules installed.
I’d be interested in your new version of turtle. I’ve been using Python’s default turtle for a new intro programming course I am working on, but I’ve run into the same limitations you have. Willing to share for an experiment if you haven’t posted the code anywhere yet? Please?