Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
release: v2.36.0
Soohong Kimddf23280ae50
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 58c4f26..39c941d 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 - A slow walk cut one step long is named, and cut again on a count; a staff that closes only on two steps is cut as one cycle+## v2.36.0 - A slow walk cut one step long is named, and cut again on a count; a staff that closes only on two steps is cut as one cycle- **New record: `cycle.step_screen` on every walk and run `video-loop --anchor motion-auto` cuts.** A walk slower than its window holds (0.5 to 1.6 s, at most half the clip) is cut one step long where its legs are drawn alike: the step repeats in pixels, the loop walks on one leg, its arms jump at the wrap, and a set aligned with it plays one step where its other directions play two. Nothing said so — the two-cycle screen looks only below the cut. Now the cut is screened the other way, over the whole clip (`period.step_screen`): the lag within 3 frames of twice the cut that repeats best (`lag`, `searched`), its distance over the cut's own over the same frames (`ratio`, `pairs`), its dip under the clip's profile (`depth`), how much of a second cycle the clip holds past it (`coverage`), and the step signal's peaks over the cut (`leg_peaks`, a record only). A repeat there (`depth` at least 0.15) better than at the cut (`ratio` at most **0.85**, `period.STEP_RATIO_MAX`) is a `suspect`. **Nothing is cut on it**: a cycle on a frame count that is not whole repeats better at its double too, so only a count of the steps settles it. Images, `strip.json`, warnings and stderr are as before, byte for byte; the report's `cycle` and the printed summary gain `step_screen`. [docs/loop-repair.md](docs/loop-repair.md#the-step-screen--a-slow-walk-cut-one-step-long).- **New option: `video-loop --steps 1|2`** (with `--anchor motion-auto`), the count of steps in the cut it takes without it, from whoever looked at the loop. `1` cuts the walk again in the window [2L − 1, 2L + 1] — not bounded by half the clip, but held inside an explicit `--min-len`/`--max-len` (below) — with the same search, the equivalent cut whose wrap the clip itself plays taken (`choice: "closure"`) and no window twice that; a clip too short to see that window repeat is cut all the same, the count standing for the repeat (`method: "counted-window-v1"`, `unseen`). `2` keeps the cut. Either way `cycle.steps` records the count (`by: "given"`, `given`, and for `1` `first_cut` and `window`), `strip.json` says `steps: 2`, and `cycle.coverage` is (n − L) / L. **New warning**: a cut two steps long whose clip holds under 0.25 of a cycle past it (`loop.COVERAGE_MIN`) — `the cut is two steps long (… frames, one cycle) and the clip holds … of a cycle past it (under 0.25): its repeat is barely seen — the seam says whether it closes; a longer take shows it repeat`. It is cut, not refused; the seam gate judges it.diff --git a/SKILL.md b/SKILL.mdindex 730ede0..2845d16 100644--- a/SKILL.md+++ b/SKILL.md@@ -1,6 +1,6 @@---name: sprite-gen-version: 2.35.0+version: 2.36.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 b111bf2..29af160 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.35.0"+version = "2.36.0"description = "Component-row pipeline for clean 2D game sprites and animation atlases"readme = "README.md"license = "Apache-2.0"