Chapter 13. Extend

This book focuses on using p5.js for interactive graphics, because that’s the core of what p5.js does. However, the software can do much more, and is being extended further all the time.

A p5.js library is a   collection of code that extends the software beyond its core functions. Libraries have been important to the growth of the project, because they let developers add new features quickly. As smaller, self-contained projects, libraries are easier to manage than if these features were integrated into the main software.

The p5.js complete .zip file includes the p5.dom and p5.sound libraries. You can also download other libraries from http://p5js.org/libraries/. To use one of these libraries, first make sure it is inside the ...

Get Getting Started with p5.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.