processing-website icon indicating copy to clipboard operation
processing-website copied to clipboard

Import third-party libraries in livesketch examples via CDN

Open SableRaf opened this issue 3 years ago • 0 comments

As mentioned in https://github.com/processing/processing-website/issues/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"]

SableRaf avatar Sep 07 '22 10:09 SableRaf