p5js

Launches piz.js pipelines to create generative art in HTML with seed-based reproducibility and Puppeteer export.

2.8k|332|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/moltis-org/moltis --skill p5js-moltis-org
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p5js
Source: https://github.com/moltis-org/moltis/tree/main/crates/skills/src/assets/creative/p5js
Command: npx skills add https://github.com/moltis-org/moltis --skill p5js-moltis-org

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a ready-to-run, self-contained p5.js pipeline that lets artists and developers build browser-based generative sketches without boilerplate.

Core Features & Use Cases

  • Self-contained HTML pipeline: single-file sketches that run directly in the browser.
  • Modes & Outputs: supports generative art, data visualization, interactive experiences, 3D scenes, and audio-reactive visuals; export HTML, PNG, GIF, MP4, or SVG.
  • Use Case: a designer wants a shareable, reproducible browser sketch that can be loaded from a URL with no build steps.

Quick Start

Open the provided HTML and begin tweaking parameters to bootstrap a browser-based generative sketch.

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 HTML for generative art without a build step?

To create self-contained HTML for generative art, you can use a browser-based p5.js pipeline that outputs single-file sketches running directly in the browser with no build steps required. This approach bundles optional scripts, references, and assets into one shareable HTML file.

Can I export p5.js sketches to PNG or SVG using headless browser tooling?

Yes, you can export p5.js sketches to PNG or SVG using headless browser tooling. The pipeline utilizes Puppeteer-based tooling to capture and export your interactive sketches, data visualizations, or shader experiments into HTML, PNG, GIF, MP4, or SVG formats.

Does this p5.js pipeline support seed-based reproducibility for generative sketches?

Yes, this p5.js pipeline supports seed-based reproducibility for generative sketches. It satisfies a self-contained HTML artifact with seed-based reproducibility, ensuring your generative art and data visualizations produce identical results across different loads and environments.

What is the best way to start building interactive 3D scenes and audio-reactive visuals in p5.js?

The best way to start building interactive 3D scenes and audio-reactive visuals in p5.js is to open the provided HTML and begin tweaking parameters to bootstrap a browser-based generative sketch. This provides a ready-to-run pipeline without boilerplate.

Do I need Puppeteer to run browser-based p5.js pipelines for visualization?

You need Puppeteer specifically for headless export of your browser-based p5.js pipelines. While the interactive sketches and data visualizations run directly in standard HTML, Puppeteer-based tooling handles the automated export to image or video formats.

What are the limitations of using single-file HTML for complex shader experiments?

The main limitation of using single-file HTML for complex shader experiments is managing large external assets within one file. While it simplifies sharing and loading from a URL, heavy scripts or large assets bundled into a single self-contained HTML artifact may impact load performance.