Boost number glow as darkness grows; reinforce zoom prevention
This commit is contained in:
parent
abca0e973d
commit
ea1e131223
2
app.js
2
app.js
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user