ProjectsItem 4 of 8

Exploded view: Mustang & 911

Interactive exploded views of a Ford Mustang GT and a Porsche 911 that come apart as you scroll.

Open car.gigges.de 3D in the browser

What it is

Two cars as technical exploded views in the browser: as you scroll, body, engine, driveline and chassis separate chapter by chapter. Every part can be tapped to see its name.

Technical highlights

  1. Each chapter is a state. Scroll position maps to a continuous chapter index that blends smoothly between neighbouring states, with every part following its own explosion vector per system.
  2. Engine, driveline and chassis are modelled procedurally. Only the bodies come from Sketchfab; custom scripts split them into panels and compress them with meshopt.
  3. The V8 runs in the 1-5-4-8-6-3-7-2 firing order, with engine audio synthesised via Web Audio.

Technology

  • three.js
  • WebGL
  • glTF
  • meshopt
  • gltf-transform
  • Web Audio
  • Bun

Runs on

Static site: nginx, with its files in ConfigMaps.

  • Cloudflare edgeReceives every request, terminates TLS and shields the servers; static files are cached.
  • Cloudflare TunnelOne outbound connection to Cloudflare per server, so the applications need no open ports. At home every application runs through it; in the data centre, the sign-in service.
  • Traefik (ingress)Routes each request to its application by hostname, including those in the data centre. Its Prometheus counters are the source of the live dots in this drawing.
  • Server at home (microk8s)Runs the Kubernetes control plane and most applications, each in its own namespace, fenced off by NetworkPolicies.
  • Monitoring (Grafana, Mimir, Alloy)Alloy collects the Prometheus metrics of both servers and all applications, Mimir stores them, Grafana shows them. BOB also reports errors to a self-hosted, Sentry-compatible error tracker.
  • GitLab CI/CDA push to the main branch runs tests, builds and deploys. Runners operate on the server, inside the cluster and on a dedicated build machine.

The platform in the drawing

Images

Porsche 911: the body in parts
Porsche 911: the body in parts
Porsche 911: the systems under the body
Porsche 911: the systems under the body
The V8 on its own
The V8 on its own

Credits and licences

  • Mustang body: "2017 Ford Mustang GT" (split, simplified and recompressed): IsaacOldton, CC BY 4.0 source
  • 911 body: "(FREE) Porsche 911 Carrera 4S" (split, simplified and recompressed; the modified model is shared under the same licence): Lionsharp Studios, CC BY-SA 4.0 source

Planning something similar? Discuss a project