This interactive demo needs WebGPU, which isn't available here. It runs in current Chrome or Edge on Windows, macOS and ChromeOS, Chrome on Android 12+, and Safari 26, with hardware acceleration turned on.
Drive a 2024 Xiaomi SU7 Max in your browser: tyre grip, load transfer and a sprung body that squats, dives and leans, simulated live and drawn in WebGPU.
Drive with W, A, S and D or the arrow keys; on a touch screen, hold the pedals on the right and the arrows on the left. The car never leaves the middle of the screen: the world moves instead. The car park's concrete slabs and painted bays slide and turn under the tyres, the sky and its reflections in the paint turn as you steer, and each wheel spins at the speed its own patch of road is passing, the inside ones slower in a corner. Drag to look around the car and scroll or pinch to come closer.
S brakes, and holding it for a moment once the car has stopped selects reverse, which lights the reversing lamps; W brakes out of reverse and then drives forward. Let go of everything and the motors slow the car to a halt and hold it there, as an electric car does in one-pedal mode, with the brake lights on while they slow it hard. Brake hard from high speed, or again and again, and the brake discs heat until they glow a dull red, the fronts most, then cool within seconds once you ease off. A and D steer quickly at parking speed and gently at motorway speed, where a full turn of the wheel would ask more of the tyres than they can give. Steering also works the indicators, which sweep outward along the headlamps and tail lamps as the real car's sequential signals do, three flashes for a quick tap; Q and E work them like the stalk, and H switches the hazard lights on and off.
Underneath is a model of the 2024 Xiaomi SU7 Max, the version whose staggered 20-inch wheels this car wears: 2,280 kg with a driver, 495 kW from two motors and all-wheel drive. It runs 240 times a second whatever your screen's frame rate, reaches 100 km/h in about 3.1 seconds and 200 km/h in about 11, stops from 100 km/h in Xiaomi's official 33.3 metres and tops out at the real car's 265 km/h. Timed as Xiaomi times the real car, leaving out the first foot of travel, it matches the official 2.78 and 10.67 seconds. Each tyre's grip depends on how hard it is pressed into the road, so accelerating, braking and cornering move weight between the wheels and change how much grip each one has, and stability control steps in before a slide becomes a spin.
The body rides on four springs and dampers at about 1.3 bounces a second, and none of its movement is animated by hand. Hard braking dips the nose by about a degree and a half, the front dropping about 4 centimetres as the rear rises about 3.5, and the car rocks back past level as it comes to rest. Full power squats the tail by about as much, and a corner taken at 80 km/h leans the body by two and a half degrees. Each movement arrives a moment late and overshoots a little, because that is how two tonnes on springs move, and the front wheels meet each joint between the slabs a moment before the rear ones.
The swatch in the corner opens the ten colours Xiaomi offered on this first SU7, from Aqua Blue, its launch colour, to the Brilliant Magenta added in 2025, each with its own finish: solid, metallic flake or pearl; hover over it or tap it. Its last swatch is a colour of your own, picked or typed as a hex code, on any of the three finishes. The paint is built the way the real paints are: pigment under a clear coat, with aluminium flakes in the metallic colours that glint one by one in the light, and mica in the pearl colours that shifts their tint with the angle; the tyres are rubber and the discs machined iron. The buttons beside the swatch switch the lights, show the airflow over the moving car (from 30 km/h), turn Boost's speed lines off or on, change the sky and mute the car.
The car stands on a rooftop car park at blue hour, under Poly Haven's Rooftop Night sky: the sun has set behind the trees, and three floodlights on poles light the deck, each a light of its own, the two brightest throwing the car's long shadows across the concrete, while the rest of the sky lights everything else and is shut out under the car by the car's own shape. The headlamps throw their beams onto the deck ahead and the tail lamps a red glow behind. The sky button switches to a winter afternoon, Poly Haven's Harvest, under a low sun. Floor it on a straight road and past 50 km/h Boost takes over, after the speed lines the real SU7's screen shows in Boost mode: the light dims and streaks of blue and white light rush past faster than the road, mirrored in the paint and the glass, until you lift off. The camera trembles with the pull and the speed.
The car's sound is made as you drive, with no recordings: as in a real electric car, it is mostly the wind, rushing louder and brighter with the speed, over the tyres' roar and the motors' faint whine, which rises with their speed and swells under power.
Techniques: WebGPU, vehicle dynamics, Magic Formula tyre model, suspension simulation, TSL shaders, car paint shader, procedural Web Audio, Three.js. An interactive WebGPU demo by Jingfu Chen.