Skip to content

Add first class support for SVG imports and exports #4630

Open
@lostPixels

Description

@lostPixels

Most appropriate sub-area of p5.js?

  • Color
  • [x ] Core/Environment/Rendering
  • Data
  • Dom
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

New feature details:

As an artist using p5.js for plotter drawings, I use vector graphics to power my Axidraw. There are very few options for this workflow out there, and p5.js has by far the best API.

Although I am still able to partially use it, the p5js.svg library was abandoned over 5 years ago. It is the only way to draw and export SVGs. It's plagued with many bugs that require a deep understanding to fix.

It would be amazing if p5.js natively supported SVG operations. The 2D API maps perfectly to it, and the only new option that would be nice is loading and manipulating external SVGs.

Metadata

Metadata

Type

No type

Projects

Status

Open for Discussion

Relationships

None yet

Development

No branches or pull requests

Issue actions