p5js

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the friction of building polished p5.js artwork from scratch by guiding the full workflow from concept to code, preview, export, and refinement.

Core Features & Use Cases

  • Generative and interactive art: Create browser-based sketches, particle systems, shaders, motion graphics, and 3D scenes from text prompts or creative briefs.
  • Production export pipeline: Produce self-contained HTML, PNG, GIF, MP4, and SVG outputs with deterministic capture support for reproducible results.
  • Use case: A designer can ask for a seedable interactive visualization or a cinematic looping sketch and get a ready-to-open p5.js file with export shortcuts and iteration-friendly structure.

Quick Start

Ask the skill to create a p5.js sketch for your concept, and specify whether you want an interactive browser piece, a static generative image, or an export-ready animation.

Frequently Asked Questions about p5js

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

FAQPage Schema
How do I generate p5.js sketches from text prompts for generative art?

To create generative art from text prompts, request a p5.js sketch for your concept and specify whether you need an interactive browser visualization, a static image, or an export-ready animation.

Can I export p5.js animations to MP4, GIF, or PNG?

Yes, p5.js animations can be exported to MP4, GIF, PNG, SVG, and self-contained HTML files using a deterministic capture pipeline that ensures reproducible visual output.

Does p5.js support WebGL shaders and 3D visualizations?

Yes, p5.js supports WebGL shaders and 3D visualizations, enabling the creation of browser-based interactive 3D scenes, layered compositions, and advanced shader effects from creative briefs.

How do I ensure reproducible results in generative art with seeded randomness?

You ensure reproducible results in generative art by using seeded randomness within the p5.js sketch, which guarantees deterministic rendering and identical visual output across multiple runs.

Do I need Puppeteer for headless capture of p5.js sketches?

Yes, Puppeteer is required for headless capture support of p5.js sketches, enabling automated, reproducible extraction of visual output into static images or video formats without a browser window.

What is the best way to structure p5.js code for interactive motion graphics?

The best way to structure p5.js code for interactive motion graphics is using an iteration-friendly structure with reference-driven implementation guidance, enabling easy refinement of particle systems and cinematic loops.