agentleFS
jangles-bytejangles-byte/atelier/skills/generative-motion/SKILL.md

generative-motion

Skill2 starsChanged 4 months agoMITView on GitHub

Make beautiful algorithmic animation — flow fields, particle systems with trails, strange attractors, slime-mold and boid simulations, reaction-diffusion, domain-warped noise, and shader-driven motion. Use this skill for generative art, creative coding, ambient backdrops, music visualisers, hero backgrounds, screensavers, generative wallpaper, data-driven art, or any request for a "cool animation", "something generative", "abstract motion", "particle effect", "flow field", "noise animation", or work referencing p5.js, Three.js, canvas, WebGL, GLSL, Processing, openFrameworks, TouchDesigner, or shaders. Trigger whenever motion is the artwork rather than the interface.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Long-run test: Run it for a minute before shipping — trails saturate, particles clump in attractor basins, and energy either dies or …

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Generative Motion

The gap between a generative sketch and a generative artwork is almost never the algorithm — the algorithms are public and short. It is art direction: what the colour means, where the density sits, how slowly it evolves, and what you left out.

A tutorial renders the algorithm. A piece renders a decision.

Workflow

  1. Write the intent first, in two or three sentences: what the system is (embers on a thermal, ink in water, a colony finding food), what the viewer should feel, and the one property that earns colour. Skipping this is what produces rainbow noise. The design-direction skill's philosophy format applies directly.
  2. Pick the system from references/systems.md — each entry has the equations, the parameter ranges that actually look good, and its failure mode. Its numbers are machine-checked: validate/attractors.py and validate/gray_scott.py verify every attractor seed and reaction–diffusion pair on CPU in seconds. Run them after changing any value, and use them to find your own.
  3. Build the field and the motion with references/noise-and-fields.md — noise, fbm, domain warping, curl. Most beautiful motion is a field being sampled.
  4. Decide CPU or GPU early with references/gpu-and-shaders.md. This is architectural, not an optimisation — some systems simply do not express themselves below a population the CPU cannot reach, and porting later means rewriting.
  5. Render it well with references/rendering.md — trails via accumulation, additive blending, envelopes so nothing pops.
  6. Map the field to the screen with references/density-and-tone.md. Accumulation buffers are unbounded and displays are not; this mapping is where technically-correct pieces most often look wrong.
  7. Finish it with references/post-processing.md — bloom, grain, vignette, grading. The cheapest quality per line of code in the discipline.
  8. Art-direct it against references/art-direction.md — the checklist that separates a piece from a screensaver.
  9. Watch it. Record with ../motion/scripts/capture-motion.py and look at the result over a long run, not one frame. Generative work fails slowly: it looks great at 4 seconds and turns to grey mush at 60. When something is wrong, work references/diagnostic.md rather than tuning at random.

Which reference to load

SituationLoad
Choosing a system; attractors, boids, physarum, reaction-diffusion, differential growthreferences/systems.md
Noise, fbm, domain warping, curl fields, flow fieldsreferences/noise-and-fields.md
Trails, blending, buffers, performance at scalereferences/rendering.md
Going GPU: WebGL2 GPGPU, ping-pong, the float-extension minefield, shader systemsreferences/gpu-and-shaders.md
3D: raymarched SDFs, smooth blending, domain repetition, instancing, camerareferences/three-dimensional.md
Flat white, thin outlines, or any density-to-colour mappingreferences/density-and-tone.md
Bloom, grain, vignette, aberration, feedback, colour gradingreferences/post-processing.md
It runs but looks like a tutorialreferences/art-direction.md
It's black / saturating / dying / clumping / 4fps / grey mushreferences/diagnostic.md

Non-negotiables

  • Colour is earned. Map it to a property the system actually has — velocity, curvature, age, density, divergence — never to a rainbow of hue over time. If colour encodes nothing, the piece reads as a demo.
  • Seed the randomness. A composition you like must be recoverable; ship the seed.
  • Delta-time everything, clamped. A field that runs at double speed on a 120Hz display is a broken piece, not a fast one.
  • Evolve slower than feels right. Field evolution that reads as "alive" in the editor usually reads as "busy" on the wall. Halve it, then halve it again.
  • Density needs negative space. A frame at uniform particle density is noise. Vary it, or crop into it.
  • Verify parameters before quoting them. In attractors and reaction–diffusion alike, a value just outside the viable band produces nothing rather than something worse, so a plausible-looking number is not a usable one.
  • Long-run test. Run it for a minute before shipping — trails saturate, particles clump in attractor basins, and energy either dies or explodes.

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.