[Edu-sig] turtle coordinates: Y increase downards - as in most graphics API?

Jurgis Pralgauskis jurgis.pralgauskis at gmail.com
Fri Mar 13 12:52:35 CET 2015


Hi,

usually in computer graphics Y is counted to increase downwards.
I casn do it with:     setworldcoordinates(0, 400, 600, 0)

but then, "right(..)" turns to the left :/


I could swap:
right, left = left, right

but on errror I get a bit misleading message

>>> right()
Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    right()
TypeError: left() takes exactly 1 argument (0 given)

I thought to make this hack for kids, so better clearer error msgs...

Any Ideas?
Thanks :)
-- 
Jurgis Pralgauskis
tel: 8-616 77613;
Don't worry, be happy and make things better ;)
http://galvosukykla.lt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/edu-sig/attachments/20150313/b034814b/attachment.html>


More information about the Edu-sig mailing list