Works with Raphael. Switching to paper.js soon.