DmitryBaranovskiy/raphael — Issue #415: animating sets
Author: zeroin
Created: 2011-10-10 11:40:15+00:00
State: open

This code used to work with v 1.X, but not with V.2:

var paper = Raphael("container", 600, 600);
var set = paper.set();
var circle = paper.circle(10, 10, 10);
var rect = paper.rect(0, 0, 20, 20);
set.push(circle);
set.push(rect);
set.animate({'translation':100 + "," + 100}, 2000, "linear");

What would be a right way to animate sets in V.2?