Content & Writing  ·  Official

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields,…

  • philosophy → expression
human agent ↗

Composite

3.8

C 4.5 · A 3.4

How we got there

Craft · D1–D5

D1 · Trigger clarity 4.5
D2 · Output specificity 5.0
D3 · Scope precision 4.0
D4 · Self-containment 5.0
D5 · Reusability 3.5

Adoption · A1–A5

A1 · Maintenance 2.5
A2 · Documentation 4.3
A3 · License 2.5
A4 · Adoption 5.0
A5 · Authorship 2.0

Spec

When this fires, what it takes, how it installs

Fires when

  • user asks for generative art, algorithmic art, flow fields, or particle systems built in code
  • user wants a single self-contained interactive p5.js HTML artifact (claude.ai-compatible)
  • user wants seeded, reproducible generative art (Art Blocks pattern) with seed navigation
  • user wants a written manifesto / philosophy alongside the visual output

Skip when

  • user wants the assistant to "make this exact picture" — the skill explicitly resists style-copying and steers toward original algorithmic expression
  • user needs a 3D / WebGL / shader pipeline — this is 2D p5.js only
  • user wants the art on a non-HTML surface (SVG export, vector PDF, native canvas in a Figma plugin, etc.)
  • user wants a fill-in-the-blanks generator with no creative authoring — this is "write the algorithm" not "click a preset"
  • user wants animation that loops forever — the skill assumes a single rendered composition with optional seed navigation

Takes

  • prompt:free text a brief, evocative request — the skill explicitly leaves "creative space" for interpretation rather than expecting a tight spec

Returns

  • file:markdown 4-6 paragraph algorithmic philosophy (.md); structured per SKILL.md's manifesto template
  • file:html self-contained p5.js viewer (~20KB), seed controls + parameter sliders + Download PNG; renders to 1200×1200 canvas in ~3.7s headless

Install

Zero install footprint. The skill is pure SKILL.md + a viewer.html template + a generator_template.js reference. Output runs in any browser via the p5.js CDN; no toolchain required for the user. (Our review used Node + Puppeteer + system Chrome to capture the canvas as PNG headlessly — that's our test rig, not a skill dependency.)

Caveats

  • Craftsmanship is load-bearing on the human (or Claude) writing the algorithm. The SKILL.md repeats "meticulously crafted" / "master-level implementation" many times, but the sliders themselves do not enforce taste — at extreme parameter combinations the output degrades to visual noise (see edge-extreme.png). The skill's output is only as refined as the algorithm someone hand-writes for it.
  • No bundled example artifact. First-time users must read templates/viewer.html in full and infer "the flow-field example in setup() is to be deleted and replaced". The template's `draw()` body is literally `// fill this in` — a fresh artifact will render nothing until the algorithm is authored.
  • Seed-validation hygiene in templates/viewer.html: `if (newSeed && newSeed > 0)` silently rejects 0 without restoring the previous valid seed in the input box. Minor, but inherited by every artifact the skill produces.
  • The viewer template ships an example particle-trail algorithm inside the comment-fenced "VARIABLE" sections. Easy to copy by accident when SKILL.md explicitly says "don't copy the flow field example — build what the philosophy demands". The temptation to keep the example skeleton is real.
  • Output is HTML-only. No SVG, no vector, no print-grade export. The Download PNG button is the only way out, and it captures the canvas at native 1200×1200 resolution (no high-DPI option).
  • Skill explicitly steers away from "this style by this artist" prompts (copyright defensiveness). Users wanting a specific artist's aesthetic will get an algorithmic reinterpretation, not a copy.
02 — Cross-validation

3 sources verified

Install

Use this skill

/plugin install algorithmic-art
Use cases

Tasks this skill helps with


Auto-indexed. Editorial review pending — score is based on the rubric only.