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 docs example with p5.SVG #125

Open
tonyketcham opened this issue Apr 3, 2022 · 1 comment
Open

Add docs example with p5.SVG #125

tonyketcham opened this issue Apr 3, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@tonyketcham
Copy link
Owner

tonyketcham commented Apr 3, 2022

Pen plotters + p5 + Svelte would be a great example that some may find inspiring. That was one of the founding pieces of inspiration for starting this project and I was disappointed that p5.SVG didn't support ESM/instance mode so I couldn't get an SVG runtime for p5 working w/ p5-svelte.

In a recent release, p5.SVG added support for those pieces 🥳

@tonyketcham tonyketcham added documentation Improvements or additions to documentation enhancement New feature or request labels Apr 3, 2022
@tonyketcham
Copy link
Owner Author

tonyketcham commented Apr 3, 2022

Turns out that the instance mode does the thing where it's trying to mod p5 via accessing the window which Svelte no likey. This may not work or may need a custom shim within p5-svelte in order to support

Experimenting with this on https://github.com/tonyketcham/p5-svelte-svg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant