iterami
/
Docs.htm
/
common HTM Projects
/
math.js
/math_move_2d(args)
Calculates movement in 2 dimensions and returns an object containing "angle", "x", and "y".
Arg
Default
Type
speed
1
number
x0
number
x1
number
y0
number
y1
number