Get an angle (radians) between two points.
double getAngle(double x0, double y0, double x1, double y1) => atan2(y1 - y0, x1 - x0);