Pages: 1
Topic closed
The standard coordinate system everyone learns in trig has positive x to the right, positive y up, zero degrees along the positive x axis, and angles increase positively in the counter-clockwise direction. This is based on the Right Hand Rule. With this convention, sin of an angle is y/r (where r is the magnitude of the position vector), cos is x/r, and tan is y/x. The angle system used by Scratch does not work with this system, which means you must use sin for the x component and cos for the y component. Is there a good reason for why the standard Right Hand Rule convention was not followed?
Offline
There were suggestions about changing this earlier, and I think it got a positive response...
Offline
It is unusual...I wish I knew why as well.
Note that zero degrees being "up" is the convention used in navigation map/compass work where true North is zero degrees and true North is usually vertically up on the map. If you think of the sprite as navigating it's own little "world" consisting of the computer screen, it is consistent with that convention.
Offline
Yeah, I was wondering this too... I guess Paddle2See explains it... Sorta.
Offline
I agree with Paddle2See, and also for the sake of simplicity. It's easier to think of a "world" with little kids than it is with thinking about advanced trigonometry and Right Hand Rule.
Offline
Greatdane wrote:
I agree with Paddle2See, and also for the sake of simplicity. It's easier to think of a "world" with little kids than it is with thinking about advanced trigonometry and Right Hand Rule.
![]()
Yeah...
I guess the only problem is that this teaches a bad habit when learning other programming languages.
Offline
juststickman wrote:
Greatdane wrote:
I agree with Paddle2See, and also for the sake of simplicity. It's easier to think of a "world" with little kids than it is with thinking about advanced trigonometry and Right Hand Rule.
![]()
Yeah...
I guess the only problem is that this teaches a bad habit when learning other programming languages.
Not to mention the negative angles... What's with that?
Offline
Paddle2See wrote:
It is unusual...I wish I knew why as well.
Note that zero degrees being "up" is the convention used in navigation map/compass work where true North is zero degrees and true North is usually vertically up on the map. If you think of the sprite as navigating it's own little "world" consisting of the computer screen, it is consistent with that convention.
I understand zero being "up", but in navigation are positive angles measured clockwise, as Scratch does, or CCW?
Offline
Topic closed
Pages: 1