Live data from Hacker News

Snap – A JavaScript SVG Library

snapsvg.io

1–10 of 60 posts

Re: Snap – A JavaScript SVG Library

#3
Libraries like this come up on HN on a regular basis it seems. As I read through the site I kept asking myself "this looks great and all, but can I depend on it in the long term?".

Then I came across the "about" section where it says it was created by the creator of Raphael.js[1].

Say no more.. I'm in!

[1] http://raphaeljs.com/

Re: Snap – A JavaScript SVG Library

#8

Libraries like this come up on HN on a regular basis it seems. As I read through the site I kept asking myself "this looks great and all, but can I depend on it in the long term?". Then I came across the "about" section where it says it was created by the creator of Raphael.js[1]. Say no more.. I'm in! [1] http://raphaeljs.com/

I came across the snapsvg announcement in a Tweet by the creator:

https://twitter.com/DmitryBaranovsk/status/39305298289322393...

> Here we go: new SVG library from Adobe by yours truly Snap.svg. Snapsvg.io

I didn't know Dmitry was Raphael's creator nor that he was working for Adobe. So all I saw was "Adobe" and thought "Flash" and then, "Nah"

Re: Snap – A JavaScript SVG Library

#9
post #6

I feel like whenever one of these gets posted, it should have a compare / contrast with d3.js

The OP's description makes it pretty clear. This is a library that seems specifically geared toward those who create SVGs in programs like Illustrator. That it is described as "jQuery for SVGs" should imply that it serves a different need than D3, as one usually does not call or think of D3 as the "jQuery for SVG data visualizations"

Re: Snap – A JavaScript SVG Library

#10
post #7

I had a really time figuring out what this is, but the "Getting Started" page shows off the API a bit. Wonder why they didn't just call it Raphael 3.0.

Raphael has a really complex abstraction that does loads of magic to make it work on IE.

So I'm guessing this way they can map directly to SVG and not worry about breaking APIs and compatibility.

Post reply on HN