"use client"; import { Canvas } from "@react-three/fiber"; import { OrbitControls, Stars } from "@react-three/drei"; import { Suspense, useRef, useState } from "react"; import * as THREE from "three"; // Einfache Partikel-Animation (WebGPU-Ersatz für jetzt) function ParticleField() { const count = 2000; const meshRef = useRef(null); const [dummy] = useState(() => new THREE.Object3D()); // Zufällige Positionen initialisieren const positions = useRef( Array.from({ length: count }, () => ({ x: (Math.random() - 0.5) * 20, y: (Math.random() - 0.5) * 20, z: (Math.random() - 0.5) * 20, speed: Math.random() * 0.02 + 0.01, })) ); return ( ); } import Gate from './components/Gate'; export default function Home() { return (
2D-Ebene 3D-Anderswelt Das Archiv
); }