algorithmic-art Skill: Generative Art with p5.js
Anthropic's algorithmic-art skill has Claude create generative p5.js art with seeded randomness, flow fields and particles, plus an interactive viewer. Usage.
By Claudekit Team Published 1 min read
- Category
- Design
- Source
- github.com
- Repository
- github.com
- GitHub stars
- 183,346
- License
- Apache-2.0
Install
/plugin install example-skills@anthropic-agent-skillsalgorithmic-art is an Anthropic example skill for generative art in code. Like its sibling canvas-design, it works in two stages: Claude first writes an algorithmic philosophy, a named computational aesthetic, and then expresses it as a p5.js sketch with seeded randomness and interactive parameters.
What it does
- Algorithmic philosophy (.md): a one- or two-word movement name, such as “Organic Turbulence” or “Quantum Harmonics”, plus four to six paragraphs on computational processes, noise, particle behavior, temporal evolution and parametric variation.
- Code expression (.html + .js): a p5.js implementation that is “90% algorithmic generation, 10% essential parameters”, with templates for an interactive viewer so you can explore variations.
Typical techniques include flow fields driven by layered Perlin noise, particle systems with accumulating trails, and interference patterns. The skill asks for original work and stresses craftsmanship throughout.
Install
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skills
Paid Claude.ai plans already include Anthropic’s example skills.
Example prompts
Create a flow-field piece inspired by river deltas, with a seed slider
Make generative art from particles that cluster like starlings
Build an animated background for my portfolio using noise fields
Tips and limits
- Open the HTML file in a browser to explore; adjust seeds and parameters there.
- Heavy particle counts can be slow on laptops; ask Claude to expose a density control.
- Great for portfolio backgrounds, posters and talks, less so for data visualization.
- Use webapp-testing if you embed a sketch in a larger app.
Related: theme-factory, best Claude Code skills.
Frequently asked questions
What files does algorithmic-art produce?
A Markdown algorithmic philosophy, an HTML interactive viewer and JavaScript files containing the generative algorithm.
Why seeded randomness?
Seeds make outputs reproducible, so you can revisit a variation you like or share the exact parameters with someone else.
Can I use the output commercially?
The skill is Apache-2.0 and the code Claude writes is yours to use, but check p5.js licensing and any assets you add.