Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pathsjs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
211.
▲
by
pathsjs
12y ago
Well, if you are familiar with SVG and you just want to write at this level of abstraction, yes. But of course, this is only the lowest level API. The actual purpose of library is to provide with more complex shapes and graphs, while still
212.
▲
by
pathsjs
12y ago
Ah ok, I understand. Yes, the docs now look too much like a giant wall of text. My plan for 0.4 is (among other things) to organize the documentation a little better, and I will also add the examples inline
213.
▲
by
pathsjs
12y ago
Done, thank you!
214.
▲
by
pathsjs
12y ago
Well, there are a few. The main one is that Paths.js only builds a descriptor of your path (the string that goes into the "d" attribute of the SVG path tag), and leaves to you the actual rendering. This has, for me, a few benefits
215.
▲
by
pathsjs
12y ago
Hi, you can find a working demo on http://andreaferretti.github.io/paths-js-demo/ It is mentioned in the README (How does it look like?) but maybe it is not apparent enough
216.
▲
Show HN: Paths.js – Generate SVG paths for geometric shapes
(github.com)
86 points
by
pathsjs
12y ago
|
27 comments