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

Import third-party libraries in livesketch examples via CDN #321

Open
SableRaf opened this issue Sep 7, 2022 · 0 comments
Open

Import third-party libraries in livesketch examples via CDN #321

SableRaf opened this issue Sep 7, 2022 · 0 comments

Comments

@SableRaf
Copy link
Collaborator

SableRaf commented Sep 7, 2022

As mentioned in #314, some livesketch examples might require the use of third party libraries to emulate features of Processing that currently do not exist in p5.js

The suggested approach is to add an array of imports to the .json config file like so:

"import": ["https://cdnjs.cloudflare.com/ajax/libs/paper.js/0.12.15/paper-core.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants