Skip to content

textmode.js / Textmodifier / sin

Method: sin()

ts
sin(angle): number;

Calculate the sine of an angle.

Angles are measured in radians. Use radians to convert from degrees.

Parameters

ParameterTypeDescription
anglenumberAngle in radians.

Returns

number

Sine of the angle.

Example