Skip to content

Commit 6aaff82

Browse files
tsemachhclaude
andcommitted
3D stream: bigger posters (31vw, cap 420px), faster auto-flow (55px/s)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent cfc8fed commit 6aaff82

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

3d/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h1>ATARI <span>ARCADE</span> · 3D</h1>
106106
var qEl = document.getElementById("q");
107107
var loading = document.getElementById("loading");
108108

109-
function cardW() { return Math.min(300, Math.max(190, window.innerWidth * 0.24)); }
109+
function cardW() { return Math.min(420, Math.max(230, window.innerWidth * 0.31)); }
110110
function applySizes() {
111111
var w = cardW(), h = Math.round(w * 240 / 336) + 34;
112112
document.documentElement.style.setProperty("--cardW", w + "px");
@@ -192,7 +192,7 @@ <h1>ATARI <span>ARCADE</span> · 3D</h1>
192192
}
193193

194194
// ---- motion: calm auto-flow, drag scrub, wheel, inertia ---------
195-
var auto = 22; // px/s
195+
var auto = 55; // px/s
196196
var vel = 0, dragging = false, lastX = 0, moved = 0, downAt = 0, idleAt = 0;
197197
function onDown(e) { dragging = true; stage.classList.add("dragging"); moved = 0; lastX = e.clientX; vel = 0; downAt = Date.now(); }
198198
function onMove(e) {

0 commit comments

Comments
 (0)