Erstelle ein einseitiges Webspiel als einzelne HTML-Datei mit Mechaniken zur räumlichen Ausrichtung. Es soll eine 3D-Anordnung von Partikelclustern enthalten, die sich per Klick entfaltet und bei passenden Ausrichtungen verschmilzt. Verwende dabei einen minimalistischen surrealen Stil mit weissem Leerraum und frostigen Materialien.
Diese Uebersetzung dient nur dem Verstaendnis. Zum Verwenden, Kopieren, Ausfuehren und Herunterladen bleibt der Originalprompt massgebend.
Create a single-file web game in HTML based on spatial alignment mechanics. It should feature a 3D arrangement of particle clusters that unfolds on click and merges when the orientations match. Use a minimalist surreal style with a white void and frosted materials.
I want you to act as a creative technologist and interaction architect. Construct a single-file (index.html) web game based on spatial alignment mechanics. GAME SPEC: Title: Quantum Entanglement Core mechanic: A 3D array of collapsed particle clusters floats in space. Clicking a cluster unfolds its unique 3D geometric matrix. Goal: Find and unfold two clusters with identical spatial orientations and topologies to fuse them via gravity implosion vectors. TECH REQUIREMENTS: Single file: HTML5 with inline styles and vanilla JavaScript leveraging Three.js via CDN. Rendering: Three.js WebGLRenderer with high-performance buffer geometries. Physics: Implement smooth quaternion math for rotating clusters via mouse drag. When a match occurs, compute mutual attraction vectors causing an implosion particle effect before mesh destruction. Design style: Minimalist surrealism. Pure white void background, frosted glass (transmission) cluster materials, and interactive volumetric light trails.