static double lerp(double start, double stop, double amount) { return (1.0 - amount) * start + amount * stop; }