Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.
docs(breathe): the outline pass docstring keeps the rule and drops a measured share
Soohong Kim96b2bf66b117
diff --git a/sprite_gen/effects/breathe.py b/sprite_gen/effects/breathe.pyindex 1830d97..6854d84 100644--- a/sprite_gen/effects/breathe.py+++ b/sprite_gen/effects/breathe.py@@ -212,7 +212,7 @@ def _thin_outline_pass(rgba: np.ndarray) -> int:호출자는 **변형이 실제로 일어난 프레임에만** 부른다(_warp 의 deformed 게이트). 변형 0프레임은 이 함수를 타지 않아 "변형 0 = 원본 동일" 계약이 유지된다. 원본 스냅샷에서만읽고 한 번에 적용하므로 순회 순서와 무관하게 결과가 같다(JS 미러 바이트 동일 성질).- 화소 순회 대신 배열로 읽는다 — 큰 칸에서 굽기 시간의 대부분이 여기였다(960 칸 146장 기준 2/3)."""+ 화소 순회 대신 배열로 읽는다 — 큰 칸에서는 굽기 시간의 대부분이 이 다듬기다."""h, w = rgba.shape[:2]op = rgba[..., 3] != 0dark = _dark(rgba)