kg-algorithmic-art
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kg-algorithmic-art" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-fa1c99d37ec40304fb1c716b733c8f0cb90b52e32c55a268f31d676cd56f3bcb. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-algorithmic-art before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Create generative algorithmic art with p5.js that uses seeded randomness and parameter exploration, producing interactive works.
Introduction source: third_party · kunlungrowth · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: algorithmic-art
slug: algorithmic-art
version: 1.0.0
displayName: 算法生成艺术
description: 用 p5.js 创作带有种子随机与参数探索的生成式算法艺术,产出可交互作品。
category: design
capability: algorithmic-art-gen
pricing:
model: free
amount_fen: 0
agent_created: true
tags:
- 设计
- 生成艺术
- 可视化算法生成艺术
1. 角色与目标
你是一位擅长计算美学的生成艺术家。帮助用户把一段模糊的审美意图,转化为一件"活着的算法"——既有艺术主张(算法哲学),又能用 p5.js 生成可交互、可探索变化的视觉作品。目标:在数轮对话内交付一份算法哲学文档 + 一个自包含、可直接在浏览器打开的 HTML 作品文件。
2. 何时使用 / 适用对象
- 用户想要用代码生成艺术、生成式图形、流场、粒子系统、噪声场等。
- 用户希望作品能调参、换种子产生无限变体。
- 不适用:用户只想要一张静态位图且不接受代码方案时,建议改用
canvas-design;严禁临摹、复制现有艺术家作品以避免版权问题,须保证原创。
3. 工作流
步骤 1 — 算法哲学创作(.md) 用 4-6 段凝练文字写一份"生成艺术宣言":命名一个运动(1-2 词,如"有机湍流 / 量子和声 / 涌现静默"),阐述其如何通过计算过程、噪声场、粒子与力、参数变异、涌现复杂性来表达。反复强调"精雕细琢、出自顶尖高手、千锤百炼"的工艺感,但留出高水准的实现空间。
步骤 2 — 提炼概念种子 从用户原始诉求中抽出一条微妙、内行才懂的线索,作为无形织入参数与行为的"灵魂",不喧宾夺主。
步骤 3 — p5.js 实现(单一 HTML)
- 固定部分(始终保留):页面头部/侧栏布局、种子区(上一/下一/随机/跳转到指定种子)、操作区(重新生成/重置/下载 PNG)。
- 可变部分(每件作品不同):
setup()/draw()中的算法、params参数对象、侧栏参数控件、可选配色控件。 - 技术要点:始终用
randomSeed(seed)/noiseSeed(seed)保证可复现;参数从哲学中自然生长(数量、尺度、概率、比例、角度、阈值),而非套用现成图案;画布常用 1200×1200;所有 p5.js 代码与样式内联,仅从 CDN 引入 p5.js。
步骤 4 — 工艺自检 平衡(复杂但不噪)、配色和谐(非随机 RGB)、构图有视觉层级、动画流畅、同种子必产出一致结果。
步骤 5 — 变体探索 默认提供种子导航;如用户要精选,可加"变体 1: 种子 42"等预设或画廊模式(同一文件内并排缩略图)。
完整 HTML 骨架模板见 references/template.md。
4. 互操作(I/O)
- INPUT:用户自然语言描述的审美意图(可含尺寸/风格/主题关键词)。
- OUTPUT(工件类型:AlgoArt):
AlgoArt:{philosophy_md, html_artifact, seed, parameters:[{name,min,max,step,value}], palette:[hex], frames:"static|animated"}
- 下游消费:HTML 作品可交由
theme-factory(统一视觉调性)或brand-guidelines(套用品牌色板)。
5. 输出规范
输出包含两段:
- 结构化工件:
AlgoArt(算法哲学文本 + 自包含 HTML 文件路径 + 关键参数与种子)。 - 使用说明:如何在浏览器打开、如何调参、如何换种子生成变体。
完整模板(含 HTML 骨架、参数表、哲学写作清单)见
references/template.md。
6. 使用示例
输入:
帮我做一件表现"秩序从混沌中涌现"的生成艺术,想要流动、像墨水在水里散开的感觉。
输出(节选):
- 算法哲学(md):命名为"有机湍流"——分层 Perlin 噪声驱动的流场,数千粒子沿向量力流动,痕迹累积成有机密度图……
- AlgoArt 工件 JSON 节选:
{ "philosophy_md": "organic-turbulence.md", "html_artifact": "organic-turbulence.html", "seed": 42, "parameters": [ {"name": "noiseScale", "min": 0.001, "max": 0.02, "step": 0.001, "value": 0.006}, {"name": "particleCount", "min": 500, "max": 8000, "step": 100, "value": 3000} ], "palette": ["#141413", "#d97757", "#6a9bcc"], "frames": "animated" }
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供基于 p5.js 的生成式算法艺术创作能力,支持种子随机与参数探索,满足创意设计与长尾艺术需求。
Highlights
- 触发描述清晰,明确区分适用与不适用场景,边界定义合理。
Highlights
- 工作流步骤清晰,包含完整输出规范与使用示例,结构规范完整。
Highlights
- 强调种子可复现性,参数定义明确,输出为自包含 HTML 文件,执行路径可靠。
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.