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

references/validation.md

View on GitHub
# 验收范围与复测

## 已验证

- 示例已在本机渲染:静态 SVG 平均每通道色差 **1.30/255**,纯 SVG 播放、对照 MP4 与打包流程通过;见 [examples/validation.json](../examples/validation.json) 与 [assets/manifest.json](../assets/manifest.json)。
- 产物为原生 SVG(无 Canvas、无位图嵌入、无外链),这是硬约束而非建议。
- 离线复测(仓库根目录;需要 Pillow、FFmpeg/ffprobe、Node 与可用的无头浏览器):

```bash
python3 -m unittest discover -s templates/drawing-process/svg-redraw-comparison/tests -v
node templates/drawing-process/svg-redraw-comparison/tests/check_player.cjs
python3 scripts/catalog.py check
```

## 未验证

- 新参考图的还原精度仍需人工复核;存在调色板量化误差,**不构成逐像素 1:1** 的结论。
- 未在干净环境重跑;Windows 未验证;`runtime.clean_install_inference_verified=false`。
- `runtime.existing_environment_verified=true` 指示例在本机完成渲染,不代表新图已验收。

## 使用者机器仍需完成

对新的参考图重跑轮廓与区域分析,人工比较静态 SVG 与原图;确认对照 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