Animation APIs parameterized by eg duration and curve are fundamentally opposed to continuous, fluid interactivity.
Conversation
I think I agree, but you can get continuous velocity with additive duration and curve animations… what else do you need?
1
1
1
Problem there is durations. You've got a 0.5s toggle animation; you interrupt halfway through; now it moves at half speed.
2
I see; the fundamental issue is additive animation systems don't respond well to having animations removed and re-started.
2
1
1
Replying to
That sounds right. The notion of "re targeting" makes more sense to me than "removing and adding"
Replying to
if you want to retarget, you don't need to remove the old animation. Add a new one from the old animation's destination.
3
2
React State Stream solves this API-wise by letting new animation be map() of the old one
2
Show replies


