static Vector2 lerpBetween(Vector2 a, Vector2 b, double t) { return Vector2( a.x + (b.x - a.x) * t, a.y + (b.y - a.y) * t, ); }