By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,908 Members | 1,892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,908 IT Pros & Developers. It's quick & easy.

Smoother Lines in Turtle Graphics

P: n/a
Hi All
I am a newbie to turtle graphics in python, so sorry if you find this
question too easy.
How can I get smoother lines in turtle graphics?
I am using python on windows.

Thanks in advance

Aug 10 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
tomy wrote:
Hi All
I am a newbie to turtle graphics in python, so sorry if you find this
question too easy.
How can I get smoother lines in turtle graphics?
I am using python on windows.
What turtle graphics? I'm not aware that there is some
standard-turtle-graphics available, so it might be a problem of your
turtle-graphics-package.

Diez
Aug 10 '07 #2

P: n/a
Ant
On Aug 10, 11:41 am, "Diez B. Roggisch" <de...@nospam.web.dewrote:
tomy wrote:
Hi All
....
What turtle graphics? I'm not aware that there is some
standard-turtle-graphics available, so it might be a problem of your
turtle-graphics-package.

Diez
import turtle

Its part of the standard Library! I don't know the answer to the OP's
question mind you, I'd played around a little with it a while ago, but
nothing more.

Python: Batteries and Turtles included!

--
Ant...

http://antroy.blogspot.com/


Aug 10 '07 #3

P: n/a
Ant wrote:
Python: Batteries and Turtles included!
I didn't know that! It looks like turtle is based on Tk, which doesn't have
antialiasing yet (see http://wiki.tcl.tk/10101 ), so it can't really be
made nice and smooth (unless you could somehow use tkzinc/tkpath to draw
with).

I suppose turtle wouldn't be that hard to reimplement it to use Qt/Gtk
instead.

Jeremy

--
Jeremy Sanders
http://www.jeremysanders.net/
Aug 10 '07 #4

P: n/a
Jeremy Sanders wrote:
Ant wrote:
>Python: Batteries and Turtles included!

I didn't know that! It looks like turtle is based on Tk, which doesn't have
antialiasing yet (see http://wiki.tcl.tk/10101 ), so it can't really be
made nice and smooth (unless you could somehow use tkzinc/tkpath to draw
with).

I suppose turtle wouldn't be that hard to reimplement it to use Qt/Gtk
instead.
Doing that would make it less useful, though, since the primary value of
turtle is to provide something that (sort of) works fro the standard
library without adding further batteries.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------

Aug 10 '07 #5

P: n/a
On Aug 9, 6:56 pm, tomy <zargar26...@gmail.comwrote:
Hi All
I am a newbie to turtle graphics in python, so sorry if you find this
question too easy.
How can I get smoother lines in turtle graphics?
I am using python on windows.

Thanks in advance
You may be better off using PIL or pygame for this sort of thing.

Mike

Aug 10 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.