Mini player: cover palette + liquid backdrop (library heroes unchanged) - #3
Draft
lasangainc wants to merge 1 commit into
Draft
Mini player: cover palette + liquid backdrop (library heroes unchanged)#3lasangainc wants to merge 1 commit into
lasangainc wants to merge 1 commit into
Conversation
Extract a multi-color PlayerBackdropPalette via k-means on a 56px bitmap for the mini player only. Add animated blurred blobs (TimelineView) behind the artwork in compact and lyrics-expanded layouts. Keep ArtworkPalette and palette(from:) unchanged so playlist, album, and artist hero gradients still use the existing sampling path. Co-authored-by: coolbanjo <lasangainc@users.noreply.github.com>
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.
Summary
PlayerBackdropPalette: 3–5 swatches + mean luminance for control chrome).MiniPlayerLiquidBackdrop: slow-moving blurred ellipses and radial drifts (TimelineViewat 30 fps) with screen-style blending, plus the same style of center highlight and trailing edge shading as before.ArtworkColorSampler.palette(from:)andHeroArtworkTint; that path is unchanged so library washes do not pick up the liquid look or the new clustering.Technical notes
rgbBitmap(from:size:)helper used by both the existing 64×64 hero sampling and the new 56×56 mini player clustering.maxPixelSize: 96before sampling.Testing
xcodebuildwas not available in the agent environment; please build Lightify for macOS locally to verify.