Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
release: v2.35.0
Soohong Kima74d9f0457a6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 92ed6ab..140009f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,7 +2,7 @@All notable public changes to `sprite-gen` are recorded here. Versions track the `version:` field in `SKILL.md` and `pyproject.toml`.-## Unreleased (v2.35.0) - A staff that swings on its own beat is not cut where it jumps+## v2.35.0 - A staff that swings on its own beat is not cut where it jumps- **Output change: `video-loop --anchor motion-auto` chooses its cut again when the top of the silhouette jumps into the first frame.** A staff, a flag or a raised spear held above the head can sway on a beat slower than the steps; a cut one step long then ends with it elsewhere, the body closes and the held part jumps at the wrap. The seam ratio is an area measure and a thin rod hardly moves it, so such a cut passed. The search now weighs, for its first choice, the top band's step into the first frame over the loop's median step (`repair.seam_pop`, on the frames it chooses from, moved by the analysis translation; the median a pixel at least), counted only when the wrap is that band's largest step. Over the bound (**10**, `repair.SEAM_POP_REFERENCE`) every candidate is measured, and among those under it the cut is taken from the scores within the usual 15 % of the best, smallest jump first. The report's `cycle.seam_pop` records `first_choice`, `applied`, `measured`, `unread` and `chosen` (or `why` when every candidate read jumps and the first choice is kept). A cut whose top band cannot be read — a frame with nothing in it — has no jump to rank: it is recorded `skipped` (why) in place of a `pop` (`first_choice.skipped`; a candidate row's `seam_pop` is `null` with `seam_pop_skipped`), counted under `unread`, and never chosen as one that closes; a first choice that cannot be read is kept. A first choice under the bound is kept and nothing past it is measured: a loop without such a part is cut, written and warned about byte for byte as before. [docs/loop-repair.md](docs/loop-repair.md#the-seam-pop--a-part-held-above-the-head-swinging-on-its-own-beat).- **New: every walk and run loop reports the seam pop and warns on it** (`jolt.seam_pop`: per axis `wrap_pct`, `step_median_pct`, `wrap_over_median`, `wrap_is_largest`; `pop`, `reference`, `pops`; `seam_pop` in the printed summary's `jolt`). Over the bound, on the loop as it plays, `jolt.warnings` and stderr gain `the top of the silhouette jumps into the loop's first frame up or down … (over 10x): a part held above the head swings on its own beat and does not close at this cut`. The top line (up or down) had no bound at all; a sideways jump into frame 0 the head's 0.75 % bound already names is not said twice. Nothing fails on it, and a fixed or `--cycle periodic` cut is not chosen again.diff --git a/SKILL.md b/SKILL.mdindex 0ad338b..3ba8059 100644--- a/SKILL.md+++ b/SKILL.md@@ -1,6 +1,6 @@---name: sprite-gen-version: 2.34.0+version: 2.35.0description: "Generates images and game sprites through GPT or Grok with guided provider choices, separate saved defaults, automatic cleanup and optional curation. Handles sprite requests, ordinary image generation/editing, standalone image-to-video clips (i2v, animate this still, 그록 영상, 이매진 비디오, 스틸 움직여줘, first/last frame, reference-to-video, 영상 이어붙이기, 영상 편집, extend/edit a clip), clips from a video MCP on the agent (ZCRE, 지크 MCP), chroma removal, animation atlases, video loops, 큐레이션뷰, image candidates, 팔레트 스왑, palette swap, recolor, rig layers, engine exports, repeating backgrounds, projected shadows, motion/contact inspection and optional scene composition from existing assets."license: Apache-2.0depends_on:diff --git a/pyproject.toml b/pyproject.tomlindex d1a094f..b111bf2 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"name = "sprite-gen"# Release discipline: keep this package metadata version synchronized with# SKILL.md's `version:` field in the same release commit.-version = "2.34.0"+version = "2.35.0"description = "Component-row pipeline for clean 2D game sprites and animation atlases"readme = "README.md"license = "Apache-2.0"