-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Milestone
Description
🚀 Feature
See issue : #7044
Have you read the Contributing Guidelines on issues?
yes
Motivation
Today SpringInterpolator
is based on third party calculations for spring force, which did not work, has "jumps" in animations for different spring configuration.
Pitch
Use the native SpringAnimation
implementation for each platform and write a unique SpringInterpolator
that has the platform native SpringAnimation
implementation in the implementation.
The platform might include such an interpolator, no need to write one,
- Change the JS API to support platform terminology on the native side (options-parser).
- On the native side, we might use one SpringInterpolator in order to achieve other interpolators through the config, like linear, overshoot, accelerate, etc.
- Preset like configurations.
- Less code.
- Support a wide range of interpolations easily via a simple config of the animation.
@guyca wdyt?
mrousavy and nelsonprsousa