© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
D. MatthewGenerative Art with JavaScript and SVGDesign Thinkinghttps://doi.org/10.1007/979-8-8688-0086-3_6

6. The All-Powerful Path

David Matthew1  
(1)
Limerick, Ireland
 

Paths are perhaps the most important and most powerful part of the SVG spec. Most SVG files, be they simple icons or complex artworks, consist primarily of path data. If, for example, you draw anything more advanced than a primitive shape in a vector graphics program like Inkscape or Illustrator, you are ipso facto working with paths. And no, to program paths manually in JavaScript and SvJs, you don’t need to be a mathematical wizard.

This chapter will cover the path element and its associated ...

Get Generative Art with JavaScript and SVG: Utilizing Scalable Vector Graphics and Algorithms for Creative Coding and Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.