feat: APNG animated card effects for T3/T4 refractor tiers #186
Labels
No Label
ai-changes-requested
ai-failed
ai-merged
ai-pr-opened
ai-reviewed
ai-reviewing
ai-reviewing
ai-working
bug
enhancement
evolution
performance
phase-0
phase-1a
phase-1b
phase-1c
phase-1d
security
tech-debt
todo
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/paper-dynasty-database#186
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
T3 gold shimmer and T4 prismatic rainbow effects have CSS animations defined with
animation-play-state: pausedintier_style.html. A future pipeline should capture multi-frame PNGs and assemble APNGs for animated card display.Requires:
--anim-progressvalues)apngPython library).apngfilesSpec:
docs/superpowers/specs/2026-04-06-refractor-card-art-pipeline-design.md— Out of Scope, Ticket 2PR #188 opened: #188
Approach: CSS animations are paused in
tier_style.htmlfor static PNG capture. For APNG generation, each frame is rendered by injecting an override<style>tag that setsanimation-play-state: running !importantand a negativeanimation-delayto seek the animation to a specific point — no actual animation playback required, fully deterministic.GET /{player_id}/{card_type}card/{d}/{variant}/animated(T0–T2 returns 404)storage/cards/cardset-{id}/{type}/{player_id}-{date}-v{variant}.apngS3 upload and bot/web display remain as follow-up work in other repos.