I'm not understanding. You can do you animation on path with it. What's the
difference between your object and and album cover?
If you want an arc, then you need a 2 segment path with the right curve. Then
just move it on the path. No reason why each object can't have its own path.
________________________________
From: Harri Pasanen <[email protected]>
To: Jason H <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Friday, December 2, 2011 3:10 AM
Subject: Re: [Qt-qml] QML animations
Hmm... thanks for the pointer, although QML Path looks to me be fancy layout
tool together with PathView for list like elements, rather than purely
animation related. Great for doing carousels for music albums and photos and
the like...
SmoothedAnimation is perhaps closest to CAKeyframeAnimation in
spirit, but it does not offer enough control.
I'm assuming that I'm on my own, but if I come out with something
akin to CAKeyframeAnimation for QML, is there general interest?
Also, if there is something ready out there, let me know.
/Harri
On 12/01/2011 10:06 PM, Jason H wrote:
There is a Path element that does this.
>
>
>
>
>________________________________
> From: Harri Pasanen <[email protected]>
>To: "[email protected]" <[email protected]>
>Sent: Thursday, December 1, 2011 11:06 AM
>Subject: [Qt-qml] QML animations
>
>I'm trying to wrap my head around QML animations.
>
>I'm having hard time animating anything that is not linear
motion.
>If I'd like the animation to follow a path (or curve), how
should I go
>about it?
>
>Two example usages:
>
>A rocket accelerates along elliptical curve and then starts
coasting.
>
>A rat runs through a maze in along given path.
>
>I'm looking for something like CAKeyframeAnimation:
>
>http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Reference/CAKeyframeAnimation_class/Introduction/Introduction.html
>
>How would I achieve this with QML?
>
>
>Thanks,
>
>/Harri
>
>_______________________________________________
>Qt-qml mailing list
>[email protected]
>http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
>_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml