Further Maths

These glyphs further expand the practitioner’s tools for mathematical evaluation. Most of these glyphs concern themselves with trigonometry, useful for computing angles to create precise effects in real space.

Sin

numbernumber
Takes a number, interprets it as an angle in degrees, and returns its corresponding sine value.

Cos

numbernumber
Takes a number, interprets it as an angle in degrees, and returns its corresponding cosine value.

Tan

numbernumber
Takes a number, interprets it as an angle in degrees, and returns its corresponding tangent value.

Asin

numbernumber
Pops a number, takes its arcsine, and returns the result in degrees.

Acos

numbernumber
Pops a number, takes its arccosine, and returns the result in degrees.

Atan

numbernumber
Pops a number, takes its arctangent, and returns the result in degrees.

Atan2

num, numnum
A variant of arctangent that is sensitive to quadrant. Takes the head to be x, and the number below the head to be y, and evaluates for arctangent on the point (x, y).
eg. y, x → the arctan of line corresponding to the point (x, y) on the unit circle

Logab

num, numnum
Takes the logarithm of the number below the head with the number at the head as the base.
eg. a, b → log of a with base b

To Radian

numbernumber
Takes a number, interprets it as a value in degrees, and returns the corresponding value in radians.

To Degree

numbernumber
Takes a number, interprets it as a value in radians, and returns the corresponding value in degrees.