p5js

Generate p5.js sketches as self-contained HTML files with export support.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill turns creative prompts into polished p5.js artwork without forcing you to assemble the rendering, interaction, and export workflow by hand. It helps you move from concept to a browser-ready sketch that feels intentional, reproducible, and presentation-ready.

Core Features & Use Cases

  • Generative art production: Create layered visual systems such as particle fields, noise-driven compositions, shaders, motion graphics, and kinetic typography.
  • Interactive sketches: Build mouse, keyboard, touch, and audio-reactive experiences that run directly in the browser.
  • Export pipeline: Produce self-contained HTML, PNG stills, GIF loops, MP4 videos, and SVG output with deterministic headless capture support.
  • Use case: A designer can describe a mood or visual theme, then receive a complete p5.js sketch that can be previewed, iterated, and exported for sharing or production.

Quick Start

Ask the assistant to create a p5.js sketch for your idea and export it as a single self-contained HTML file with the desired image or video format.

Frequently Asked Questions about p5js

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

FAQPage Schema
How do I export a p5.js sketch as a self-contained HTML file?

This Skill generates production-ready p5.js sketches as single self-contained HTML files, embedding all rendering, interaction, and layered canvas composition logic into one browser-ready file for immediate preview and iteration.

Can I export generative art from p5.js to GIF or MP4 video?

Yes, p5.js art can be exported to GIF or MP4 video. The pipeline supports PNG stills, GIF loops, MP4 videos, and SVG output using deterministic headless capture for reproducible, presentation-ready results.

Does p5.js support WebGL shaders and 3D scene generation?

Yes, p5.js supports WebGL shaders and 3D scenes. The Skill generates sketches covering 3D scenes, shader effects, particle fields, and noise-driven compositions within a single self-contained HTML file.

How do I create deterministic and reproducible p5.js animations?

You create deterministic p5.js animations by using seeded randomness within the sketch. The Skill requires seeded randomness and deterministic headless capture to ensure artwork is reproducible across preview and export.

Do I need Python or Puppeteer installed to export p5.js sketches?

Yes, you need Python3 and Puppeteer installed to export p5.js sketches. The export pipeline relies on these dependencies to perform deterministic headless capture for PNG, GIF, MP4, and SVG outputs.

What is the best way to build interactive audio-reactive visuals in p5.js?

The best way to build interactive audio-reactive visuals in p5.js is to generate a single self-contained HTML sketch that handles mouse, keyboard, touch, and audio inputs, which can then be exported using the deterministic capture pipeline.