Ring code: bean keeps its shape during the wipe; 0.7 and 0.8 s intervals; wipe as long as at 1 s from 0.8 s
This commit is contained in:
@@ -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.25);
|
||||
const FADE = params.get("fade") ? MS * +params.get("fade") : Math.min(220, MS * 0.28);
|
||||
function tick() {
|
||||
prevBits = bits || null;
|
||||
switchedAt = performance.now();
|
||||
|
||||
Reference in New Issue
Block a user