DISCOVEREFFECTSPROMPTS
INTERACTION_027CSS
Navigation Underline
Underline grows from the origin side on hover.
Navigation / LightView
On hover or reveal, each character is temporarily replaced with random glyphs that resolve left to right, reading as a terminal decoding text.
const CHARS = "!<>-_\\/[]{}=+*^?#";
function scramble(el, text, duration = 700) {
const start = performance.now();
(function tick(now) {
const p = Math.min((now - start) / duration, 1);
const solid = Math.floor(p * text.length);
el.textContent = text
.split("")
.map((c, i) => (i < solid ? c : CHARS[Math.floor(Math.random() * CHARS.length)]))
.join("");
if (p < 1) requestAnimationFrame(tick);
})(start);
}Underline grows from the origin side on hover.
A thin light passes down a panel while processing.
Metrics animate from zero when scrolled into view.
Move the cursor across this surface.
A soft radial light follows the cursor across the surface.