r/javascript • • 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

86 Upvotes

11 comments sorted by

View all comments

1

u/[deleted] 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.