Re: [community-group] Animation description by solely Bezier Curve is inadequate (#158)

I am adding Spring animations into Touchgram app, which is based on SpriteKit, using the 3rd-party lib [SpriteKit-Spring](https://github.com/ataugeron/SpriteKit-Spring). 

The app allows users to compose messages where they react to touches encoded in an message. 

Packaging in messages  iMessage and reusable designs is in a proprietary, compact, binary format.

Apple's [SwiftUI has springs](https://developer.apple.com/documentation/swiftui/animation) as a core animation type for UX, as seen in [this tutorial](https://designcode.io/swiftui-rive-side-menu-animation). The packaging format for SwiftUI is Swift source code. They have the types:

- [spring(response: Double, dampingFraction: Double, blendDuration: Double)](https://developer.apple.com/documentation/swiftui/animation/spring(response:dampingfraction:blendduration:))
- [interactiveSpring(response: Double, dampingFraction: Double, blendDuration: Double)](https://developer.apple.com/documentation/swiftui/animation/interactivespring(response:dampingfraction:blendduration:))
- [interpolatingSpring(mass: Double, stiffness: Double, damping: Double, initialVelocity: Double)](https://developer.apple.com/documentation/swiftui/animation/interpolatingspring(mass:stiffness:damping:initialvelocity:))

-- 
GitHub Notification of comment by AndyDentFree
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/158#issuecomment-1186282883 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 16 July 2022 20:18:04 UTC