p5.brush

Added November 2026

p5.brush is an open-source JavaScript library by Alejandro Campos that adds natural, textured drawing tools to p5.js for generative art. It provides brushes that imitate pencils, charcoal and markers, watercolour-style fills, hatch patterns and vector fields that bend strokes organically, and it is tuned for high-resolution output suitable for printing. It works with p5.js 2.x on a WEBGL canvas, and a standalone build runs without p5.js. The repository links a project website, a teaser sketch on the p5.js Web Editor and two browser helpers, a Brush Maker and a Flow Field Generator, and the library is released under the MIT licence.

Get the new ones by email

A short email when something is added to the directory.