p5js

Create self-contained p5.js generative art projects in a single HTML file.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Traditional p5.js projects often require manual setup, multiple tools, and scattered assets to achieve polished visuals. This Skill provides a self-contained production pipeline that delivers browser-based generative art as a single HTML file with a repeatable workflow.

Core Features & Use Cases

  • Production pipeline for interactive and generative art using p5.js, enabling 2D/3D visuals, shaders, data visualizations, and audio-reactive work in a single HTML file.
  • Built-in workflow stages (CONCEPT → DESIGN → CODE → PREVIEW → EXPORT → VERIFY) and a viewer template for seed exploration, parameter tweaking, and instant exports.
  • Comprehensive references covering core API, shapes, color systems, animation, and performance best practices; headless export via Puppeteer for high-res frames and MP4 export.

Quick Start

Open the starter viewer HTML (templates/viewer.html) or a bare HTML file that loads p5.js and begin exploring seeds, adjust sliders, and export outputs.

Frequently Asked Questions about p5js

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

FAQPage Schema
How do I create self-contained p5.js generative art without a build step?

You can create self-contained p5.js generative art without a build step by using a production pipeline that outputs a single HTML file. This enables rapid concept-to-export workflows for interactive visuals and 3D scenes directly in the browser.

What is the best way to export high-resolution frames from a browser-based p5.js sketch?

The best way to export high-resolution frames from browser-based p5.js sketches is using headless export via Puppeteer. This allows you to capture high-res frames and MP4 outputs from your interactive visuals automatically.

Does this p5.js workflow support deterministic sketch design with seeded randomness?

Yes, this p5.js workflow supports deterministic sketch design with seeded randomness. You can explore seeds, adjust parameters via sliders, and use offscreen buffers to ensure your generative art outputs are reproducible.

Can I use WebGL shaders and 3D scenes in a single HTML file using p5.js?

Yes, you can use WebGL shaders and 3D scenes in a single HTML file using p5.js. The pipeline supports 2D/3D visuals, shader experiments, and audio-reactive work without requiring multiple tools or scattered assets.

Do I need Puppeteer to run interactive visualizations in p5.js?

You do not need Puppeteer to run interactive visualizations in p5.js; it is only required for headless export of high-res frames and MP4 files. You can open the starter viewer HTML directly in a browser to explore seeds and tweak parameters.

Why does my p5.js generative art pipeline need multiple tools and scattered assets?

Traditional p5.js projects often need multiple tools and scattered assets to achieve polished visuals. Using a self-contained production pipeline solves this by delivering browser-based generative art as a single HTML file with a repeatable workflow.