ArcBasicDocs

Sin

Sine of an angle in degrees.

Sin ( degrees# )

Parameters

degrees#
the angle, in degrees. A whole turn is 360.

Description

Gives back the sine of an angle. Together with Cos it turns an angle into a direction: something moving at speed towards angle a moves Sin(a) * speed across and Cos(a) * speed down. The answer goes smoothly between -1 and 1 as the angle turns, which also makes Sin handy for things that bob, pulse or sway.

See also