Private
Public Access
1
0

update visuals and asset interactions: adjust asset spawn rate, refine asset animation positioning, and improve presi-assets-track layout styling
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m49s

This commit is contained in:
Sebastian Unterschütz
2026-04-22 23:17:42 +02:00
parent 22643996c3
commit dc94bb4ea1
2 changed files with 8 additions and 6 deletions

View File

@@ -954,7 +954,7 @@ function startPresentationLogic() {
presiQuoteInterval = setInterval(showNextPresiQuote, 8000);
// Asset Spawning
presiAssetInterval = setInterval(spawnPresiAsset, 2500);
presiAssetInterval = setInterval(spawnPresiAsset, 1500);
}
function showNextPresiQuote() {
@@ -1024,7 +1024,9 @@ async function spawnPresiAsset() {
const duration = 15 + Math.random() * 10;
el.style.animation = `assetSlide ${duration}s linear forwards`;
el.style.bottom = `${10 + Math.random() * 30}px`;
// Random Y position across the whole screen
el.style.top = `${10 + Math.random() * 80}%`;
setTimeout(() => el.remove(), duration * 1000);
}