Old 7th October 2001, 23:30   #1
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
Sin, Cos, Tan

I learned in my geometry class that sine, cosine, and tangent were triangle angle ratios. Exactly how do sin, cos, and tan effect superscopes and movements. I heard something about triangle angle ratios being in degress and superscopes and movements being in rads, but I don't know what that means. Can somebody please explain this to me?

|
n_ick2000 is offline   Reply With Quote
Old 8th October 2001, 15:30   #2
Scarface2k1
Banned
 
Scarface2k1's Avatar
 
Join Date: Feb 2001
Location: i dont get out much so i dont remember
Posts: 1,032
Send a message via ICQ to Scarface2k1 Send a message via AIM to Scarface2k1 Send a message via Yahoo to Scarface2k1
well,

i find that this will do fine for movement:
code:
y=cos(t+i);
Scarface2k1 is offline   Reply With Quote
Old 9th October 2001, 22:38   #3
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Trigonometry :)

The easiest way to explain is this:

Given a circle with radius 1 (the so called 'unit-circle'). We take a random point on this circle. We can describe this point uniquely by the angle of the radius through this point and the X-axis, for example 90°, 140°, ...

Mathematically however, radians are used instead of degrees. Without going into much theory, you should just remember that 360° = 2*PI.
So suppose we have a point lying at N radians on our unit circle. Then the X coordinate will be given by cos(N), and the Y coordinate by sin(N). That's the definition of cosine and sine.
So if you want to draw a circle, take every value A from 0 to 2*PI, and plot the points (cos(A), sin(A)). Easy.
The relationship of sine and cosing with right-angled triangles is pretty easy to see. Draw a circle using the origin (0,0) as center. Take a point on this circle, connect the point with the center, project the point on the X axis. Voilà: a right-angled triangle appears

Sin and cos have other uses as well. Because they are coordinates of points lying on a circle, they are periodic. A point traveling along a circle will eventually arrive at its starting point. This means that their values are repetive after a while (2*PI to be exact).

So you can use sine and cosine as a source for a pulsing/wavy scope or movement.

The tangent tan is defined as sin divided by cos. It ranges from negative infinity to positive infinity in -PI/2 to PI/2, and repeates itself every PI.

Usually you won't need the actual mathematical uses of these functions, but you'll rather be using their characteristics (e.g. repetiveness).
UnConeD is offline   Reply With Quote
Old 10th October 2001, 00:57   #4
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
Thanks uncloned. That makes more sence to me.

|
n_ick2000 is offline   Reply With Quote
Old 12th October 2001, 19:21   #5
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Nick :)

While I'm pretty sure I have not been cloned, I'd appreciate it if you'd stick to my actual nickname
UnConeD is offline   Reply With Quote
Old 13th October 2001, 02:56   #6
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
sorry, finger sliped

|
n_ick2000 is offline   Reply With Quote
Old 28th October 2001, 04:34   #7
buffer_brazil
Junior Member
 
Join Date: Oct 2001
Location: Brazil
Posts: 8
Send a message via ICQ to buffer_brazil
I Want to Learn About Sin, Cos

I Want to Make Cool Equations on My AVS Editor but i Don´t Know very few About Sin, Cos, Tan ... Where can I Get Documentation about it??

If You Have Documentation about it, please send me!
buffer_brazil is offline   Reply With Quote
Old 16th November 2001, 21:11   #8
Angry Weasel
Senior Member
 
Join Date: Oct 2001
Posts: 145
There's also arcsine(asin), arccosine(acos) and arctangent(atan).

I find that d=atan(d) has a nice effect as demonstrated in Justin's age-old plugin that's no longer available, Gold Shower in Pseudo 3D.
Angry Weasel is offline   Reply With Quote
Old 17th November 2001, 01:04   #9
n_ick2000
Forum King
 
n_ick2000's Avatar
 
Join Date: May 2001
Location: -
Posts: 2,501
Send a message via AIM to n_ick2000 Send a message via Yahoo to n_ick2000
Justin didn't make it. Lone did. It was in an older version of winamp. Justin removed a blur and added biliner filtering because bilinear filtering wasn't there when lone made it.

|
n_ick2000 is offline   Reply With Quote
Old 17th November 2001, 13:06   #10
Angry Weasel
Senior Member
 
Join Date: Oct 2001
Posts: 145
Sorry...Lone made it but it was sweet.
Angry Weasel is offline   Reply With Quote
Old 22nd December 2002, 21:56   #11
Kagnar
Member
 
Kagnar's Avatar
 
Join Date: Nov 2002
Location: Everywhere
Posts: 58
This is off the subject, but

I noticed something. If you highlight (click and drag) over a smiley face emoticon, it turns to a sad face! Well, sort of.
Kagnar is offline   Reply With Quote
Old 23rd December 2002, 00:59   #12
UnConeD
Whacked Moderator
 
UnConeD's Avatar
 
Join Date: Jun 2001
Posts: 2,104
Only in browsers that don't support true alphablending (*cough*IE*cough*)

UnConeD is offline   Reply With Quote
Old 23rd December 2002, 01:52   #13
Kagnar
Member
 
Kagnar's Avatar
 
Join Date: Nov 2002
Location: Everywhere
Posts: 58
What does that mean?
Kagnar is offline   Reply With Quote
Old 23rd December 2002, 01:53   #14
Kagnar
Member
 
Kagnar's Avatar
 
Join Date: Nov 2002
Location: Everywhere
Posts: 58
Oh wait, I got it.
Kagnar is offline   Reply With Quote
Old 23rd December 2002, 21:37   #15
dirkdeftly
Forum King
 
dirkdeftly's Avatar
 
Join Date: Jun 2001
Location: Cydonia, Mars
Posts: 2,651
Send a message via AIM to dirkdeftly
1: Use the edit button
2: Don't revive dead posts for no reason

"guilt is the cause of more disauders
than history's most obscene marorders" --E. E. Cummings
dirkdeftly is offline   Reply With Quote
Old 24th December 2002, 21:09   #16
WHCode RED
Registered User
 
WHCode RED's Avatar
 
Join Date: Sep 2002
Location: My Computer! Posts: 257874
Posts: 69
ack!

What! This post is a zombie! AAhhhh! (sorry, couldn't help it)
WHCode RED is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump