Live activity, drawn across the Earth.
Orbit is a real-time 3D globe for hero sections and dashboards. Every event becomes a beam from its city to your headquarters, under the real sun, in five looks.
Starting the globe
What you are looking at
Nothing on the globe is a picture. It is all computed, and most of it is tied to something real.
- The sun is where it really is
- Day, night and the terminator come from the clock, so the lit side of the globe matches the Earth right now.
- Every beam is one event
- An activity starts in a city facing you, arcs to your headquarters and lands with a ring and a burst of sparks. The ticker names it as it flies.
- City lights follow your cities
- The night side lights up around the city list you give it, on land only, and dims under cloud.
- Cities surge
- Now and then one city sends a rush of beams and the ticker calls it out, so the scene never settles into a loop.
- Weather, aurora and a moon
- Clouds drift and cast shadows, the atmosphere reddens at sunset, curtains of aurora ring both poles and the moon is lit by the same sun.
- Five looks, one scene
- Realistic, Cartoon, Neon, Hologram and Ink & Paper share the same globe. Switching cross-fades in about a second and re-dresses the interface with it.
It holds your display's refresh rate
On a 120 Hz screen Orbit aims for 120 frames a second, and on a 60 Hz screen for 60. It measures the display and the GPU, and when a frame would run long it gives up a little resolution instead of dropping the frame. When there is room again, the resolution comes back.
The globe above: of GPU time in a frame
- Nothing expensive runs per frame. Terrain, clouds, the moon and the aurora are baked into textures once, on the GPU, when the page loads.
- Particles never touch the CPU. About 40,000 drifting motes and every impact spark are moved by compute passes.
- A beam costs nothing to keep alive. Its whole flight runs in the shader from the moment it was born.
- The sky is not shaded behind the planet. Stars are 24,000 sprites, sharp at any resolution, and the backdrop skips every pixel the globe covers.
- It degrades on purpose. Where WebGPU is missing, the page hands over to a Canvas 2D renderer and keeps your options.
Put it on your page
Orbit is plain ES modules with no build step. Three.js, loaded from a CDN, is its only dependency.
-
Serve the folder
Clone the repository and serve it from any static host.
git clone https://github.com/studio51/orbit npx serve orbit -
Embed the globe
Frame the clean page. Add a look, or leave it off for Realistic.
<iframe src="/orbit/webgpu/?embed&look=neon" title="Activity globe"> </iframe> -
Make it yours
Set your headquarters, cities and activity types in
shared/data.js, then tune the scene.window.__ORBIT_SCENE__ = { look: 'ink', clouds: 0.4, aurora: false, };