On Sun, Jun 17, 2018 at 10:13 PM kirby urner <kirby.urner@gmail.com> wrote:


Any Ideas?
Thanks :)
--


​Wow I didn't know about this issue.

Just

import turtle
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)

performs as expected out of the box right?

​Yes, it does. BUT, if you set the world coordinates like Jurgis reported, then left and right are inverted. There's an easy fix ... but it has been rejected.​

 
  Forward is in the direction the turtle is facing and left and right are the turtle's own front paws.  We're looking down on said turtle.

https://flic.kr/p/Lb4mUf  (warning: URL is case sensitive)

I gather some have a preference for (0,0) as upper left versus smack dab in the middle of the screen with X right and Y up?

Codesters and Scratch follow the (0,0) in the middle convention.  That's how math textbooks do it. 

HTML Canvas object is irrelevant.  Resistance is futile.  Just kidding. 

Would be good to have a global setting, just like for cubic vs. tetra volumes.

Kirby



_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
https://mail.python.org/mailman/listinfo/edu-sig