Boost number glow as darkness grows; reinforce zoom prevention

This commit is contained in:
chris 2025-11-20 09:07:52 -05:00
parent abca0e973d
commit ea1e131223
2 changed files with 2 additions and 1 deletions

2
app.js
View File

@ -715,7 +715,7 @@
const darkness = 0.36 + (p * 0.5);
const vignette = 0.18 + (p * 0.3);
const blur = 0 + (p * 1);
const glow = 0.15 + (p * 0.75);
const glow = Math.min(1.2, 0.25 + (p * 1.05)); // stronger glow as it darkens
overlay.style.opacity = opacity;
overlay.style.setProperty('--circle-size', `${size}%`);
overlay.style.setProperty('--circle-strength', darkness.toFixed(2));

View File

@ -8,6 +8,7 @@
}
* { box-sizing: border-box; user-select: none; -webkit-tap-highlight-color: transparent; }
html, body { touch-action: manipulation; }
body {
background-color: var(--bg-dark);