GARAGE/3D

 

 

01 / 06

Drag to orbit · scroll to zoom
← → change car

Paint
View

Warming up the engines…

Drop your .glb to put it on the turntable

The lineup

Six body styles,
one turntable

From a mid-engine supercar to a full-size pickup, the six most popular shapes on the road, each built as an original concept car. Pick one to put it on the turntable.

How it's built

Modelled in code,
rendered live

Every car here is generated in your browser with three.js. There are no downloaded meshes: the geometry is built from a handful of numbers per car, the same way a designer starts from a side profile.

Bring your own car

Have a licensed 3D model of a real car? Drop any .glb file on the viewer and it is scaled, centred and lit for you. It stays on your computer. To add one to the lineup for good, put it in a models/ folder and set the car's model path in the code.

  1. Side profileBody and greenhouse outlines are splines through 6–11 points each, with the wheel arches cut as true arcs around each axle.
  2. Extrude and bevelProfiles are extruded to the car's width with a rounded bevel, then tapered at the nose, tail and roof for tumblehome.
  3. WheelsTyres are lathe-turned from a sidewall profile. Rims, brake discs and calipers are assembled per car, and the wheels roll at the right rate when a car drives in.
  4. Details by ray-castingLamps, grilles, mirrors, wings and exhausts are placed by firing rays at the body, so they sit on the surface whatever its shape.
  5. Paint and lightClear-coated physical paint, an image-based studio environment and soft shadows. Lamps switch on with real spotlights.