Lab / 04 · 7 examples
Maps
Maps and geographic data in the browser: MapLibre, deck.gl and Leaflet on open tiles and open data, each with a text description and a poster when the map cannot load.
Showing 7 of 7

Moon Phase 3D
Today's moon phase, illumination, moonrise and moonset for your place, on a 3D Moon lit by the real Sun: craters cast long shadows along the terminator, earthshine glows on the dark side and the face nods with libration. Pick any date, step through the month or pull back to see the Sun, Earth and Moon. Computed in the browser from an ephemeris after Jean Meeus.
Three.jsGLSLTypeScript

Night Routes
Every scheduled non-stop route in the OpenFlights data on a night-time world map: a scroll story through arcs, hub columns and a heatmap, then search any airport, filter by airline and see where it flies.
MapLibre GL JSdeck.gl+2 more

City in Relief
A landing page for Sete Colinas, a fictional Lisbon city-stays brand, over a real 3D map: terrain, extruded buildings and a camera that flies through six Lisbon landmarks as you scroll, with a time-of-day slider that relights the whole city.
MapLibre GL JSTypeScript+1 more

Orbit
Real satellites over a lit 3D Earth: the ISS, Hubble, weather satellites, GPS and a Starlink sample, propagated in the browser from CelesTrak element sets, with the Sun, night lights and terminator for the moment on the clock. Scrub time, pick any satellite for its orbit and ground track, or ride along with a model of the ISS.
Three.jssatellite.js+1 more

Weather Globe
The global forecast for the next 48 hours on a turning Earth: wind drawn as tens of thousands of glowing streaks that follow the real wind, temperature, wind speed, rain, cloud or pressure as a colour skin, day and night from the Sun. Data from Open-Meteo, live when it answers, otherwise a dated snapshot.
Three.jsGLSLOpen-Meteo+1 more

Subsurface
A probabilistic subsurface viewer for a fictional gold prospect on real Nevada terrain. A CesiumJS globe flies to the site; underground, Three.js shows rock units kriged from twelve boreholes, the probability that each 50 m cell beats a cut-off grade, where the model is only guessing, and the next hole that would settle the most rock. Drill it and watch the model update.
CesiumJSThree.jsGLSL+3 more

Spanlens
Spanlens is a concept inspection viewer for large structures, shown on a 640 m cable-stayed bridge over a river valley. A Web Worker synthesises a laser-scan point cloud of the bridge and the terrain (about 4.8 million points on desktop, 1 million on phones) with scanner noise, intensity, true colour and as-built deformations, then builds an octree. The viewer renders it with the Three.js WebGPU renderer (WebGL 2 where WebGPU is missing), streams octree nodes to the GPU by screen-space error under a point budget, and shows which backend runs, the frame rate, points drawn and memory. Colour the scan by RGB, intensity, elevation or deviation from the design model, switch to the model mesh or a blend, cut a section along the bridge, measure between picked points in projected coordinates, and fly to 13 annotated findings such as cracks, spalling, corrosion, a displaced bearing and damaged cable sheaths. The site, bridge and findings are fictional.
Three.js WebGPUTSL+4 more