A section on the OFM Jobs homepage. Dots for land, arcs between hiring cities, a sphere you can pick up and spin. It has been live since launch, and the one on the right is the real thing.
It is the fifth section down, well past the fold and right before the job listings. Nothing that far into a page gets attention for free.
Stripe's globe, and Anthropic's. I borrowed the idiom openly, a sphere of points with land picked out by density and arcs between places.
850 lines of TypeScript and a 2D canvas. There is no three.js, no WebGL, no d3 and no globe library, because nothing five sections down a marketing page justifies hundreds of kilobytes.
Forty rotated ellipses stand in for map data. Where they overlap the value is soft, so coastlines fade rather than step.
Points are placed by the Fibonacci sphere method, which spreads them evenly. A latitude and longitude grid would crowd the poles and thin the equator.
Interpolating in sRGB dips through a muddy middle. A perceptual space keeps the ramp even, which matters when brightness is the only thing carrying depth.
Pointer velocity is sampled every frame and handed straight to the rotation on release. A flick and a nudge feel different, which is what makes it read as an object.
The animation loop cancels off-screen, and pixel ratio is capped at 2. Sitting fifth, it is out of view for most of a visit.
This is the production version, live on the OFM Jobs homepage since launch.