see sky_engine/lib/ui/lerp.dart
sky_engine/lib/ui/lerp.dart
double lerpInt(int a, int b, double t) => a + (b - a) * t;