The first step to figuring out how to use a library is to consult its documentation. How to contribute? Hartmut Bohnacker, Draw 2D primitives in a sketchy look. is on Created by: Foundation and Learn more about sketching with p5.js on the Get Started page and everything you can do in the Reference. Created by: Created by: - Sam Lavigne, Tega Brain, RiTa.js provides a set of natural language processing objects for generative literature. A p5.js library can be any JavaScript code that extends or adds to the p5.js core functionality. Daniel C. Howe, Make knobs you can rotate with custom graphics and return value ranges. Useful when building geolocation-based visual representations. Get a simple example working, and then work your way forward from there. Here’s an example that uses Moment.js to format the current time in both English and Spanish: See the Pen by Happy Coding (@KevinWorkman) on CodePen. Felix Meichelböck, p5.func is a p5 extension that provides new objects and utilities for function generation in the time, frequency, and spatial domains. There are two categories of libraries. Twitter, and

In real life you’d spend some time reading that stuff, but for now let’s just put together a basic example: This code uses the p5.speech library to have the computer say “Happy coding!” whenever the user clicks the mouse. In other words, this line loads the Moment.js library. This code creates a P5.js sketch that uses Moment.js to format the time in six different languages. JT Nimoy, p5.collide2D provides tools for calculating collision detection for 2D geometry with p5.js. Cristóbal Valenzuela, ml5.js builds on Tensorflow.js and provides friendly access to machine learning algorithms and models in the browser. handy, p5.serial enables serial communication between devices that support serial (RS-232) and p5 sketches running in the browser. p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing. Created by: Pawel Janicki, p5.voronoi provides a set of tools to draw and utilize voronoi diagrams in your p5.js sketches. Yining Shi, Jingwen Zhu, Tom Igoe, a library for making DOM manipulation simple Created by: Created by: Created by: NYU ITP. Major contributions by Thomas Diewald. You start by consulting documentation to read about how it works, then you add a