Today I cannot make such a nice announcement as Aaron yesterday, but I can at least try announce something I personally consider as awesome.
For packaging effects we use the well established Plasma Package structure, so that our script developers only need to know this one common way. The API itself will share as much as possible with the KWin scripting API – of course with adjustments for effects. For animating the API is based on the AnimationEffect introduced in 4.8.
var duration = 250;
effect.animate(w, Effect.Opacity, duration, 1.0);
effect.animate(w, Effect.Opacity, duration, 0.0, 1.0);
As I wrote currently the scripts do not operate during the rendering. Because of that we don’t have bindings for WebGL. This would at the moment not make any sense. Nevertheless it might be that we allow to upload custom shaders, but I won’t pursue such a task in the 4.9 cycle.