Next up: gestures. >:1
Conversation
will handle that soon. `modifyVelocity={currVelocity => flick ? increase(currVelocity) : currVelocity}`
1
Yes, but how does the gesture’s state machine plug into modifyVelocity? On-touch-down has to stop animation too…
1
stop animation is just setting an endValue with a special config that cancels tweening. See the balls grid (demo 2), you…
1
…don’t need to modify currVelocity. It jumps to 0 for you. Gesture will be handled agnostic to the Spring as a…
1
…component/state. Upon flick you add that velocity contrib to spring by using the earlier API. Prolly need an example?
1
Replying to
I think I can picture it now, actually—thank you!

