[Qt-qml] QML animations
Jason H
scorp1us at yahoo.com
Fri Dec 2 15:55:27 CET 2011
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 <harri at mpaja.com>
To: Jason H <scorp1us at yahoo.com>
Cc: "qt-qml at qt.nokia.com" <qt-qml at qt.nokia.com>
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 <harri at mpaja.com>
>To: "qt-qml at qt.nokia.com" <qt-qml at qt.nokia.com>
>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
>Qt-qml at qt.nokia.com
>http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111202/fa819320/attachment.html
More information about the Qt-qml
mailing list