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] <mailto:[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