feat: Phosphor Score — falling CRT sheet music - #25
Merged
Conversation
Vertical CRT sheet music that falls toward a playhead, blooms, then exits in a flare. Live props for color, glow, rotation, speed, and sway. Co-authored-by: Jay Sharma <radiumcoders@gmail.com>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
|
Cloudflare preview is ready.
Production (23rd.dev) is unchanged. This preview URL stays the same as you push to this PR. |
Scale the score with tilt so rotation no longer clips the staves, and match playhead bloom and exit flares to the phosphor color. Co-authored-by: Jay Sharma <radiumcoders@gmail.com>
Replace the huge pixelated playhead disc with a small note-scale halo, default glow at 50, and follow light/dark with forest ink on paper. Co-authored-by: Jay Sharma <radiumcoders@gmail.com>
Remove rotateX/Y/Z. Light mode is transparent over the page background. Scale the notation to the canvas with a thinner full-width playhead, a tighter gap between staves, and blur fades at the top and bottom.
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.
Adds Phosphor Score, a vertical CRT sheet-music background.
Notes travel down two staves, bloom at a playhead in the phosphor color, then exit in a flare. Default
theme=autofollows the site — phosphor on black, forest ink on the page background (transparent canvas in light).glowis 0–100 (default50) and stays a tight halo on the note. A thin scan line runs the full width. Top and bottom blur-fade so the score eases in and out.What’s included
@23rd/phosphor-scoreand@23rd/phosphor-score-svelteprefers-reduced-motion: reducefreezes scroll and sway.