Libraries, finally!

      Filed under: Sketchpad   
Originally posted on the Sketchpad blog external link

When I launched the new studio for P5.js earlier this summer, I was happy to have finally addressed a long-time limitation of Sketchpad: sketches in this studio could include and make use of any of the growing collection of P5.js libraries. Unfortunately, the ability to load in external libraries and sketches came at the cost of additional confusion in using the editor, as each P5.js sketch needed to be wrapped in a <script> tag. In order to un-break this experience, I’m introducing a better, simpler, and <script>-free mechanism for loading Javascript libraries and other resources: HTML Additions.

With the introduction of HTML Additions, the ability to load an external script is no longer limited to the public P5.js studio. The public Processing.js-based and select private studios now provide a way for you to load external libraries, scripts, HTML, CSS, etc. This has long been a top request, so I’m happy to finally make it available.

How do I load libraries?

View full post external link

Libraries, finally!