Calculates the tangent of an angle.
tan() is useful for many geometric tasks in creative coding. The values returned range from -Infinity to Infinity and repeat periodically as the input angle increases. tan() takes into account the current angleMode().
Examples
Syntax
tan(angle)Parameters
angle
the angle.
Notice any errors or typos? Please let us know. Please feel free to edit src/math/trigonometry.js and open a pull request!