An interactive website background featuring a controllable B2 Spirit stealth bomber navigating through approaching gates. Built with THREE.js WebGPU renderer.
🟢 Phase 5 Complete - Polish, fallback, and mobile controls implemented
A dark, minimal, interactive website background that comes alive on interaction. Visitors encounter a dark silhouette of a B2 Spirit bomber against near-black space. Scrolling the mouse wheel ignites the thrusters—revealing its 3D form through glowing engines and beginning a meditative flight through red square gates that emerge from darkness.
The experience is subtle, atmospheric, and elegant—an easter egg background that happens to be controllable.
- Throttle-to-Activate: Mouse wheel/controller ignites thrusters, progressively reveals the form
- Easter Egg Design: No obvious interactivity—visitors discover it organically
- B2 Spirit Bomber: Iconic low-polygon stealth aircraft
- Square Gates: Red square frames emerge from darkness and approach
- Dark Aesthetic: Minimal lighting, subtle reveals, pure visual experience
- WebGPU Renderer: Modern THREE.js renderer for smooth performance
- Multi-Platform: Desktop (keyboard/mouse/gamepad) and mobile (gyroscope)
- THREE.js with WebGPU renderer
- Vanilla JavaScript (ES modules)
- HTML5 + CSS3
- No build tools initially (may add Vite if needed)
/
├── README.md # This file - project overview and status
├── CLAUDE.md # Development notes and context for Claude
├── index.html # Main entry point (planned)
├── src/ # Source code (planned)
│ ├── main.js # Game initialization
│ ├── airplane.js # Airplane physics and controls
│ ├── gates.js # Gate generation and collision
│ ├── camera.js # FPV camera system
│ └── scene.js # THREE.js scene setup
└── assets/ # 3D models, textures (planned)
- Minimal HTML structure
- THREE.js WebGPU renderer initialization
- Dark scene with minimal lighting
- WebGPU compatibility check
- Low-poly B2 Spirit geometry
- Inactive silhouette state
- Thruster glow system
- Throttle-to-activate mechanism
- Progressive reveal animation
- Camera positioning
- Pitch and roll mechanics
- Lateral movement
- Throttle control
- Smooth, damped control feel
- Keyboard, mouse, gamepad support
- Square gate geometry
- Red emissive material
- Spawning and approach system
- Collision detection
- Randomized positioning
- Performance optimization
- WebGPU fallback (WebGL)
- Mobile gyroscope controls
- Website title element
Stealth Aesthetic: Dark, minimal, atmospheric. Less is more.
Background First: This is a website background that happens to be interactive, not a game pretending to be a background.
Declarative Style: Code should read like a description of what it does, not how it does it.
Elegant Solutions: Prefer clean, understandable implementations over clever optimizations.
Subtle Interaction: Everything should feel meditative, not gamified. No scores, no timers, no UI, no audio—just flow.
Pure Visual: Focus entirely on the visual experience. Minimalism in design and interaction.
(Instructions will be added once implementation begins)
For implementation details, see CLAUDE.md
Last Updated: 2026-02-06