[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-37":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},37,"Sprite-Pipeline","LayrKits\u002FSprite-Pipeline","LayrKits","2D Sprite Sheet Creation Pipeline",null,"Python",552,60,3,1,0,4,8,43,12,9.36,false,"main",true,[],"2026-06-12 02:00:07","# Sprite Sheet Pipeline\n\nReusable video-to-sprite-sheet pipeline for turning ordered animation frames into\nclean horizontal `256 x 256` sprite strips.\n\nThis repo includes reusable workflow docs, processing tools, a static viewer,\nand a generic AI-assistant skill. It intentionally excludes generated assets,\nvideos, scratch outputs, demo sheets, and project-specific art.\n\n## Quick Start\n\n1. If using an AI assistant, give it\n   `skills\u002Fsprite-sheet-pipeline\u002FSKILL.md` or install that folder in the\n   assistant's skill system. Ask it to use the `sprite-sheet-pipeline` skill.\n2. Set up Python dependencies:\n\n   ```bash\n   python3 -m venv .venv\n   .\u002F.venv\u002Fbin\u002Fpython -m pip install -r requirements.txt\n   ```\n\n   FFmpeg is not installed by `requirements.txt`; install it separately so\n   `tools\u002Fextract_frames_ffmpeg.py` can call the `ffmpeg` command:\n\n   ```bash\n   # macOS\n   brew install ffmpeg\n\n   # Windows, with winget\n   winget install Gyan.FFmpeg\n\n   # Ubuntu\u002FDebian Linux\n   sudo apt install ffmpeg\n   ```\n3. To create source footage, use:\n   - `docs\u002Freference\u002FPROMPTING_IMAGE_MODELS.md` for first poses, character\n     references, and transition frames.\n   - `docs\u002Freference\u002FPROMPTING_VIDEO_MODELS.md` for Kling or other\n     image-to-video prompts.\n4. To process footage, follow `docs\u002FQUICKSTART.md`: extract frames, matte if\n   needed, build the sprite sheet, review the preview\u002Freport, and promote only\n   approved outputs.\n5. After promotion, run:\n\n   ```bash\n   python tools\u002Fbuild_sprite_gallery_manifest.py\n   ```\n\n6. Open `sprite_viewer.html` directly in a browser to inspect final sheets.\n\n## Included\n\n- `tools\u002F`: frame extraction, matting, cleanup\u002Frepack, contact sheet, resize, and\n  viewer manifest utilities.\n- `docs\u002F`: active workflow notes, quickstart, folder conventions, extraction\n  notes, and game integration guidance.\n- `docs\u002Freference\u002F`: text-only image\u002Fvideo prompting references for creating\n  clean animation source footage when needed.\n- `skills\u002Fsprite-sheet-pipeline\u002F`: generic AI-assistant skill that routes\n  image prompting, video prompting, processing, validation, and promotion tasks\n  to the right docs.\n- `sprite_viewer.html`: static browser viewer for horizontal sprite sheets.\n- `sprite_gallery_manifest.js`: empty starter manifest for the viewer.\n- `sprite_gallery_pins.json`: empty starter pin list for the viewer.\n- Empty `Videos\u002F`, `work\u002F`, `Final Sprite Sheets\u002F`, and `Cleanup\u002F` folders with\n  `.gitkeep` files so the repo starts with the expected shape.\n\n## Basic Flow\n\n1. Put source animation videos in `Videos\u002F` or `Videos\u002FTo Be Processed\u002F`.\n2. Extract ordered frames into `work\u002Fextracted\u002F\u003Ccharacter>\u002F\u003Caction>\u002F`.\n3. Matte light backgrounds into `work\u002Fmatted\u002F\u003Ccharacter>\u002F\u003Caction>\u002F` when needed.\n4. Build a sprite strip with `tools\u002Fanimation_pipeline.py`.\n5. Review the preview image and JSON report.\n6. Promote only approved sheets and matching cells into\n   `Final Sprite Sheets\u002F\u003CGameName>\u002F\u003CCharacterName>\u002F\u003Canimation>\u002F`.\n7. Run `python tools\u002Fbuild_sprite_gallery_manifest.py`.\n8. Open `sprite_viewer.html` directly in a browser.\n\nSee `docs\u002FQUICKSTART.md` for copy-paste commands.\n\n## Asset Policy\n\nKeep generated materials out of this repo unless they are tiny, intentional,\ntext-documented references that are required to explain or test pipeline\nbehavior. Normal source videos, extracted frames, matted frames, previews,\nreports, final sheets, and game\u002Fdemo art should stay ignored by default.\n","Sprite-Pipeline 是一个用于将有序动画帧转换为干净的水平256x256像素精灵图的工具。项目提供了从视频中提取帧、处理背景透明度、打包成精灵图以及生成静态预览的一整套流程，支持使用AI助手来辅助完成部分任务。核心功能包括帧提取、背景剔除、精灵图构建及预览等，并且通过Python脚本和FFmpeg实现了自动化处理。适用于游戏开发、动画制作等领域，特别是需要快速创建或批量处理2D精灵图的工作场景。",2,"2026-06-11 02:30:33","CREATED_QUERY"]