Ring code: soft gradient wipe, longer and eased, bean shape untouched

This commit is contained in:
2026-08-16 22:59:28 +01:00
parent d82d30b5eb
commit 741b6ff302
4 changed files with 28 additions and 30 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ for (const ms of [1000, 500]) {
let slot = 0, bits = "", prevBits = "", switchedAt = 0, idx = 0;
// changed dashes wipe over a short time, a few frames are then unreadable, which is fine
// ?fade=0.5 tries a longer wipe, as a share of the interval
const FADE = params.get("fade") ? MS * +params.get("fade") : Math.min(220, MS * 0.28);
const FADE = params.get("fade") ? MS * +params.get("fade") : Math.min(400, MS * 0.45);
function tick() {
prevBits = bits || null;
switchedAt = performance.now();