Skip to content
This repository

JavaScript Vector Library


Raphaël: Cross-browser vector graphics the easy way.

Visit the library website for more information:

Quickstart guide

  • git clone
  • git submodule init && git submodule update && npm install



Check Raphael-boilerplate to see examples of loading.

Raphael can be loaded in a script tag or with AMD:

define([ "path/to/raphael" ], function( Raphael ) {
  console.log( Raphael );


At the moment we have 4 milestones:


Milestone for bug fixes from contributors pull requests.


Milestone for enhancements from contributors pull requests.


Milestone with bug fixes added from issues created by community. This fixes were not provided in the issues.


Milestone with enhancements suggested in issues but not provided by community at those issues.

We are organizing the current issues between this milestones, setting the grounds for people to contribute and start pushing code soon.

Want to contribute?

All changes in code must go to raphael.core, raphael.svg or raphael.vml. raphael.js is a generated file.

After changing the core/vml/svg files, execute grunt in the dev folder to generate the minified version, commit and you are ready to make a pull request! Remember that if you want to add a functionality it must be present in the vml and svg versions, no svg-only features will be accepted.

Found an issue?

First search for similar issues to make sure you don't repeat an existing one.

Then please create a fiddle (boilerplate) recreating the bug so we can find out what the problem is more easily (or be a hero and find it yourself and send a pull request!). You can also use the raphael playground to reproduce your issues.

Remember to add all the info that can be useful such as

  • error details
  • steps to reproduce
  • browser and its version
  • any suggestion of what do you think the problem could be


Related Projects


Copyright and license

Copyright © 2008-2013 Dmitry Baranovskiy (

Copyright © 2008-2013 Sencha Labs (

Licensed under the MIT ( license.

Something went wrong with that request. Please try again.