Referencia registerAddon()

registerAddon()

Loads a p5.js library.

A library is a function that adds functionality to p5.js by adding methods and properties for sketches to use, or for automatically running code at different stages of the p5.js lifecycle. Take a look at the contributor docs for creating libraries to learn more about creating libraries.

Ejemplos

Sintaxis

registerAddon(library)

Parámetros

library
Function: The library function to register

Referencias Relacionadas