Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

refactor(video): the plate's colour is the magenta key's (cutout.KEY_TARGETS), not a second copy of it

Soohong Kimb2f2540cfd3c
diff --git a/sprite_gen/video/prop_plate.py b/sprite_gen/video/prop_plate.py
index 349e73a..7c5ae7b 100644
--- a/sprite_gen/video/prop_plate.py
+++ b/sprite_gen/video/prop_plate.py
@@ -35,8 +35,9 @@ from typing import Any
from PIL import Image
from sprite_gen._deps import np
+from sprite_gen.frames.cutout import KEY_TARGETS
-RGB = (255, 0, 255)
+RGB = KEY_TARGETS["magenta"]
HEIGHT = 0.49 # of the subject's height
WIDTH = 0.20
GAP = 0.84