p5js

Generate p5.js generative art sketches with headless export to HTML, PNG, GIF, MP4, or SVG.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Art creators often face friction setting up a robust, repeatable workflow for browser-based generative art; this Skill provides a production pipeline that handles concept, code, preview, and export in one place.

Core Features & Use Cases

  • End-to-end pipeline for p5.js projects including generative art, data visualizations, interactive experiences, and shader-based visuals.
  • Output formats: HTML, PNG, GIF, MP4, and SVG with headless export capabilities for batch rendering.
  • Deterministic rendering and export using a viewer template, with noLoop/redraw or headless Puppeteer capture for repeatable results.

Quick Start

Open the viewer template, replace the example algorithm with your own p5.js sketch, and regenerate to preview results.

Frequently Asked Questions about p5js

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

FAQPage Schema
How do I export p5.js generative art sketches to PNG or SVG?

This pipeline exports p5.js generative art sketches to PNG, GIF, MP4, or SVG using deterministic headless rendering via Puppeteer, capturing self-contained HTML outputs for batch file generation.

What's the best way to automate batch rendering for p5.js visual art?

The best way to automate batch rendering for p5.js visual art is using a headless Puppeteer capture pipeline that enforces deterministic rendering with noLoop and redraw for repeatable results.

Can I generate interactive WebGL scenes from text prompts?

Yes, you can generate interactive WebGL scenes from text prompts by applying this production pipeline, which handles concept, code, preview, and export for shader effects and WebGL projects.

Does this p5.js workflow support GIF and MP4 video export?

Yes, this p5.js workflow supports GIF and MP4 video export alongside HTML, PNG, and SVG formats, using headless Puppeteer capture capabilities to render and save animation outputs.

How do I ensure deterministic rendering results in browser-based generative art?

You ensure deterministic rendering in browser-based generative art by applying a viewer template that enforces noLoop and redraw functions, preventing random seed variations during headless export.