Live Earth orbit hero
A space product hero where a real Earth rises from the bottom edge, satellites trace their orbits overhead and live city cards ride the turning globe.
Use it with Claude or any AI tool. Copy the prompt and paste it in. The link inside gives the AI the whole page as Markdown.
Live preview of the result built from this prompt. Click to pause.
Overview
A single-file space product hero built with Three.js. A real-textured Earth with clouds, night lights and a blue atmosphere rises from the bottom edge and turns slowly, two orbits with glowing satellites arc over the horizon, and glass cards pinned to cities ride the globe and fade as they turn away. The headline blurs in word by word, a live UTC clock and telemetry tick along, and one pair of brackets glides between the nav links. It ships with a phone menu and a reduced-motion mode. The demo brand is Terrabeam; edit the copy in the HTML and the cities in CITIES. The Earth textures load from public jsDelivr packages, so there is nothing to host.
Build it step by step
Sign in to tick steps off-
1
Set the stage and the copy
Lay out the dark sky, the top bar with a live clock and bracket nav, the centred headline with its serif accent, both buttons and the corner telemetry.
Create a single-file HTML hero for a live Earth-observation product called "Terrabeam". Near-black page (#03050a) with a soft blue radial glow rising from the bottom and a light SVG grain on top. Top bar in three columns: on the left a logo (a small gradient planet with a tilted orbit ring and a moon dot) and the wordmark; in the centre a glass pill with a pulsing green dot, "LIVE" and a ticking UTC clock; on the right a nav with Live globe, Missions, Data API, Pricing, a thin divider and a round "Sign in" pill. Centre the copy near the top: a small uppercase eyebrow "Live from orbit · no dish, no setup" between two fading hairlines, a two-line headline "Watch the whole planet / turn in real time." in Inter Tight 500 with "whole planet" in Instrument Serif italic and the last three words fading to grey, one muted line under it, then a glowing blue "Open the live globe →" pill with a light sweep and a glass "Take the 90-second tour" button with a round play icon. Bottom corners: small telemetry (pass number, ground speed, altitude) on the left and a "Next sweep · Bay of Bengal" countdown on the right.
Done when The page shows the top bar, the centred copy and both buttons on a dark sky, and the clock ticks.
-
2
Render the Earth with Three.js
Put a transparent WebGL layer behind the copy and build a lit, cloudy Earth with night lights and an atmosphere glow that crests the bottom of the screen.
Load Three.js 0.160 as an ES module through an import map from jsDelivr. Add a transparent WebGLRenderer behind the copy and an orthographic camera measured in pixels, so one unit is one CSS pixel. Add about 1,400 twinkling star points. Build the globe from one SphereGeometry: an Earth ShaderMaterial that mixes the Blue Marble day map, a warm-tinted night-lights map on the dark side and a soft specular highlight on water, plus a blue fresnel rim (load the free textures earth-blue-marble.jpg, earth-night.jpg and earth-water.png from the three-globe package on jsDelivr); a cloud sphere at 1.006x using the alpha of clouds.png from the globe.gl package that spins a little faster; and a back-side additive halo at 1.13x for the atmosphere glow. Light it from the upper right. Size the globe to max(1.12 x width, 1.32 x height) and place it so its top edge sits at 61.5% of the viewport height, so only the top cap shows. Tilt it so the band from Africa to Japan faces the viewer, start with longitude 66 in front and spin it slowly eastward.
Done when A lit, cloudy Earth crests the bottom of the screen with a blue atmosphere glow and turns slowly.
-
3
Add orbits, satellites and live city cards
Arc two orbits over the horizon with glowing satellites and trails, and pin glass cards to cities that follow the globe as it turns.
Add two orbit rings around the globe (1.075x solid and 1.15x dashed), each tilted slightly toward the viewer so they arc over the horizon. Give them glowing sprite satellites with a fading 46-point additive trail; depth testing hides them as they pass behind the planet. Keep a CITIES list (name, lat, lon, one stat line such as "29°C · clear · pass in 12m") and convert lat/lon to points on the sphere. Every frame, project each point to the screen, keep only cities that face the camera, sit below the buttons and inside a safe area, and show the three most front-facing as glass cards with a pulsing dot and a thin stem. Ease their opacity in and out as the Earth turns. Drive every pulse and the button light sweep from CSS variables set in the render loop.
Done when Satellites sweep across the top of the Earth and three city cards follow their cities, fading out as they rotate away.
-
4
Intro, bracket nav, parallax and the phone version
Play the rise-and-blur intro once the textures load, make the nav brackets glide, add pointer parallax and fit everything on a phone.
When the textures finish loading, play the intro: the globe rises from below over 2.4 s, the header fades down, and each headline word blurs in one after another (opacity, 14px blur, 16px lift), followed by the line under it, the buttons, the telemetry and finally the city cards. Make the nav brackets "[ ]" a single pair that springs between links on hover and focus and settles back on the current link. Ease the globe a few degrees toward the pointer for a gentle parallax. Under 860px hide the clock pill and the nav and show a "[ Menu ]" button that opens a full-screen blurred sheet (aria-expanded, Escape closes it). Under 560px stack the buttons full width and make the globe 2.15x the screen width. Respect prefers-reduced-motion by skipping the intro and slowing the spin.
Done when The intro plays once, the brackets glide between nav links, the globe follows the pointer, and on a phone the menu sheet opens and closes.
Files and links
-
terrabeam-orbit-hero.html 32 KB The finished file. Open it in a browser. Edit the copy in the HTML, the cities in CITIES, and START_LON to face another region.
What people built
Show yoursNobody has shared a build yet. Yours could be the first.
Show what you built
Built this plan? Sign in to share your demo video, live app and screenshots.