Q
Version: 0.11.6

Compass Trig Helpers

Trigonometric functions can help you manage complex calculations involving angles. Or maybe they can be used to create pretty pictures. Who knows?

pi()

Returns the value of π.

sin($number)

Takes the sine of a number. If the number is unitless or has a unit of deg then it will return a unitless result. Degrees will first be converted to radians. If the number is any other unit, the units will be passed thru to the result, and the number will be treated as radians.

cos($number)

Takes the cosine of a number. If the number is unitless or has a unit of deg then it will return a unitless result. Degrees will first be converted to radians. If the number is any other unit, the units will be passed thru to the result, and the number will be treated as radians.

tan($number)

Takes the tangent of a number. If the number is unitless or has a unit of deg then it will return a unitless result. Degrees will first be converted to radians. If the number is any other unit, the units will be passed thru to the result, and the number will be treated as radians.