[Qt-qml] QML animations

Harri Pasanen harri at mpaja.com
Thu Dec 1 17:06:32 CET 2011


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



More information about the Qt-qml mailing list