Create a spaceship out of voxel blocks
- User
Create a spaceship out of voxel blocks
Assistant
I'll build an interactive 3D voxel spaceship experience — a cinematic scene where hundreds of voxel blocks fly in and assemble into a spacecraft, with orbit controls, engine glow, and a mission-control style UI. Let me first look at the project structure.
Tailwind v4 with Vite. Let me check the CSS and HTML entry, and install the 3D packages in parallel.
All packages installed. Now I'll build the app. First, the voxel ship generator — this defines the spacecraft's geometry (nose cone, canopy, fuselage, swept wings, twin tail fins, twin engine nacelles, nav lights) plus the four hull color themes.
Ship generator done. Now the renderer — two instanced meshes (hull + glowing parts) with staggered fly-in assembly animation, engine plasma cones, flickering thruster lights, and idle floating motion.
Quick fix for the unused parameter in the flame material helper.
Now the space environment — star fields, nebula glow sprites, a holographic polar-grid display platform with a rotating radar sweep and dashed orbit ring, plus cinematic lighting and environment reflections.
Now the post-processing layer — bloom for the emissive voxels and engines, subtle chromatic aberration, and vignette.
Now the mission-control UI overlay — animated title block, live telemetry panel, assembly status readout driven by the render loop, theme swatches, and control buttons.
Now the main App that composes the Canvas, controls, and UI state (with the Space key shortcut for disperse/assemble).
Now the global styles with the display/mono font tokens and the HTML entry with fonts and title.
Now let me build the project to verify everything compiles.
Build succeeds. Let me fix two visual details I spotted: the radar sweep should rotate around its in-plane axis (z, since the parent is rotated), and the bloom threshold should be raised to 1.0 so only true emissive/HDR elements glow — keeping the hull crisp and metallic.
Both fixes applied. Rebuilding to confirm everything still compiles cleanly.
The build is clean. Your voxel spaceship is ready — the VX-09 KESTREL, built from ~600 individually animated voxel blocks floating in deep space.
The ship — procedurally constructed voxel by voxel:
- Tapered diamond nose cone with accent radome and sensor band
- Glowing canopy + side cockpit windows, racing-stripe fuselage, dorsal spine
- Swept delta wings with raised intake ridges, winglets, and authentic aviation nav lights (port red / starboard green)
- Twin canted tail fins, twin engine nacelles with bright open nozzles, a center thruster, comms mast with blinking-style beacon, and a belly sensor light
The experience:
- Assembly sequence — on load, every voxel flies in from a swirling debris field with staggered easing, tumbling into formation; disperse it again with the button or
Space - Cinematic space scene — dual star fields, drifting nebula glows, dust sparkle, and a holographic display platform with polar grid, pulsing rings, rotating dashed orbit ring, and a radar sweep
- Living engines — flickering plasma cones, additive nozzle glows, and thruster point lights spilling onto the hull
- Rendering — instanced meshes for performance, metallic PBR with a local reflection environment, HDR bloom on emissives, chromatic aberration, and vignette
Mission-control UI: live telemetry panel (voxel count, span, mass, drive class), a real-time assembly status readout (
ASSEMBLING 47%/NOMINAL/DISPERSED) tied to the render loop, four liveries (Ember, Ion, Nova, Verdant) that repaint the ship and relight the scene, auto-orbit toggle, and full drag-to-orbit / scroll-to-zoom camera control.Files built:
src/lib/ship.ts,src/components/VoxelShip.tsx,src/components/SpaceEnvironment.tsx,src/components/Effects.tsx,src/components/UI.tsx,src/App.tsx,src/index.css,index.html
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.