Photon Matrix Toggle
Photon Matrix Toggle (Puzzle & Logic) — playable 60–120Hz HTML5 engine cartridge. Controls: Click board pieces/slots · [R] New Game
Controls Guide — Keyboard, Touch & Standard Gamepad
Direct Key & Pointer Matrix
Click board pieces/slots · [R] New Game
Direct Pointer & Virtual D-Pad
Responsive Touch Stage + On-Screen D-Pad & A/B/X/R Action Buttons (393x852 & 768x1024 verified)
Standard Gamepad-to-Key Poller
Polls standard browser gamepads and maps left stick / D-pad and primary buttons to keyboard actions locally in client JavaScript.
World & Gameplay Highlights
- Built natively in Destiny Game Studio
- Deterministic Mulberry32 URL seed (?seed=1481) + real-time ?challenge= score verification
- Under 22 KB gzipped · 0 external network requests · Keyboard, Touch & Gamepad ready
Deterministic Seed & Browser Runtime Specification
Photon Matrix Toggle runs from a self-contained 90.4 KB static cartridge (HTML5 Canvas 2D) with deterministic ?seed= initialization.
Graphics Backend
HTML5 Canvas 2D
On-Disk Size
92,545 B
Default Seed
#1481
Active Modules & Deterministic Replay
Passing ?seed=1481 initializes the embedded pseudo-random generator before world setup so two browsers reproduce identical board or spawn sequences locally without a backend server.
/play-cartridges/games/photon-matrix-toggle.html// /play-cartridges/games/photon-matrix-toggle.html · Deterministic Seed & Frame Telemetry
const sp = new URLSearchParams(window.location.search);
const activeSeed = hashSeedString(sp.get("seed"), 1481);
let prngState = (activeSeed ^ 0x9E3779B9) >>> 0;
export function nextDeterministicRandom() {
prngState = (prngState + 0x6D2B79F5) >>> 0;
let t = Math.imul(prngState ^ (prngState >>> 15), prngState | 1);
t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
}
// Renderer: HTML5 Canvas 2D · On-Disk Cartridge: 92,545 bytes