Sharpen Scarlet, Calian, and Aetherwing previews - #8
Merged
Merged
Conversation
Render the presentation GIFs at 2x with deterministic alpha cleanup while preserving the validated runtime atlases and animation timing.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (6)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds an executable Python script that renders and validates six-frame idle GIF previews from Codex v2 sprite atlases, plus contributor documentation for running the renderer and publishing its output. ChangesIdle preview rendering
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant Contributor
participant render_idle_preview.py
participant Pillow
participant preview.gif
Contributor->>render_idle_preview.py: provide atlas and output paths
render_idle_preview.py->>Pillow: crop and process six frames
render_idle_preview.py->>Pillow: save animated GIF
Pillow-->>preview.gif: write preview.gif
render_idle_preview.py->>Pillow: reopen and validate output
Pillow-->>render_idle_preview.py: return GIF metadata
render_idle_preview.py-->>Contributor: print JSON metadata
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
senyo888
marked this pull request as ready for review
July 13, 2026 18:55
This was referenced Jul 14, 2026
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scope
Reason
The validated atlases retain partial-alpha silhouette edges, but GIF transparency is binary. The previous encoding promoted faint boundary pixels to fully opaque colored specks, and browser upscaling made the effect especially visible around Aetherwing's wings.
Files affected
pets/{calian,scarlet,aetherwing}/preview.gifsite/assets/{calian,scarlet,aetherwing}-preview.gifscripts/render_idle_preview.pyCONTRIBUTING.mdRuntime impact
None. The authoritative v2 spritesheets, pet metadata, installer links, animation rows, look directions, and catalog checksums are unchanged.
Entity semantics changed: no.
Risk to deterministic lane ordering: none.
UI impact
Repository and Pages previews render from 384 x 416 source GIFs and downsample cleanly at their existing display sizes. The six-frame idle animation, durations, loop, and disposal behavior are unchanged.
Generated dashboards/UI affected: only the public Codex Pets preview artwork.
Risk to UI truth consistency: low; every preview is regenerated directly from its unchanged validated atlas and the repo/site copies are byte-identical.
Migration impact
None. No migration, application restart, package reinstall, or dashboard export is required. Browsers may need a hard refresh after the Pages cache updates.
Validation performed
catalog.json.git diff --checkpassed.Rollback safety
High. Reverting the single commit restores the prior presentation GIFs and removes the renderer/documentation without touching runtime package assets.
Summary by CodeRabbit
New Features
Documentation