Pular para o conteúdo
Skillpedia
Imagens e ícones260 mil · #598

p5js

O que ela faz

Esta skill orienta sua IA em projetos de programação criativa com o p5.js. Ela é para artistas, designers e desenvolvedores que querem visuais interativos ou generativos para a web.

Quando usar

  • ✓Quando você quer um esboço de arte generativa ou um visual interativo que rode no navegador.
  • ✓Quando você quer uma visualização de dados ou uma animação com partículas, campos de fluxo ou ruído.
  • ✓Quando você quer exportar um esboço como HTML, PNG, GIF, MP4 ou SVG.

Link da skill

https://github.com/NousResearch/hermes-agent/blob/main/skills/creative/p5js/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/NousResearch/hermes-agent/blob/main/skills/creative/p5js/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

📦 Esta skill está nestes packs

Exemplo do que pedir para a IA

“Crie uma obra de arte generativa no p5.js com partículas fluindo que reajam ao meu mouse e exporte um PNG.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill faz sua IA planejar um conceito criativo e depois escrever o código p5.js do esboço. Ela pode acrescentar shaders, reações ao áudio ou cenas 3D, e exportar o resultado em vários formatos.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

p5.js Production Pipeline

When to use

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

What's inside

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems, flow fields, shaders (GLSL), pixel manipulation, kinetic typography, WebGL scenes, audio analysis, mouse/keyboard interaction, and headless high-res export.

Creative Standard

This is visual art rendered in the browser. The canvas is the medium; the algorithm is the brush.

Before writing a single line of code, articulate the creative concept. What does this piece communicate? What makes the viewer stop scrolling? What separates this from a code tutorial example? The user's prompt is a starting point — interpret it with creative ambition.

First-render excellence is non-negotiable. The output must be visually striking on first load. If it looks like a p5.js tutorial exercise, a default configuration, or "AI-generated creative coding," it is wrong. Rethink before shipping.

Go beyond the reference vocabulary. The noise functions, particle systems, color palettes, and shader effects in the references are a starting vocabulary. For every project, combine, layer, and invent. The catalog is a palette of paints — you write the painting.

Be proactively creative. If the user asks for "a particle system," deliver a particle system with emergent flocking behavior, trailing ghost echoes, palette-shifted depth fog, and a background noise field that breathes. Include at least one visual detail the user didn't ask for but will appreciate.

Dense, layered, considered. Every frame should reward viewing. Never flat white backgrounds. Always compositional hierarchy. Always intentional color. Always micro-detail that only appears on close inspection.

Cohesive aesthetic over feature count. All elements must serve a unified visual language — shared color temperature, consistent stroke weight vocabulary, harmonious motion speeds. A sketch with ten unrelated effects is worse than one with three that belong together.

Modes

Mode Input Output Reference
Generative art Seed / parameters Procedural visual composition (still or animated) references/visual-effects.md
Data visualization Dataset / API Interactive charts, graphs, custom data displays references/interaction.md
Interactive experience None (user drives) Mouse/keyboard/touch-driven sketch references/interaction.md
Animation / motion graphics Timeline / storyboard Timed sequences, kinetic typography, transitions references/animation.md
3D scene Concept description WebGL geometry, lighting, camera, materials references/webgl-and-3d.md
Image processing Image file(s) Pixel manipulation, filters, mosaic, pointillism references/visual-effects.md § Pixel Manipulation
Audio-reactive Audio file / mic Sound-driven generative visuals references/interaction.md § Audio Input

Stack

Single self-contained HTML file per project. No build step required.

Layer Tool Purpose
Core p5.js 1.11.3 (CDN) Canvas rendering, math, transforms, event handling
3D p5.js WebGL mode 3D geometry, camera, lighting, GLSL shaders
Audio p5.sound.js (CDN) FFT analysis, amplitude, mic input, oscillators
Export Built-in saveCanvas() / saveGif() / saveFrames() PNG, GIF, frame sequence output
Capture CCapture.js (optional) Deterministic framerate video capture (WebM, GIF)
Headless Puppeteer + Node.js (optional) Automated high-res rendering, MP4 via ffmpeg
SVG p5.js-svg 1.6.0 (optional) Vector output for print — requires p5.js 1.x
Natural media p5.brush (optional) Watercolor, charcoal, pen — requires p5.js 2.x + WEBGL
Texture p5.grain (optional) Film grain, texture overlays
Fonts Google Fonts / loadFont() Custom typography via OTF/TTF/WOFF2

Version Note

p5.js 1.x (1.11.3) is the default — stable, well-documented, broadest library compatibi

Perguntas frequentes

Preciso saber JavaScript?

Um conhecimento básico ajuda, mas a skill orienta a IA a escrever e explicar o código.

Ela consegue fazer cenas 3D?

Sim. A skill cobre cenas WebGL e renderização 3D com o p5.js.

Quais formatos de saída estão disponíveis?

A skill lista HTML, PNG, GIF, MP4 e SVG.

Detalhes

Descrição original do autor

p5.js sketches: gen art, shaders, interactive, 3D.

repo: NousResearch/hermes-agent

Popularidade

Estrelas no GitHub
260 mil
Posição no ranking
#598
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas