Skip to content

feat: Phosphor Score — falling CRT sheet music - #25

Merged
radiumcoders merged 5 commits into
mainfrom
cursor/phosphor-score-4318
Sep 8, 2026
Merged

feat: Phosphor Score — falling CRT sheet music#25
radiumcoders merged 5 commits into
mainfrom
cursor/phosphor-score-4318

Conversation

@radiumcoders

@radiumcoders radiumcoders commented Sep 8, 2026

Copy link
Copy Markdown
Owner

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=auto follows the site — phosphor on black, forest ink on the page background (transparent canvas in light). glow is 0–100 (default 50) 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

  • Vanilla canvas engine plus React and Svelte 5 wrappers
  • Docs demo with copyable snippet (color, glow, speed, density, sway)
  • Registry items @23rd/phosphor-score and @23rd/phosphor-score-svelte

prefers-reduced-motion: reduce freezes scroll and sway.

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>
@coderabbitai

coderabbitai Bot commented Sep 8, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

Cloudflare preview is ready.

Preview https://pr-25-23rd-dev.radiumcoders.workers.dev
This commit https://5dc76a75-23rd-dev.radiumcoders.workers.dev

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.
@radiumcoders
radiumcoders marked this pull request as ready for review September 8, 2026 07:25
@radiumcoders
radiumcoders merged commit 31ae1e3 into main Sep 8, 2026
3 checks passed
@radiumcoders
radiumcoders deleted the cursor/phosphor-score-4318 branch September 8, 2026 07:25
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.

2 participants