Picked up Javascript today, decided on usinghttp://raphaeljs.com/for what I want to do.
I'm currently trying to create a glowing rectangle that I can animate. Raphael uses some glow implementation that adds a stroke to a path. This is great but it's unanimatable. I've got a workaround where I programmatically create a bunch of rectangles to create a glow effect and then animate each one. This is retarded and even pegs the cpu on firefox.
I created a jsfiddle for it:
http://jsfiddle.net/jimmyw404/jwtsn/38/
Anyone know how to do this is in a non-retarded way? I'm open to new frameworks or whatever.
I'm currently trying to create a glowing rectangle that I can animate. Raphael uses some glow implementation that adds a stroke to a path. This is great but it's unanimatable. I've got a workaround where I programmatically create a bunch of rectangles to create a glow effect and then animate each one. This is retarded and even pegs the cpu on firefox.
I created a jsfiddle for it:
http://jsfiddle.net/jimmyw404/jwtsn/38/
Anyone know how to do this is in a non-retarded way? I'm open to new frameworks or whatever.