Skip to content
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

Add custom IDs / class properties to paths #262

Open
ttseng opened this issue Aug 14, 2024 · 0 comments
Open

Add custom IDs / class properties to paths #262

ttseng opened this issue Aug 14, 2024 · 0 comments

Comments

@ttseng
Copy link

ttseng commented Aug 14, 2024

I'm interested in being able to add custom ID / class properties to SVG elements. Is this something you could potentially support in the future?

The reason I want to do this is related to the goal in this feature request to create SVG groups: #243

Ultimately, I'd like to be able to write a script (outside of p5.js) to be able to group all items with the same class.

Example: I'm using the AxiDraw and want all items with the class blue to be in one group, and all items with the class green to be in another group. This lets me then handle plotting of individual groups by color easily.

Hopefully that request makes sense!

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

No branches or pull requests

1 participant