Skip to content

Hybrid backdrop: sampled gradient base with blurred art dissolving in - #97

Merged
sanylax0 merged 1 commit into
mainfrom
claude/repo-review-improvements-yvk3t7-backdrop-hybrid
Jul 18, 2026
Merged

sanylax0 merged 1 commit into
mainfrom
claude/repo-review-improvements-yvk3t7-backdrop-hybrid

Conversation

@sanylax2

Copy link
Copy Markdown
Collaborator

What

Follow-up to #96 by request: keep the sampled-color gradient, but blend the blurred album art back in — a hybrid of the two reference treatments.

How

  • The palette gradient stays as the base layer — it guarantees full-bleed coverage, dark legible tones, and crisp rendering at any size.
  • A soft gaussian render of the artwork (160 px working image, sigma 16, clamped edges — the same one-time-per-URL renderer as before) sits on top at 55% opacity, masked to fade out from ~45% down the screen — so the upper half carries the artwork's actual texture and the lower half settles into the clean gradient, Apple Music-style.
  • Both parts ship together as a cached BackdropStyle per URL, rendered off-main once; the zero-per-frame-cost property from the jetsam fix is untouched. Track changes crossfade the whole style over 0.6 s.

Testing

On device: upper screen should show recognizably blurred album art melting into the dominant-color gradient below; still edge-to-edge, still smooth. Tuning knobs: art opacity (0.55), the mask fade start (0.45), blur sigma (16), and the gradient brightness pins from #96.

🤖 Generated with Claude Code

https://claude.ai/code/session_013TJoWkqg8bzkGdzxWhWjWP


Generated by Claude Code

Keeps the palette gradient as the base (guaranteed coverage and
legibility), and layers a soft pre-blurred render of the artwork over
the upper screen at 55% opacity, fading into the clean gradient toward
the bottom — the Apple Music look on top of the Spotify base. Both
parts render once per URL off-main (BackdropStyle, cached); zero
per-frame cost is preserved. Track changes crossfade the whole style.
@sanylax0
sanylax0 merged commit 87e8e58 into main Jul 18, 2026
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants