p5js

Export p5.js sketches as HTML, PNG, GIF, MP4, or SVG via Puppeteer.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill provides a production-grade workflow to build, preview, and export p5.js sketches as self-contained browser-ready artifacts, eliminating manual setup and repetitive integration steps.

Core Features & Use Cases

  • Modes cover generative art, data visualization, interactive experiences, 3D scenes, image processing, and audio-reactive visuals, all exported as HTML, PNG, GIF, MP4, or SVG.
  • A clear six-stage pipeline (Concept → Design → Code → Preview → Export → Verify) ensures design intent is preserved from prompt to delivery, with reproducible seeds and deterministic exports.
  • A ready-to-use scaffolding that includes a standalone HTML export, an optional viewer for explorable art, and headless export support via Puppeteer for automated frame capture.

Quick Start

Open the starter viewer or a bare HTML sketch, configure parameters, run a local server, and begin exporting outputs.

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 sketches as standalone HTML files?

You can export p5.js sketches as standalone HTML files using this workflow's scaffolding and headless Puppeteer export. It compiles interactive generative art into self-contained, browser-ready artifacts without manual integration.

Can I capture generative art frames as PNG, GIF, or MP4?

Yes, you can capture generative art frames as PNG, GIF, MP4, or SVG outputs. The skill uses Puppeteer for deterministic headless export and automated frame capture, ensuring reproducible seeds preserve design intent from prompt to delivery.

What is the best way to create deterministic and reproducible p5.js exports?

The best way to create deterministic p5.js exports is through the six-stage pipeline of Concept, Design, Code, Preview, Export, and Verify. This workflow uses reproducible seeds and Puppeteer headless capture to ensure consistent visual outputs.

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

Yes, this p5.js workflow supports WebGL shaders and 3D scenes. It specifically targets interactive generative art, 3D scenes, and shader experiments, providing a production-grade pipeline to build, preview, and export them for web deployment.

Do I need Puppeteer to export audio-reactive visuals?

Yes, Puppeteer is required for the automated headless export of audio-reactive visuals. It enables deterministic frame capture for MP4 or GIF outputs, ensuring the audio-reactive visuals are exported as self-contained artifacts reproducibly.

Why use a defined pipeline for p5.js data visualization instead of ad-hoc coding?

A defined pipeline for p5.js data visualization eliminates repetitive integration steps and manual setup. It ensures design intent is preserved from prompt to delivery through a six-stage workflow, yielding production-ready artifacts instead of ad-hoc code.