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

Manipulating existing SVG location? #215

Open
Galacticminingoperation opened this issue Mar 5, 2022 · 0 comments
Open

Manipulating existing SVG location? #215

Galacticminingoperation opened this issue Mar 5, 2022 · 0 comments

Comments

@Galacticminingoperation
Copy link

Sorry I'm a real noob so I apologize if this is obvious to everyone else, but I'm trying to load an existing svg file and then zoom into/pan around the image using the mouse. I have the code for zoom and pan working for everything, but when I add the SVG file it doesn't work.

I think it has to do with the path/querysvg part that's in the example, but I don't see much info about that. Is there some more documentation about this?

My simple little code: https://editor.p5js.org/Galacticminingoperation/sketches/6MxcwO45z

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