[Home]
>
Snippets
>
Languages
>
JavaScript
>
Math
Languages » JavaScript » Math (Other)
Calculate the linear interpolation between two numbers
Calculate the midpoint between two points
Check if a point is inside a rectangle
Check if a rectangle contains other one
Check if a rectangle overlaps other one
Convert degrees to radians
Convert radians to degrees
Normalize the ratio of a number in a range
Round a number to the nearest multiple of a given value