Interactive 2.5D pixel-art GTA-style diorama with cars, palms, and police chase
Interactive 2.5D pixel-art GTA-style diorama with cars, palms, and police chase is a 16-second Claude Opus motion design reference by @vib3coded, built around Canvas. GOAL: Copy this AI motion prompt, keep the creator's frame counts and palette, and adapt the subject for your own launch film.
@vib3codedView post
Prompt
GOAL:
Create a single-file interactive 2.5D pixel-art diorama inspired by GTA 6 (Vice City / Leonida / Ocean Beach) using HTML5 Canvas and vanilla JavaScript, built with the sprite stacking technique (rendering 3D objects from stacked 2D pixel layers along the Z-axis with automatic 1px dark outlines and crisp pixelated rendering).
MOTION:
Scene & Sprite-Stacked Models:
1. Ocean View Art Deco Hotel (48 Z-layers): Pastel facade with teal and hot-pink horizontal stripes, rounded Art Deco corners, glowing neon entrance canopy, vertical neon architectural fin, rooftop swimming pool with beach umbrellas, and a glowing neon rooftop sign.
2. Ocean Drive Boulevard, Palms & Beach: Looped coastal road with lane markings and crosswalks, 4 swaying sprite-stacked palm trees (22 Z-layers each), golden sandy beach with beach towels, and animated turquoise pixel ocean waves.
3. Iconic Muscle Car (16 Z-layers): Drives and drifts smoothly around the boulevard corners emitting pixel tire smoke puffs, featuring headlights and glowing neon underglow. Triggering Nitro Boost (via Spacebar, canvas click, or UI button) accelerates the car with cyan-to-orange exhaust flames. Include 3 paint liveries: "Vice Pink", "Gold", and "Midnight".
4. GTA Wanted Star System (0–5 ★) & VCPD Pursuit: Interactive clickable wanted stars in the top HUD (default: 2 ★):
- 1+ stars: A sprite-stacked VCPD police cruiser with flashing red/blue lightbars chases the muscle car.
- 3+ stars: An 18-layer VCPD police helicopter orbits above the hotel, sweeping a dynamic searchlight beam onto the boulevard below.
- 5 stars: A second VCPD patrol cruiser joins the high-speed pursuit.
Depth Sorting, Camera & Animations:
- Accurate depth sorting across the hotel, swaying palm trees, vehicles, tire smoke, exhaust particles, and helicopter.
- Smooth 360° turntable camera rotation with inertia via mouse drag or touch.
- Camera mode toggle: "Vice Cruise" (full coastal diorama) and "360° Car" (close-up vehicle showroom on a glowing neon turntable platform).
- "Assemble Layers" button that animates building the hotel, palms, and vehicles bottom-to-top layer by layer.
- "Layer Spread" slider that separates Z-layers vertically to expose the sprite stacking structure.
Atmosphere & UI (All in English):
- 3 Time of Day presets: "Miami Day", "Vice Sunset" (magenta-orange gradient sky), and "Neon Night" (vivid hotel neon, car underglow, headlights, flashing sirens, and helicopter spotlight).
- Top HUD: Title, live layer/status readout, clickable 5-star GTA wanted meter, and a "Controls" toggle button.
- Bottom dark-glass control panel: "Nitro Boost", "Vice Cruise" / "360° Car", "Assemble Layers", "Layer Spread" slider, Livery selector ("Vice Pink" / "Gold" / "Midnight"), and Time selector ("Miami Day" / "Vice Sunset" / "Neon Night").
- Strictly vanilla HTML/CSS/JS in a single standalone file, zero external dependencies, 60 FPS, image-rendering: pixelated.
Author original
Create a single-file interactive 2.5D pixel-art diorama inspired by GTA 6 (Vice City / Leonida / Ocean Beach) using HTML5 Canvas and vanilla JavaScript, built with the sprite stacking technique (rendering 3D objects from stacked 2D pixel layers along the Z-axis with automatic 1px dark outlines and crisp pixelated rendering).
Scene & Sprite-Stacked Models:
1. Ocean View Art Deco Hotel (48 Z-layers): Pastel facade with teal and hot-pink horizontal stripes, rounded Art Deco corners, glowing neon entrance canopy, vertical neon architectural fin, rooftop swimming pool with beach umbrellas, and a glowing neon rooftop sign.
2. Ocean Drive Boulevard, Palms & Beach: Looped coastal road with lane markings and crosswalks, 4 swaying sprite-stacked palm trees (22 Z-layers each), golden sandy beach with beach towels, and animated turquoise pixel ocean waves.
3. Iconic Muscle Car (16 Z-layers): Drives and drifts smoothly around the boulevard corners emitting pixel tire smoke puffs, featuring headlights and glowing neon underglow. Triggering Nitro Boost (via Spacebar, canvas click, or UI button) accelerates the car with cyan-to-orange exhaust flames. Include 3 paint liveries: "Vice Pink", "Gold", and "Midnight".
4. GTA Wanted Star System (0–5 ★) & VCPD Pursuit: Interactive clickable wanted stars in the top HUD (default: 2 ★):
- 1+ stars: A sprite-stacked VCPD police cruiser with flashing red/blue lightbars chases the muscle car.
- 3+ stars: An 18-layer VCPD police helicopter orbits above the hotel, sweeping a dynamic searchlight beam onto the boulevard below.
- 5 stars: A second VCPD patrol cruiser joins the high-speed pursuit.
Depth Sorting, Camera & Animations:
- Accurate depth sorting across the hotel, swaying palm trees, vehicles, tire smoke, exhaust particles, and helicopter.
- Smooth 360° turntable camera rotation with inertia via mouse drag or touch.
- Camera mode toggle: "Vice Cruise" (full coastal diorama) and "360° Car" (close-up vehicle showroom on a glowing neon turntable platform).
- "Assemble Layers" button that animates building the hotel, palms, and vehicles bottom-to-top layer by layer.
- "Layer Spread" slider that separates Z-layers vertically to expose the sprite stacking structure.
Atmosphere & UI (All in English):
- 3 Time of Day presets: "Miami Day", "Vice Sunset" (magenta-orange gradient sky), and "Neon Night" (vivid hotel neon, car underglow, headlights, flashing sirens, and helicopter spotlight).
- Top HUD: Title, live layer/status readout, clickable 5-star GTA wanted meter, and a "Controls" toggle button.
- Bottom dark-glass control panel: "Nitro Boost", "Vice Cruise" / "360° Car", "Assemble Layers", "Layer Spread" slider, Livery selector ("Vice Pink" / "Gold" / "Midnight"), and Time selector ("Miami Day" / "Vice Sunset" / "Neon Night").
- Strictly vanilla HTML/CSS/JS in a single standalone file, zero external dependencies, 60 FPS, image-rendering: pixelated.
Questions
What is this other prompt for?
It is a Claude Opus motion design brief for “Interactive 2.5D pixel-art GTA-style diorama with cars, palms, and police chase”. Paste it into Claude and keep the timings already written in the prompt.
Where is the original film?
The creator is @vib3coded. Use View post to open the X video this prompt belongs to.