From 3e836ff98afbf0564432fcfbf17face067e2869a Mon Sep 17 00:00:00 2001 From: you Date: Sun, 22 Mar 2026 07:41:39 +0000 Subject: [PATCH] Matrix: faster trail fadeout (500ms->300ms, delay 300->150ms) --- public/index.html | 2 +- public/live.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.html b/public/index.html index 77043d09..fd9fd141 100644 --- a/public/index.html +++ b/public/index.html @@ -90,7 +90,7 @@ - + diff --git a/public/live.js b/public/live.js index 52981683..9e4ac708 100644 --- a/public/live.js +++ b/public/live.js @@ -1814,7 +1814,7 @@ // Fade out const fadeStart = performance.now(); function fadeOut(now) { - const ft = Math.min(1, (now - fadeStart) / 500); + const ft = Math.min(1, (now - fadeStart) / 300); if (ft >= 1) { for (const cm of charMarkers) try { animLayer.removeLayer(cm.marker); } catch {} try { pathsLayer.removeLayer(trail); } catch {} @@ -1828,7 +1828,7 @@ requestAnimationFrame(fadeOut); } } - setTimeout(() => requestAnimationFrame(fadeOut), 300); + setTimeout(() => requestAnimationFrame(fadeOut), 150); if (onComplete) onComplete(); } }