for example if I had a circle with center in 0,0 and then I exited to have center in 100,100 then the animation to transform from one to the other should happen automatically.
something that looks like:
(circle 0,0) `animate` (circle 100,100).
or even better animate automatically between scenes, where a scene is a set of other drawings. so animate from scene to the next would be like:
scene1 `animate` scene2
does something like that exist?
also "how to design worlds" https://world.cs.brown.edu/
sample of HTDW, https://world.cs.brown.edu/1/projects/chicken/v1.gif
struct AnimatedCircle: View {
@State private var radius: CGFloat = 0
var body: some View {
Circle()
.frame(width: radius, height: radius)
.onAppear {
withAnimation {
self.radius = 100
}
}
}
}
https://en.wikipedia.org/wiki/Synchronized_Multimedia_Integr... takes that a bit further by allowing animation of other things than attributes.