Skip to content

No.442 · Maps & Globes

Pulse Globe

Live activity on a dotted globe: every event rings out where it happened, a feed lists the latest, and a sparkline counts the last minute.

The prompt

Copy this text

Automatic copying is unavailable. Copy the selected text using your device’s copy command.

Written for the variant you picked above: Light

Build a real-time activity view: a dotted globe (Canvas 2D, Fibonacci-sampled land from a 1° Natural Earth mask, orthographic, turning slowly at 0.12 rad/s, drag to spin with inertia) beside a 17rem side panel (stacked under the globe below 720px). A seeded stream (so every visit shows the same story) produces an event every 0.35–1.1s at one of twenty real cities, of three kinds — Search 50%, Booking 32%, Sign-up 18% — each kind in a fixed series colour from a colour-blind-checked palette. On the globe each event is a dot with two expanding rings (the second 0.5s later) that fade over 1.6s, scaled by how face-on the point is; events on the far side aren't drawn. The last minute is pre-filled so it opens full. The panel: a mono "Live · last 60 seconds" label, the total as a big tabular number, a sparkline of events per 5-second bucket (12 points, one axis, the first series colour), a legend so colour is never the only key, and a feed of the latest six events (colour dot, kind, city, "4s ago") where the newest row slides in. Hovering or focusing the feed holds it still so it can be read (the globe keeps going) and says so underneath; its live region turns off while held. Pause rendering offscreen; under reduced motion draw a still globe with the latest eight events. Selected variant — Light (light): Apply the light theme. Where the brief above gives no colour values for it, choose a restrained light palette with text at 4.5:1 contrast or better. Keep the geometry, states and motion described above unchanged. This selection takes precedence over references to other themes or options in the general brief. Implement this selected appearance; do not add a variant picker or alternative appearances unless requested. Implementation requirements: Use React and TypeScript. Keep the component self-contained, with uniquely scoped CSS and no animation libraries. Include required imports, styles and font setup in the result. Interaction: Drag the globe to spin it; hover or focus the feed to hold it while you read. Motion: Events every 0.35–1.1s; rings expand and fade over 1.6s; globe turns at 0.12 rad/s; new feed rows slide in over 400ms. Accessibility: The feed is an ordered list with a polite live region (off while held); the sparkline has a text summary; the legend names every colour. Reduced motion shows a still frame of recent events. Responsive behavior: Globe and panel side by side, stacking below 720px; the globe scales to the smaller side of its cell. Touch: Drag to spin on touch; tap the feed to hold it. Preserve keyboard access, visible focus and reduced-motion behavior. Keep fictional demo data and simulated service calls in a separate usage example; expose callbacks for real actions and recover from rejected requests. Keep usage-example links inside the demo: use local buttons or prevent navigation. Demonstration links must not navigate to Vitrine routes or open other pages; preserve real URL support in the reusable component itself. Verify the result at narrow and wide viewport sizes, with keyboard input and reduced motion enabled.

Notes

Interaction
Drag the globe to spin it; hover or focus the feed to hold it while you read.
Motion
Events every 0.35–1.1s; rings expand and fade over 1.6s; globe turns at 0.12 rad/s; new feed rows slide in over 400ms.
Accessibility
The feed is an ordered list with a polite live region (off while held); the sparkline has a text summary; the legend names every colour. Reduced motion shows a still frame of recent events.
Responsive
Globe and panel side by side, stacking below 720px; the globe scales to the smaller side of its cell.
On touch
Drag to spin on touch; tap the feed to hold it.