raphael

Raphael Position

How can I get the position of an object in Raphael? I can get the size using getBBox(), but there appears to be no way to get the position? ...

VML and opacity problem in raphael

Hi everyone, I'm working on a raphael based script that can rotate, resize, flip and flop an image. I've faced strange problem in IE: when the image with opacity is rotated on some angle and then is applied by matrix to perform flip, there are black areas on it. Image is rotated and flipped: http://cl.ly/12067d913b6ef423ae59 See black...

Creating a linear transparent gradient to a div

I'd like to create a linear transparent gradient to a div. Is there any way to do that with jquery? Or should I use some other library like raphaeljs? I'd like to achieve an effect like the following: ...

Optimize SVG game

I have created my first SVG game, using Raphaël.js. In Chrome the game feels fast, but in other browser like IE (understandable since it's using VML), Firefox, iPad safari and others, it feels slow at times. I'm looking for some tips on how I can optimize my code to squeeze out the absolute best performance. I've tried the best I can t...