Reimplement Animated's interpolate logic linearly.
i0
o0
function interpolate(value, inputRange, outputRange) { // TODO }