agentleFS
LucfaceLucface/claude-skills/skills/algorithmic-art/SKILL.md

algorithmic-art

Skill1 starsChanged 5 months agoMITView on GitHub

Creates generative and computational art using p5.js with seeded randomness, particle systems, and interactive exploration. Covers creative coding and procedural aesthetics.

113 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use web-artifacts-builder, fal-generate and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    web-artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 64 projects that use this

  • xfstudioSkill

    fal-generate

    Generate images and videos using fal.ai AI models

    Also in 3 projects that use this

  • AnthropicSkill

    academy-guide

    Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

    Also in 3 projects that use this

  • JetBrainsSkill

    brand-guidelines

    Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

    Also in 87 projects that use this

  • JetBrainsSkill

    theme-factory

    Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

    Also in 77 projects that use this

  • xfstudioSkill

    multi-agent-brainstorming

    Use this skill when a design or idea requires higher confidence, risk reduction, or formal review. This skill orchestrates a structured, sequential multi-agent design review where each agent has a strict, non-overlapping role. It prevents blind spots, false confidence, and premature convergence.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 108 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create computational art using p5.js with seeded randomness and interactive exploration.

    line 7
  2. Distinctive:

    Create a manifesto describing the computational aesthetic (4-6 paragraphs):

    line 12

“Common” is measured: kept by at least 6 in 10 of the 108 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Algorithmic Art Creation

Create computational art using p5.js with seeded randomness and interactive exploration.

Core Process

Phase 1: Algorithmic Philosophy

Create a manifesto describing the computational aesthetic (4-6 paragraphs):

  • Emphasize emergent behavior
  • Focus on mathematical beauty
  • Express craftsmanship philosophy

Phase 2: P5.js Implementation

Express the philosophy through a single self-contained HTML artifact.

Key Principles

On Craftsmanship: The algorithm must feel meticulously crafted, refined through countless iterations by someone at the absolute top of their field.

On Generative Art: Focus on process over product. Each seed run produces unique outputs. Beauty emerges from algorithmic execution, not static composition.

Technical Requirements

Seeded Randomness (Art Blocks Pattern)

let seed;

function setup() {
  createCanvas(800, 800);
  seed = parseInt(getURLParams().seed) || floor(random(999999));
  randomSeed(seed);
  noiseSeed(seed);
}

Self-Contained HTML Structure

<!DOCTYPE html>
<html>
<head>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.9.0/p5.min.js"></script>
  <style>
    body { margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #111; }
    canvas { display: block; }
    .controls { position: fixed; bottom: 20px; left: 20px; color: white; font-family: monospace; }
  </style>
</head>
<body>
  <div class="controls">
    <button onclick="prevSeed()">Prev</button>
    <span id="seedDisplay">Seed: 0</span>
    <button onclick="nextSeed()">Next</button>
    <button onclick="randomSeed()">Random</button>
  </div>
  <script>
    // Your generative algorithm here
  </script>
</body>
</html>

Common Generative Techniques

Particle Systems:

class Particle {
  constructor(x, y) {
    this.pos = createVector(x, y);
    this.vel = p5.Vector.random2D().mult(random(1, 3));
    this.life = 255;
  }

  update() {
    this.pos.add(this.vel);
    this.life -= 2;
  }

  draw() {
    noStroke();
    fill(255, this.life);
    circle(this.pos.x, this.pos.y, 4);
  }
}

Flow Fields:

function flowField(x, y, scale) {
  let angle = noise(x * scale, y * scale) * TWO_PI * 2;
  return p5.Vector.fromAngle(angle);
}

Recursive Subdivision:

function subdivide(x, y, w, h, depth) {
  if (depth === 0 || random() < 0.2) {
    rect(x, y, w, h);
    return;
  }

  if (random() < 0.5) {
    let split = random(0.3, 0.7) * w;
    subdivide(x, y, split, h, depth - 1);
    subdivide(x + split, y, w - split, h, depth - 1);
  } else {
    let split = random(0.3, 0.7) * h;
    subdivide(x, y, w, split, depth - 1);
    subdivide(x, y + split, w, h - split, depth - 1);
  }
}

Color Palettes

const palettes = {
  midnight: ['#0d1b2a', '#1b263b', '#415a77', '#778da9', '#e0e1dd'],
  sunset: ['#ff6b6b', '#feca57', '#48dbfb', '#ff9ff3', '#54a0ff'],
  forest: ['#2d3436', '#636e72', '#b2bec3', '#dfe6e9', '#00b894'],
  ocean: ['#0a3d62', '#1e5f74', '#289672', '#38ada9', '#82ccdd'],
};

Output

Every artwork produces:

  1. Markdown explaining the generative aesthetic philosophy
  2. Single HTML artifact containing algorithm, UI, and all functionality

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.