算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
ian-xiaohei-svg-motion【设计与创意】Create Ian Xiaohei-style HTML/SVG motion illustrations for Chinese articles, scripts, storyboard scenes, workflow explanations, concept metaphors, and short video visual aids. Use when the user asks for 小黑 SVG、漫画感 HTML、分层 SVG 动效、把小黑生图做成 HTML/SVG、可编辑矢量动效、口播流程动画、手绘漫画动效、正文配图动画, or wants a Xiaohei illustration style adapted into controllable HTML/SVG/GSA…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
把 Ian 小黑正文配图的原则,改造成可控的 HTML + SVG + GSAP timeline 动效。目标不是复刻生图像素,而是把文章里的一个认知动作重建成分层漫画舞台,方便录视频、按字幕 cue 对齐、后续改文案和元素。
Do not auto-vectorize a PNG and animate the resulting path soup. Use raster images only as composition references. Rebuild the scene as semantic SVG groups:
idea -> shot plan -> SVG layer plan -> HTML/SVG template -> GSAP timeline -> static + motion review
x, y, rotation, scale, opacity, and SVG stroke drawing. Avoid layout animations.references/style-rules.md before designing a new scene or judging whether the result still feels like Ian Xiaohei.references/svg-layering.md before writing or editing the SVG structure.references/motion-rules.md before writing GSAP animation.Default output folder:
output/<slug>-xiaohei-svg-motion/
Required files:
index.html
README.md
preview.png
vendor/gsap.min.js
Optional files:
source.png # reference image, if provided by the user
cue-map.md # when aligning to spoken script or subtitles
AI model and interface icons live in:
assets/icons/
Use assets/icons/index.json as the source of truth. Keep original SVG files in subfolders and inline their complete SVG content into scene SVGs during generation, so gradients, strokes, and brand colors are preserved.
Icon rules:
index.json already has the exact model, provider, or semantic icon, use that icon. Do not replace ChatGPT, Claude, Flash lightning, Step, DeepSeek, Qwen, bug, table, chart, database, or web icons with generic boxes, stars, sparks, or abstract marks.assets/icons/<category>/, add an entry to index.json, and then reference it by id in the scene plan.Use assets/templates/xiaohei-comic-motion/ as the starter when the request resembles a hand-drawn comic scene with moving objects, arrows, annotations, or a Xiaohei action.
Use assets/templates/xiaohei-series-reference/ when the request asks for multiple variants, a reusable series, or a broader reference set for 口播 explanation scenes.
Copy the template into the project output folder, then edit:
Before final response:
?static=1.?frame=mid for a deterministic review frame.<img> tag unless the user explicitly asked for PNG-only camera moves.