Animated health bar with damage feedback
rounded rectangle SDF for the bar shape, with a fill level that oscillates via sin(iTime). The fill color transitions from green through yellow to red as health drops. A damage flash fires white when health decreases, and a pulsing warning activates below 25%. Tick marks at each quarter provide visual reference.