function(pos) { return (-Math.cos(pos * Math.PI) / 2) + 0.5; };
```
+For more easing equations, have a look at the [svg.easing.js](https://github.com/wout/svg.easing.js) plugin.
+
Note that the `animate()` method will not return the targeted element but an instance of SVG.FX which will take the following methods:
Of course `attr()`:
});
```
+_This functionality requires the fx.js module which is included in the default distribution._
+
## Syntax sugar
/* start animation */
this.interval = setInterval(function(){
+ // This code was borrowed from the emile.js micro framework by Thomas Fuchs, aka MadRobby.
var index,
time = (new Date).getTime(),
pos = time > finish ? 1 : (time - start) / duration;
// rect.animate(1500, '>').move(200, 300).after(function() {
// this.fill({ color: '#f06' });
// });
-