I'll build a stunning 3D city block that morphs between 1990, 2025, and 2070 using React Three Fiber. Let me start by exploring the project and installing dependencies.
Now let me update the HTML title and create the application files.
Now let me build out the 3D scene components. I'll create several files for the buildings, scene, and UI.
Now let me create the city block configuration and scene:
Now let me create the camera controller and UI components:
Now let me create the UI overlay and main scene:
Now let me create the main Scene and App components:
Let me build to check for any issues:
The project builds successfully. Now let me refine a few things to make the experience more polished. Let me improve the Building component to fix a potential issue with window rendering and add some polish:
The build succeeds. Let me now add some additional polish - I'll add a Skybox component with stars for the 2070 era and some subtle improvements:
Now update the Scene to include Stars:
Now let me add some ambient sound cues and visual polish — let me add a subtle vignette and scanline overlay for the 2070 era:
Let me build again to make sure everything still compiles:
The project builds successfully. Let me review the overall experience and make a few final polish touches to ensure the transitions are smooth and visually impressive:
The app looks good. Let me also verify the full list of files:
Everything is in order. Let me do a final build to confirm:
The project builds successfully. Here's a summary of what I built:
🏙️ City Block Time Machine
A polished 3D interactive city block that smoothly transforms between three eras:
1990 — The Analog Age
- Warm brick-toned, boxy buildings with shorter heights
- TV antennas on rooftops
- Warm yellow window glow and neon signs
- Classic boxy cars on the streets
- Blue sky with soft fog
- Traditional street lamps and small trees
2025 — The Modern Era
- Taller glass-and-steel towers with metallic finishes
- Architectural spires on select buildings
- Brighter, cooler lighting
- Sleeker vehicles and greener streets
- Modern neon signage
2070 — The Future City
- Towering skyscrapers, some floating above ground with glowing rings
- Deep nighttime sky with stars
- Neon blue/purple holographic floating signs
- Flying vehicles alongside hovering ground cars
- Bioluminescent glowing trees
- Ground-level energy grid pattern
- Floating particles and scanline overlay
- Cyberpunk color palette (deep blues, purples, neon accents)
UI Features
- Cinematic intro with title card that fades away
- Large year counter that interpolates smoothly (1990→2070)
- Era subtitle that updates with context
- Gradient timeline slider with three era buttons for quick jumps
- Vignette and scanline effects that intensify in the future
- Corner frame decorations and coordinate display
- Auto-orbiting camera that adjusts height as buildings grow taller
Files built: index.html, src/index.css, src/types.ts, src/utils/lerp.ts, src/components/Building.tsx, src/components/CityBlock.tsx, src/components/Ground.tsx, src/components/Environment.tsx, src/components/Vehicles.tsx, src/components/StreetProps.tsx, src/components/CameraController.tsx, src/components/HolographicSigns.tsx, src/components/TimelineUI.tsx, src/components/Scene.tsx, src/App.tsx, src/components/Stars.tsx