Is it possible to have an API for interpolation like this with Motion?
@State var x = 0
@State var xOffset = AnimationWrapper(SpringAnimation<CGPoint>(value: x, input: [0, 1], output: [0, 300]))
// ...
Circle()
.offset(x: yOffset)
Button(action: { x = 1 }) {
Text("Tap me")
}
// ...