Skip to content

Smooth fade for HMTL Sparkle effect - #3

Closed
aphelps-claude-bot wants to merge 3 commits into
masterfrom
sparkle-smooth-fade
Closed

aphelps-claude-bot wants to merge 3 commits into
masterfrom
sparkle-smooth-fade

Conversation

@aphelps-claude-bot

@aphelps-claude-bot aphelps-claude-bot commented Apr 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Pixels now blend toward their target color each frame instead of snapping instantly
  • New Fade Speed slider (c2, default 32) controls blend step per frame: low = slow dissolve, high = snap
  • Internally allocates a uint32_t targets[] array in SEGENV.data; dice rolls set targets each cycle tick, blendPixelColor() advances each pixel every FRAMETIME
  • Existing Speed / Intensity / BG Reset / Color 2 / Palette parameters unchanged

Submodule PRs

Test plan

  • Flash to device and open HMTL Sparkle effect
  • Verify pixels fade smoothly in (sparkle) and out (BG reset) at default settings
  • Set Fade Speed to 255 — confirm snap behaviour matches old effect
  • Set Fade Speed to 1 — confirm very slow crossfade
  • Confirm no visible glitches at segment boundaries or on first load

🤖 Generated with Claude Code

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