Move a point in an angle by a distance.
List<double> projectPoint( double x0, double y0, double angle, double distance) => [cos(angle) * distance + x0, sin(angle) * distance + y0];