algorithmic-art
它能做什么
这个工具基于一套计算艺术理念,用代码创作艺术作品。它会同时生成这套理念的描述,以及用于创作艺术的 p5.js 代码。
适用场景
- ✓当你想基于数学规则创作原创艺术时。
- ✓当你想探索自组织系统之美时。
- ✓当你想把抽象想法转化为计算机生成的视觉艺术时。
技能链接
https://github.com/anthropics/skills/blob/main/skills/algorithmic-art/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
📦 包含此技能的技能包
可以这样问 AI
“创建一个名为“可控的混沌”的算法艺术理念,然后生成 p5.js 代码将它可视化。”
每周 5 个新技能,1 分钟读完。
工作原理
首先,它会定义一套艺术理念(一份关于艺术如何通过计算过程诞生的宣言)。然后,它依据这套理念编写代码,生成视觉艺术,重点在于过程之美和原创性。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Algorithmic philosophies are computational aesthetic movements that are then expressed through code. Output .md files (philosophy), .html files (interactive viewer), and .js files (generative algorithms).
This happens in two steps:
- Algorithmic Philosophy Creation (.md file)
- Express by creating p5.js generative art (.html + .js files)
First, undertake this task:
ALGORITHMIC PHILOSOPHY CREATION
To begin, create an ALGORITHMIC PHILOSOPHY (not static images or templates) that will be interpreted through:
- Computational processes, emergent behavior, mathematical beauty
- Seeded randomness, noise fields, organic systems
- Particles, flows, fields, forces
- Parametric variation and controlled chaos
THE CRITICAL UNDERSTANDING
- What is received: Some subtle input or instructions by the user to take into account, but use as a foundation; it should not constrain creative freedom.
- What is created: An algorithmic philosophy/generative aesthetic movement.
- What happens next: The same version receives the philosophy and EXPRESSES IT IN CODE - creating p5.js sketches that are 90% algorithmic generation, 10% essential parameters.
Consider this approach:
- Write a manifesto for a generative art movement
- The next phase involves writing the algorithm that brings it to life
The philosophy must emphasize: Algorithmic expression. Emergent behavior. Computational beauty. Seeded variation.
HOW TO GENERATE AN ALGORITHMIC PHILOSOPHY
Name the movement (1-2 words): "Organic Turbulence" / "Quantum Harmonics" / "Emergent Stillness"
Articulate the philosophy (4-6 paragraphs - concise but complete):
To capture the ALGORITHMIC essence, express how this philosophy manifests through:
- Computational processes and mathematical relationships?
- Noise functions and randomness patterns?
- Particle behaviors and field dynamics?
- Temporal evolution and system states?
- Parametric variation and emergent complexity?
CRITICAL GUIDELINES:
- Avoid redundancy: Each algorithmic aspect should be mentioned once. Avoid repeating concepts about noise theory, particle dynamics, or mathematical principles unless adding new depth.
- Emphasize craftsmanship REPEATEDLY: The philosophy MUST stress multiple times that the final algorithm should appear as though it took countless hours to develop, was refined with care, and comes from someone at the absolute top of their field. This framing is essential - repeat phrases like "meticulously crafted algorithm," "the product of deep computational expertise," "painstaking optimization," "master-level implementation."
- Leave creative space: Be specific about the algorithmic direction, but concise enough that the next Claude has room to make interpretive implementation choices at an extremely high level of craftsmanship.
The philosophy must guide the next version to express ideas ALGORITHMICALLY, not through static images. Beauty lives in the process, not the final frame.
PHILOSOPHY EXAMPLES
"Organic Turbulence" Philosophy: Chaos constrained by natural law, order emerging from disorder. Algorithmic expression: Flow fields driven by layered Perlin noise. Thousands of particles following vector forces, their trails accumulating into organic density maps. Multiple noise octaves create turbulent regions and calm zones. Color emerges from velocity and density - fast particles burn bright, slow ones fade to shadow. The algorithm runs until equilibrium - a meticulously tuned balance where every parameter was refined through countless iterations by a master of computational aesthetics.
"Quantum Harmonics" Philosophy: Discrete entities exhibiting wave-like interference patterns. Algorithmic expression: Particles initialized on a grid, each carrying a phase value that evolves through sine waves. When particles are near, their phases interfere - constructive interference creates bright nodes, destructive creates voids. Simple harmonic motion generates complex emergent mandalas. The result of painstaking frequency calibration where every ratio was carefully chosen to produce resonant beauty.
"Recursive Whispers" Philosophy: Self-similarity across scales, infinite depth in finite space.
…
常见问题
什么是算法艺术?
它是依据一套规则或算法(即一步步执行的计算流程)创作的艺术。其美感往往来自生成过程本身,而不仅仅是最终结果。
什么是 p5.js?
它是一个代码库(一套工具),让你可以直接在网页浏览器中用 JavaScript 轻松创作视觉和交互式艺术。
为什么理念很重要?
理念引导代码的编写,确保生成的艺术有其背后的构思,并遵循特定的计算美学原则,例如从混沌中涌现秩序,或自相似的图案。
详情
作者的原始描述
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, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
repo: anthropics/skills
热度
- GitHub 星标
- 181k
- 排名
- #636
- 许可证
- —
- 更新时间
- 2026/10/9
评论
- …
同一仓库的更多技能
academy-guide
181k让你的智能体推荐学习 Claude 的课程和教程。当你对如何使用 Claude 或其相关产品有疑问时很有用。
brand-guidelines
181k让你的智能体将 Anthropic 的品牌色和视觉风格应用到各类素材上。适用于在不同项目中保持公司视觉形象的统一。
canvas-design
181k帮助你的智能体在文件中创作精美的视觉艺术作品。当你需要海报、艺术图或任何静态设计时很有用。
claude-api
181k提供 Claude API 的相关信息,包括模型、定价和设置。适用于在项目中使用 Claude API 的开发者。