MVA Global Fret static HTML site (mirror of GitHub MVA-Global-Fret/site-mva-global-fret) � deployed to VPS Falkenstein for mva-globalfret.com
Detects mobile via UA + 768 px media query (IS_MOBILE constant) and flips three knobs: - Renderer: antialias off, pixelRatio capped at 1.5 (vs 2 on desktop) - Parcels: spawn every 2.4 s (vs 1.4 s on desktop) to keep clone+ draw cost down Adds touch handlers so users without a mouse can speed the plane up: - touchstart bumps `touchBoost` from 1 to 6 → BASE_SPEED is multiplied by 6 each tick while a finger is on the screen - touchmove also feeds Math.hypot(dx, dy) * MOUSE_BOOST into targetProgress, so swiping advances the plane the same way mouse motion does on desktop - touchend / touchcancel reset touchBoost to 1 and clear last-touch coordinates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| assets | ||
| cloudflare-worker | ||
| css | ||
| images/payment-logos | ||
| js | ||
| .gitignore | ||
| about.html | ||
| accueil.html | ||
| application.html | ||
| cgv.html | ||
| contact.html | ||
| guide-envoi.html | ||
| index.html | ||
| PNG MVA GLOBAL FRET.png | ||
| service-commande.html | ||
| tarifs.html | ||