-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Students working on a final that makes use of SVGs asked about SVGs and p5. I looked and don't see an issue discussing this so thought I would open one. I noticed there is some a commented out p5.Shape object. Some stream of consciousness questions:
- Would it make sense to have a
createSVG()function for creating an SVG DOM element from a file? - Is drawing SVGs to an HTML canvas something that is standard practice on the web or would this never happen and it makes more sense to place SVG DOM elements on top of a canvas with absolute positioning?
- Would it makes sense to support a few functions to build an SVG from scratch?
- To what extent should we port functionality from PShape to
p5.Shape?
Apologies if this is covered somewhere else and I'm missing something obvious.