Drift Lab

A Three.js sandbox: luxury cars, a Monaco circuit, and a PBR-atlas-to-3D asset pipeline. Every texture is sliced or painted from atlases generated by Codex image-gen. Serve over http (assets are sliced on a canvas). Looking for the full game? Play Apex Drift.

Drift Lab hypercars racing on a glowing track
Showcase · drivable

Luxury Garage

Three rounded supercars (gold / red / sparkle) on a marble floor, each with a Codex-painted detail wrap. Press Drive a car and steer with WASD / arrows.

Level · full grand prix

Rainbow Road GP

A 3-lap race against 5 rival hypercars on a triple-length ribbon of light — summit climb, overpass, storm clouds that strike with lightning, asteroid squeezes, laser spinners, boost pads, live standings and a minimap. Race + WASD.

Cinematic

Route 66

The three hypercars flat-out down a desert Route 66 — mesas, telephone poles, cacti and a Route 66 shield, with a chase cam. Race toggle + speedo.

Track

Monaco Circuit

A closed Catmull-Rom road built from the math level planner's 16 Monaco control points, with facade-skinned buildings. Drive-lap animation.

Study

Atlas Car

One car built by slicing a PBR atlas (albedo / normal / roughness / metalness) onto a hull, with the alloy rim sliced onto the wheels.