Skip to main content

Questions tagged [raphael.js]

RaphaëlJS is a cross-browser JavaScript library that draws vector graphics for web sites. It uses SVG for most browsers and VML for older versions of Internet Explorer.

Filter by
Sorted by
Tagged with
7 votes
1 answer
292 views

The code below is loading an svg into the canvas via RaphaelJS. There are mouseover/mouseout events, on click on an element of the svg, and drag/zoom. I would like to know, what are some good ...
Radu Dascălu's user avatar
3 votes
2 answers
320 views

Can someone let me know if this is a proper (and efficient) way of doing it? It works, but I wanted to understand if there's a way it be made better (I can use a for loop for the clones, but my ...
sarath's user avatar
  • 51
5 votes
2 answers
349 views

The script is for rotating 5 different coloured gears (tandwiel) on my site. I think the code can be improved and improved performance. 5x var paper isn't that smart for speed? Getting the current ...
Dick's user avatar
  • 53
3 votes
1 answer
363 views

I have a small animation with Raphael using a large amount of code. Is there any way to reduce it? Demo ...
Muhammed's user avatar
  • 303
2 votes
1 answer
127 views

The Rapheal script seems to be too long. Is there any option to make it shorter ? I think loop can make this script smaller. Does anyone have good suggestions or ...
Muhammed's user avatar
  • 303
3 votes
1 answer
440 views

I'm using Raphael.js to generate objects which are unique but do basically the same thing. I'm also using Fancybox to display a unique image after a click on a generated object. Is there a way to ...
gidzior's user avatar
  • 287
3 votes
1 answer
169 views

I am trying to figure out a better way to attach the icons based on the class id. Here is the link. ...
khinester's user avatar
  • 277
2 votes
2 answers
6k views

I've been working with the RaphaelJS 'australia map' example that displays text in a DIV when a state is clicked on. However I'm having difficulty working with it to create different events and ...
user1619342's user avatar
4 votes
2 answers
3k views

I am animating 1400 objects trying to create a 'twinkling effect'. As the user moves the mouse faster more hexagon shapes pop into full opacity and have varying fade out rates. The version in the ...
Kevin's user avatar
  • 41
1 vote
1 answer
579 views

I'm working on the floors of a building, using SVG objects generated by Raphael.js. All objects are clickable and all have different shapes, but all of them have the same actions. The code below is ...
gidzior's user avatar
  • 287
2 votes
2 answers
1k views

I've been building a coloring book for kids: http://coloringbook.core.ba.lightburncloud.com/ It's got to work on an iPad, so I decided to try out Raphaël JS. I want to try and make this as efficient ...
MLatzke's user avatar
  • 21
4 votes
1 answer
608 views

I started playing with Raphaël and I'm wondering if somebody could do the code review of what I have so far and maybe give me some tips how to improve it. Basically what I'm trying to accomplish is ...
Michal Kuklis's user avatar