Grokking React Native
Vote

0% completed

​

Using Different Animation Types

How should a box travel 200 points to the right? It could take exactly one second with a gentle start and stop. It could rush toward the target, overshoot, and settle back like an object on a spring. It could also be pushed and left to slow down, with no fixed destination at all.

These three motions are Animated.timing, Animated.spring and Animated.decay. All three use the moving box from the first lesson of this chapter, and only the moveBox function changes

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content