Skip to main content

p5.js

Tools, libraries, and utilities for the p5.js creative coding framework

Command Line Tools

p5 Server

Language: JavaScript
Updated: Nov 2025

Command-line tool that runs p5.js sketches with live reload and automatic library inclusion.

npm install -g p5-server
# more...

Libraries

p5.layers

Language: JavaScript
Updated: Oct 2022

Simplifies using createGraphics and p5.Renderer objects to draw layers.

// Include the library in your HTML
<script src="https://cdn.jsdelivr.net/gh/osteele/p5.libs/p5.layers/dist/p5.layers.min.js"></script>
# more...

p5.rotate-about

Language: JavaScript
Updated: Oct 2022

Adds rotateAbout() and scaleAbout() functions for rotating and scaling around a point.

// Include the library in your HTML
<script src="https://cdn.jsdelivr.net/gh/osteele/p5.libs/p5.rotate-about/dist/p5.rotate-about.min.js"></script>
# more...

p5.vector-arguments

Language: JavaScript
Updated: Oct 2022

Extends p5.js shape functions to accept p5.Vector arguments.

// Include the library in your HTML
<script src="https://cdn.jsdelivr.net/gh/osteele/p5.libs/p5.vector-arguments/dist/p5.vector-arguments.min.js"></script>
# more...

p5.pose Playback

Language: JavaScript
Updated: Dec 2020

Record and play back pose data in p5.js.

Other Projects

p5 Server VS Code Extension

Language: JavaScript
Updated: Aug 2026

VS Code extension that launches a p5.js-aware live server.

About p5.js

p5.js is a JavaScript library that makes coding accessible for artists, designers, educators, and beginners. It's a reinterpretation of Processing for the web, focused on creative coding and visual arts.

Documentation and examples are available on the p5.js website .