Re:Very impressive CSS3 demo: CSS3 Planetarium
by bzbarsky on Thursday March 17, 2011 @07:41AM
(#2335780)
The timing function can be an arbitrary cubic bezier; some common ones like ease-in/out and so forth have dedicated keywords.
You should be able to get arbitrary bezier paths if you pick your x and y timing beziers carefully, I'd think... But it does take some thinking.
It looks like all the animatable properties just have ease-in / out timing, and go from A to B. Given that, the best you could do is animate each X/Y direction's behavior, creating a new animation at each bezier curve point, and using the bezier form of the timing function to mimic curved paths.
https://developer.mozilla.org/en/css/css_transitions and https://developer.mozilla.org/en/css/css_transitions