The wanderlust globe.
A dotted-earth globe you can grab and spin, with glowing great-circle arcs that draw themselves between dream destinations. Here is the concept, the palette, and exactly how the Three.js scene works — so you can build your own.
Dreamy, expansive, azure-and-sunset.
Wander & Co. is a fictional travel atelier from Norfolk, Virginia — so the whole site is framed around a single metaphor: every trip is a line drawn from our coast outward. The globe literalises that. Norfolk sits at the hub, and arcs reach toward Kyoto, the Faroes, Marrakech, Patagonia, and Amalfi.
The palette is deep navy night sky (#0A1220) as the 60%, with soft ink for type, and two 10% accents that carry the whole mood: a sunset orange and an azure blue. Type pairs Fraunces — an optical serif with real warmth in its italics — against Sora for clean, modern body copy. Grain, vignette, and layered radial glows give the flat navy some atmosphere.
A dotted globe, built from points.
Rather than texture-mapping a photographic Earth, the landmasses are a point cloud. We scatter points evenly over a sphere with the Fibonacci (golden-angle) spiral, then keep only the ones that fall on land. Land is decided by a cheap set of latitude/longitude bounding boxes plus a hash so continents read as dotted silhouettes rather than solid bricks. A second, fainter azure point cloud fills the oceans. The result is stylised, lightweight, and unmistakably a globe.
// even points on a sphere, keep the land ones const golden = Math.PI * (3 - Math.sqrt(5)); for (let i = 0; i < N; i++) { const y = 1 - (i / (N-1)) * 2; const r = Math.sqrt(1 - y*y); const th = golden * i; const lat = Math.asin(y) * 180/Math.PI; const lon = Math.atan2(Math.sin(th)*r, Math.cos(th)*r) * 180/Math.PI; if (isLand(lat, lon)) positions.push(/* x,y,z */); }
The arcs are the emotional payload. For each city pair we convert lat/long to 3D vectors, then build a quadratic Bézier great-circle whose control point is pushed outward from the sphere — so the line lifts off the surface in a graceful hop, higher for longer routes. Each arc's drawRange is animated on a looping sine so the line perpetually draws, holds, and retreats, its opacity pulsing with it. A second additive-blended copy of the same curve sits underneath as a soft glow, and an additively-blended comet head — a sprite sampled from the curve at the drawing front — rides the tip of each arc as it draws, fading in at the middle of the sweep and out at the ends. Endpoint spheres, thin rings, and slow-breathing additive halos mark each city.
// great-circle arc lifted above the surface const mid = a.clone().add(b).multiplyScalar(0.5); mid.normalize().multiplyScalar(R + a.distanceTo(b) * 0.42); const curve = new THREE.QuadraticBezierCurve3(a, mid, b); // each frame: reveal a slice of the line line.geometry.setDrawRange(0, Math.floor(p * total));
A back-side fresnel shell adds an atmospheric rim glow that shifts from azure at the poles to warm sunset near the equator. Drag handling is done by hand with pointer events — horizontal drag spins the globe, vertical drag tilts it (clamped), and on release the residual velocity decays so it glides to a stop before resuming a slow auto-spin.
Three, GSAP, and very little else.
Three.js (r160) via ES-module importmap does all the 3D — points, lines, and two small shaders. No OrbitControls: hand-rolled pointer drag was lighter and gave us the exact inertia feel we wanted. GSAP + ScrollTrigger orchestrate everything on the page — the staggered hero reveal, scroll-triggered entrances, the stat count-ups, the how-it-works progress bars, and the scrubbed word-by-word light-up of the testimonial. Google Fonts serves Fraunces and Sora. Everything is inline in one self-contained file.
Performance discipline throughout: setPixelRatio is clamped to 2, point counts drop on mobile, the render loop pauses via IntersectionObserver when the hero scrolls away and on visibilitychange, and prefers-reduced-motion renders a single static frame with every arc fully drawn.
Steal these five.
- Point clouds beat textures for stylised globes. A Fibonacci-sphere scatter filtered by a coarse land test gives a distinctive dotted Earth in a fraction of the weight of an image-mapped one.
- Lift your arcs off the surface. Pushing a Bézier control point outward — scaled by distance — turns flat lines into graceful hops that read instantly as flight paths.
- Animate
drawRange, not geometry. Perpetually drawing and retracting a line via its draw range on a sine wave costs nothing and feels alive. - Hand-rolled drag can beat OrbitControls. A few pointer listeners with velocity decay gave a warmer, more art-directed spin than the default control rig.
- Pause the loop the moment it's off-screen. IntersectionObserver + visibilitychange keeps a heavy 3D hero from ever taxing the rest of the scroll.