Does anyone have experience converting spring animations into production iOS code? Example — curve: "spring(300,24,0)"
We are planning to start some research on this matter to make converting spring curves to native animation libraries easier. We have no information yet but I can recommend the Pop framework since it supports spring curve animations like Framer does.https://github.com/facebook/pop
Thanks Jonas Treub!
I'd say it's de-facto impossible to convert between rk4-springs to Apple's .... whatever that is. You could try to do some approximations but I'm pretty certain you won't ever be able to 'convert' it in that sense.
Here's an interesting article on this topic:https://medium.com/@flyosity/your-spring-animations-are-bad-and-it-s-probably-apple-s-fault-784932e51733#.dquudpwew
Not sure if this helps — but I found this very easy to use: https://github.com/MengTo/Spring
We published an open source Swift implementation of RK4 here: https://github.com/flinto/spring