Skip to content

submission for shapeSVG library #847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2025
Merged

submission for shapeSVG library #847

merged 2 commits into from
May 23, 2025

Conversation

irenelfeng
Copy link

There is no SVG reading support in p5js according to: https://www.gorillasun.de/blog/working-with-svgs-in-p5js/,
this library creates a loadSVG() function to load in an SVG and edit the style of each path in the XML file, and even individual vertices if need be.

@ksen0
Copy link
Member

ksen0 commented May 21, 2025

Hi @irenelfeng thanks for working on this! Could you please update the image to use a different name? p5.svg is already in use by https://github.com/zenozeng/p5.js-svg . Once that's done, happy to merge!

@irenelfeng irenelfeng force-pushed the main branch 2 times, most recently from f57f66c to f2d6ccf Compare May 21, 2025 18:17
@ksen0
Copy link
Member

ksen0 commented May 23, 2025

Thanks @irenelfeng ! If this library is compatible with p5.js 2.0 (you can change to this version in the p5.js Editor to check), please feel free to make a PR like this into the 2.0 branch of this repository.

@ksen0 ksen0 merged commit 583dfb3 into processing:main May 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants