Skip to content

Shenrui-Ma/video-regen-recipes / templates/drawing-process/svg-redraw-comparison

svg-redraw-comparison

Unverified

用参考图制作高精度 SVG 临摹绘制过程视频,交付纯 SVG 网页、独立 SVG 和原图对照 MP4。禁止 Canvas、位图嵌入与外链,按构图、线稿、固有色、阴影、高光、细节重放;横图上下、竖图左右合成。

FileKindSize
LICENSEother1.1 KB
LICENSES.mdmarkdown998 B
README.mdmarkdown2.5 KB
SKILL.mdskill md3.8 KB
assets/manifest.jsonconfig320 B
assets/reference.pngbinary2.7 MB
examples/demo.htmlother30.1 KB
examples/foundations.svgother597.0 KB
examples/preview.mp4binary3.2 MB
examples/redraw.svgother15.6 MB
examples/regions.jsonconfig6.7 KB
examples/validation.jsonconfig2.1 KB
profile.jsonconfig2.2 KB
prompts/author-original.prompt.txtmarkdown1.2 KB
prompts/redraw.prompt.txtmarkdown1.2 KB
references/validation.mdmarkdown1.2 KB
references/workflow.mdmarkdown5.0 KB
scripts/_contours.pyscript1.3 KB
scripts/_regions.pyscript1.2 KB
scripts/_validate_svg.pyscript1.5 KB
scripts/build_demo.pyscript5.9 KB
scripts/clean_png.pyscript2.1 KB
scripts/export_video.cjsscript6.1 KB
scripts/package_demo.pyscript3.4 KB
scripts/trace_reference.pyscript5.0 KB
sources.mdmarkdown1.7 KB
tests/check_player.cjsscript3.9 KB
tests/test_pipeline.pyscript4.2 KB
web/load-art.jsscript3.2 KB
web/player.cssother738 B
web/player.jsscript2.3 KB

prompts/author-original.prompt.txt

View on GitHub
GPT-6 Astra 提示词

参考提供的图片,使用 HTML + CSS 将其精确重绘为 SVG。要求:
1. 完整还原原图的构图、比例、轮廓、颜色、线条粗细、细节、质感和图层关系等。
2. 使用原生 SVG 元素(如<path>、<circle>、<rect>、<g>等)绘制。
3. 禁止使用 Canvas,禁止嵌入原图、Base64 图片或任何外部图片链接。
4. 合理拆分 SVG 图层和元素,并使用清晰、语义化的 id 或 class 命名。
5. 保持原图宽高比,并通过 viewBox 实现自适应缩放。
6. 将 HTML、CSS 和 SVG 写入一个可直接在浏览器中打开的完整 HTML 文件。
7. 不依赖任何外部框架、字体、脚本或在线资源。
8. 生成结果必须与参考图一致,不得简化、遗漏或自行修改任何视觉元素。
9. 只输出完整代码,不要添加解释,也不要省略任何关键内容。
10. SVG 过程应当大致符合人类直觉并有意义的动漫插画绘制流程,如线稿,固有色,阴影高光等。
11. 最后将重建结果打包为一个 Demo 网页,可供我播放完整的绘制流程。
参考图:以本提示词随附的图片作为唯一视觉依据。
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall