performance tweaks

This commit is contained in:
cottongin
2026-01-18 18:51:11 -05:00
parent 373fe8b835
commit 7ef59a57ab
3 changed files with 163 additions and 117 deletions

View File

@@ -11,6 +11,8 @@
<meta name="apple-mobile-web-app-title" content="ECHO REALITY" />
<link rel="manifest" href="/assets/site.webmanifest" />
<link rel="stylesheet" href="assets/styles.css">
<!-- Preconnect to esm.sh for faster simple-boost loading -->
<link rel="preconnect" href="https://esm.sh">
</head>
<body>
<div class="player">
@@ -18,13 +20,11 @@
<button class="lightning-btn" id="lightningBtn" title="Menu">&#9889;</button>
<div class="display" id="display">
<!-- Dim spots - worn phosphor effect (slowly drifting) -->
<!-- Dim spots - worn phosphor effect (slowly drifting) - reduced to 3 for performance -->
<div class="dim-spots-container">
<div class="dim-spot dim-spot-1"></div>
<div class="dim-spot dim-spot-2"></div>
<div class="dim-spot dim-spot-3"></div>
<div class="dim-spot dim-spot-4"></div>
<div class="dim-spot dim-spot-5"></div>
</div>
<!-- VHS tracking lines overlay (controlled by DisplayGlitch module) -->
<div class="vhs-tracking" id="vhsTracking"></div>