Ari Bader-Natal

Libraries, finally!

  |   Filed under: Sketchpad
External post:
This post lives on the Sketchpad Blog: http://blog.sketchpad.cc/2015/10/libraries-for-sketchpad/
Excerpt:

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 studio.sketchpad.cc 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 at http://blog.sketchpad.cc/2015/10/libraries-for-sketchpad/