p5js

Generate browser-based p5.js sketches from natural language prompts.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/matthew-johnson/hermes-agent --skill p5js-matthew-johnson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p5js
Source: https://github.com/matthew-johnson/hermes-agent/tree/main/skills/creative/p5js
Command: npx skills add https://github.com/matthew-johnson/hermes-agent --skill p5js-matthew-johnson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires puppeteer, and includes scripts (resource) and references (resource) components.

What problem does it solve?

p5.js Production Pipeline provides a ready-to-use framework for building browser-based generative art sketches from prompts, merging concept, code, and export steps into a cohesive workflow so creators can focus on visual ideas rather than boilerplate.

Core Features & Use Cases

  • Single-file HTML output: delivers a self-contained sketch runnable in any modern browser.
  • Modes & toolchain coverage: supports generative art, data visualization, 3D, shaders, and interactive experiences with a clear pipeline.
  • Headless/export ready: supports high-res exports, PNG/GIF/MP4, and optional headless rendering via Puppeteer for automation.
  • Educational and design storyteller: ideal for learning generative techniques, rapid prototyping, and portfolio generation.

Quick Start

Open the generated, self-contained HTML sketch in a browser and begin creating interactive p5.js visuals from a prompt.

Frequently Asked Questions about p5js

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn natural language prompts into browser-based generative art?

To turn prompts into browser-based generative art, this pipeline executes a seed-driven deterministic workflow that outputs a self-contained HTML file with inline p5.js, runnable directly in any modern web browser.

Can I export p5.js sketches to PNG, GIF, or MP4 using Puppeteer?

Yes, you can export p5.js sketches to PNG, GIF, or MP4. The pipeline supports optional headless rendering via Puppeteer to automate high-resolution image and video exports from your generated interactive visualizations.

Does this p5.js workflow support 3D graphics and WebGL shaders?

Yes, this p5.js workflow supports 3D graphics and WebGL shaders. It provides specific modes and toolchain coverage for generating interactive 3D sketches, custom shaders, and data visualizations from your natural language prompts.

What is the best way to generate self-contained HTML for creative coding without boilerplate?

The best way to generate self-contained HTML for creative coding is using a pipeline that delivers minimal inline p5.js output. This approach merges concept, code, and export steps so you can focus on visual ideas rather than boilerplate.

Do I need Puppeteer installed to run the p5.js sketch generation workflow?

You do not need Puppeteer installed to run the p5.js sketch generation workflow. Puppeteer is an optional dependency used specifically for enabling headless rendering and automated high-resolution exports like PNG, GIF, and MP4.

How does a seed-driven deterministic pipeline work for p5.js visual generation?

A seed-driven deterministic pipeline works by using a specific seed value to ensure that the same natural language prompt consistently generates the exact same p5.js sketch output, allowing for reproducible generative art and visual exploration.