Skip to content
Flint
Documentation

math

modulePaperVelocity

Math functions and constants.

import math

Functions 13

Square root.

base raised to exponent.

Angle of the point (x, y) in radians.

Degrees to radians.

Radians to degrees.

Natural logarithm.

e raised to x.

x limited to the range low..high.

Linear interpolation between a and b.

-1, 0 or 1.

Constants

math.pi
constant

3.14159...

math.e
constant

2.71828...