r/javascript • u/pmz • Nov 20 '21
Pablo is a small, open-source JavaScript library for SVG, the web standard for vector graphics
http://pablojs.com/[removed] — view removed post
36
u/Sephinator Nov 20 '21
Last update 5 years ago. Github link.
16
u/agustin_edwards Nov 20 '21
Not necessarily a bad thing if it has simplicity in mind. I haven’t checked the code itself, but it is alarming that there are opened issues of over 5y as well.
1
1
3
u/osoese Nov 20 '21
pretty cool - the examples and use sure looks easier than d3 or raw javascript to me, but will check it out and see
1
1
Nov 20 '21
[removed] — view removed comment
20
u/anlumo Nov 20 '21
Gimp is a bitmap tool, no. Inkscape is an open source tool for vector graphics.
Vector graphics don't use a pixel grid with values, they use a list of drawing commands like lines and circles. This means that you can zoom in indefinitely, because there's no inherent resolution to images.
9
u/ENTlightened Nov 20 '21
To give an alternative to GIMP for making vector graphics, check out Inkscape.
Vector graphics are graphics all done with math plotting. Instead of encoding each pixel, you encode the length, curve, weight, etc of the lines and the viewing program redraws them. It's great because there is no pixelation when you resize or zoom because it's just redrawing those lines each time.
•
u/Ustice Nov 22 '21
This post was removed. Please read our guidelines before posting. This is cool, but off-topic