Turn on the hero mark's pulse #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "hero-pulse"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pulsewasfalseinsrc/nexus-mark.json. It is now aPulseOptionsobject, so once the mark finishes painting the widget runs its steady-state loop and sends pink traces travelling through the curtain.intensity0.450.33preset — the traces sit on a bright magenta curtain, not the dark board the preset assumesdensity0.18color#ffa8eespeed0.18flickerstays off. It drops whole neon "tubes" out at once, which reads as a fault rather than a shimmer.Already on and unchanged:
respectReducedMotion(the loop is skipped entirely for reduced-motion users) andpauseWhenOffscreen(it parks when the hero scrolls away or the tab is hidden), so this doesn't burn battery on a page nobody is looking at.⚠️ Not verified visually
The pulse loop is
requestAnimationFrame-driven and only starts after the paint completes (aliveIntendedis set at the end of the paint). Neither environment I can drive will get there: a hidden extension tab fires no rAF at all — I measureddocument.hidden: true,litPixels: 0— and headless Chrome never finishes the paint even with a 300s virtual-time budget and backgrounding disabled. Three attempts, same wall that has blocked every look at this canvas.What I could confirm: the config matches the
PulseOptionsinterface exactly (intensity/density/color/speed), and#ffa8eeis present in the builtnexus-markchunk, so the values reach the widget.The look itself needs your eyes. All four numbers are one-line edits in
src/nexus-mark.jsonif the traces are too subtle, too busy, too fast, or the wrong pink.🤖 Generated with Claude Code
pulse was false; it is now a PulseOptions object, so once the mark finishes painting the widget runs its steady-state loop and sends pink traces through the curtain. intensity 0.45 a little above the 0.33 preset, since the traces sit on a bright magenta curtain rather than a dark board density 0.18 spacing between travelling pulses color #ffa8ee light pink, to read against the magenta speed 0.18 px/frame at 60fps flicker stays off — that one drops whole "tubes" out, which reads as a fault rather than a shimmer. respectReducedMotion and pauseWhenOffscreen were already on, so the loop is skipped for reduced-motion users and parked when the hero scrolls away. NOT verified visually: the loop is rAF-driven and only starts after the paint completes, which neither a hidden extension tab nor headless Chrome will do — three attempts, including a 300s virtual-time budget. The config shape matches PulseOptions and #ffa8ee is in the built bundle; the look itself needs a real browser. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>