Jump to content
GreenSock

Tauseef

Raphaeljs and GSAP Raphaeljs plugin

Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello,

 

I m working with http://raphaeljs.com/ javascript library for vector graphics , however i see TweenMax  also contain one file RaphaelPlugin.min can someone please explain what is difference between both ? and which one i need to include in my files for creating and animating vectors ?

 

 

 

 

Regards

 

Tauseef Ahmed

 

Link to comment
Share on other sites

Hi Tauseef,

 

The file you mention is a plugin that allows you use some GSAP methods on Raphael elements, or tween some specific raphael properties in native elements. You can look at it here:

 

http://api.greensock.com/js/com/greensock/plugins/RaphaelPlugin.html

 

Also if you don't mind about loosing support for older browsers, you could use SnapSVG (supports IE9+) and check Anthony's Snap pulgin:

 

https://github.com/anthonygreco/GreenSock-JS/tree/master/src/uncompressed/plugins

 

I haven't played much with SVG libraries, the few things I've done in SVG have been fairly simple so there's haven't been a real need to use a library yet. Perhaps you can contact Anthony in that regard, He seems to have quite a handle in Snap.

 

Rodrigo.

Link to comment
Share on other sites

Thanks SnapSVG look more easier and better as compare to Raphael only thing to consider is browser support 

 

BTW on Anthony's Profile page i m unable to find Snap pulgin:link

 

 

Regards

 

Tauseef Ahmed

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×