Show HN: Paths.js – Generate SVG paths
https://github.com/andreaferretti/paths-js
http://andreaferretti.github.io/paths-js-demo/
It is meant to help generating SVG paths with a high level API. These paths can be used with a template engine such as Mustache or Handlebars to display SVG graphics. If instead of a static template engine, you use a data binding library, such as Ractive.js, Angular or Facebook React, you get animated graphics for free.
The idea is to have something minimal and not tied to the browser (it works on Node as well) and then use whatever framework you like to do the actual rendering. This makes it easier to integrate graphics into common JS frameworks and to customize style, animations and interactions.
Please, let me know any feedback you have so that I can improve it!
0 comments
[ 3.4 ms ] story [ 12.1 ms ] threadNo comments yet.