This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-06-13 22:30:44

DB88
Scratcher
Registered: 2010-05-20
Posts: 42

Why are angles measured in a nonstandard way?

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?


Most Recent Projects: 
Four Bar Linkage Animator:  http://scratch.mit.edu/projects/DB88/1102417  ...... Moon Defender:  http://scratch.mit.edu/projects/DB88/1092234  ..... BUGS:  http://scratch.mit.edu/projects/DB88/1095318

Offline

 

#2 2010-06-13 22:50:16

scmb1
Scratch Team
Registered: 2009-03-19
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

Well, I don't know the answer to your question, but I do agree that it is strange and a little hard to work with... I hope someone who knows answers this- I'm curious too.


http://i48.tinypic.com/2z5pqad.png

Offline

 

#3 2010-06-14 03:02:08

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

There were suggestions about changing this earlier, and I think it got a positive response...  hmm


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#4 2010-06-14 06:50:43

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

Yes, angles are measured a little weirdly and it's quite difficult to use compared to the standard way, where I can actually visualise the angle prior to testing it out...

Offline

 

#5 2010-06-14 08:50:29

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

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.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#6 2010-06-14 10:57:36

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

Yeah, I was wondering this too... I guess Paddle2See explains it...  Sorta.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#7 2010-06-14 14:11:18

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

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.  tongue


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#8 2010-06-14 14:17:05

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

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.  tongue

Yeah...


I guess the only problem is that this teaches a bad habit when learning other programming languages.


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#9 2010-06-14 15:37:56

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Why are angles measured in a nonstandard way?

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.  tongue

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

 

#10 2010-06-14 17:56:45

DB88
Scratcher
Registered: 2010-05-20
Posts: 42

Re: Why are angles measured in a nonstandard way?

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?


Most Recent Projects: 
Four Bar Linkage Animator:  http://scratch.mit.edu/projects/DB88/1102417  ...... Moon Defender:  http://scratch.mit.edu/projects/DB88/1092234  ..... BUGS:  http://scratch.mit.edu/projects/DB88/1095318

Offline

 

Board footer