Jump to content
6 posts in this topic

Recommended Posts

i know all that, my question was why is it such an improvement over utilities available already? (they keep saying its revolutionary, takes less code, etc. but havent really explained it)

Yes, CoreAnmiation allows you to perform more "eye candy" with less code. Just watch the WWDC06 keynote. It explains everything. :unsure:

The idea is combining an effects engine (like Shake) into the OS, and allow Developers to actually use Keyframes to create the effects in their applications, rather than relying on writing mathematical expressions to define window warping or default pre-made effects.

 

In turn, you can define a simple color change as

int WindowFade(void)

{

$starting_color = 990000;

$ending_color = 000099;

_fade(5000):<function name>,$starting_color,$ending_color;

}

In turn, giving you fading of any object from Red to Blue over 5 seconds.

 

While, it is in fact not as simple as video editing effects, it does away with much of the normal requirements to do any kind of on-screen manipulations.

 

Give it time and Apple may very well actually create a complete graphical frontend for defining effects, but at the moment, it would appear that a developer is limited to defining what the effect should look like at snapshots and specifying a time in Milliseconds at which point the window should look like it.

×
×
  • Create New...