Can you explain about the interpolate of animation?


(Veasna) #1

Hello everyone, i try to use animated in react native, but i am not sure about the interpolate use in animation.

ex: value.interpolate({
inputRange: [ … , … ],
outputRange: [ … , … ],
});

Can all of you explain me more about the inputRange and outputRange? How it work?
Thank you !!!