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

sources.md

View on GitHub
# 来源与验证

灵感来源:Bilibili **Hope麻匪**,[《再给 GPT6 Astra 一点时间》](https://www.bilibili.com/video/BV1azYW6zEXy)。已核对作者和视频标题;没有转载其视频或声称拿到了其SVG源码。

[作者提示词](prompts/author-original.prompt.txt)依据用户后来提供的清晰截图完整转录,替换了此前含乱码的转录。核心限制包括原生SVG、禁止Canvas/原图/Base64/外链、自包含HTML,以及有意义的绘制流程。

模板实现与适配:**Shenrui Ma(四倍体果蝇)**。

## 当前示例

参考图片由贡献者提供,已无损重编码、去元数据;1536×1024的解码RGBA像素与原件一致。图像本身不自动适用MIT代码许可。

当前SVG由连续色域轮廓矢量化与语义分层得到,包含22,798个最终色域路径,保留人物、服装、背景和光影。它不嵌入位图,也不能宣传成大模型逐笔手工绘画或思考过程录像。

浏览器按原尺寸渲染的平均每通道绝对误差为1.3002/255,PSNR为42.6144dB。仍有颜色量化误差,**不是严格逐像素1:1**;指标不等于对大模型能力的评测。

纯SVG Demo已检查Canvas/图片/外部脚本数量均为0,无外部资源请求。对比视频另由FFmpeg将原图与DOM截图合成,上下布局、40秒、24fps、960帧。视频实际导出并完整解码通过,见[验证记录](examples/validation.json)。

2026-09-12 将示例改为轻量 HTML 加本地 SVG 数据,HTML 小于 200 KB,完整色域路径与绘制阶段保持不变。离线选择加载、控件、回跳和五个关键时点的新旧像素对照检查通过;原 MP4 沿用此前产物,未重新编码。
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated 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: 194kUpdated Claude CodeCodexVerifiedInstall