Auto commit: 2026-02-16T19:30:20.469Z
This commit is contained in:
parent
80682f7095
commit
2803b63f0e
@ -59,7 +59,7 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489";
|
||||
height: 100%;
|
||||
background: url('assets/images/background.jpg') center/cover no-repeat;
|
||||
z-index: -1;
|
||||
transition: filter 0.1s ease-out, transform 0.1s ease-out;
|
||||
transition: filter 0.05s ease-out, transform 0.05s ease-out;
|
||||
will-change: filter, transform;
|
||||
}
|
||||
|
||||
@ -873,9 +873,10 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489";
|
||||
|
||||
// Apply flicker to background
|
||||
if (bg) {
|
||||
const brightness = 1 + (bassIntensity * 0.4); // More punchy
|
||||
const scale = 1 + (bassIntensity * 0.02);
|
||||
bg.style.filter = `brightness(${brightness})`;
|
||||
const brightness = 1 + (bassIntensity * 0.85); // Ultra punchy
|
||||
const scale = 1 + (bassIntensity * 0.06); // Stronger zoom
|
||||
const saturation = 1 + (bassIntensity * 0.5); // Add color intensity
|
||||
bg.style.filter = `brightness(${brightness}) saturate(${saturation})`;
|
||||
bg.style.transform = `scale(${scale})`;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user