kirupa.com

20 / WHO'S ONLINE

Who's Online

Globe renderers, visitor tables, interaction states, and privacy boundaries.

Agent Instructions / online

You are extending Who's Online on kirupa.com. Reuse whos-online/clay-globe.js and the appropriate registered renderer, preserving shared camera, geography, visitor semantics, and the Location/Page table. Maintain each skin's distinct material: clay, smooth, vector, dot matrix, woodblock, pixel planet, two-color terminal, pen and pencil, or glossy candy. Keep location search dialogs and page links readable, keyboard turning usable, reduced motion calm, and loading/empty/error states explicit. Preserve location-dialog dismissal, focus return, and geographic search context; unknown locations must not offer misleading links. Documentation uses fictional rows and must not poll production presence. Do not expose raw IPs, precise personal locations, or new tracking. Preserve the privacy boundary and Natural Earth attribution. Follow WCAG 2.2 AA for new or changed content: semantic HTML, keyboard access, visible focus, readable contrast in every theme, text alternatives, labeled controls, and explicit errors. Support zoom/reflow, respect reduced motion, and keep sound optional. Read /design/sections/accessibility.md for acceptance checks. Report unresolved barriers; automated checks alone do not establish conformance.

The original Pixel view of Who's Online is a shaded low-poly clay globe with raised land, location pillars, clouds, paper planes, and softly moving background shapes. Drag to turn it; keyboard arrows also orient it.

The Location/Page table lists the same visitors without requiring map interaction. Known locations are buttons that open a small dialog with Google Maps and Wikipedia searches using the available city, geographic region, and country. Unknown locations stay plain text. Escape, Close, clicking outside, or tabbing away dismisses the dialog; live refreshes preserve it while that location remains available. Page names are links; automatic globe focus follows a newly arriving visitor after an idle period.

Every other style draws the globe its own way:

  • Smooooth rounds the same world.
  • Sci-Fi turns it into a vector navigation display.
  • Minimal uses an ink-dot matrix on paper, solid dots for active visitors, rings for recent arrivals, and no clouds, planes, or shadows.
  • Ukiyo-e uses paper land, wave-pattern sea, mist, sun/moon, cranes, and seal-like cities.
  • Plakat uses a flat Bauhaus circle in the theme color with ink or paper land on a hairline grid, accent triangles, a diamond, a star, a bar and a square on a tilted ring, square visitors (solid for online now, hollow for recent), and arrowhead planes.
  • Terminal uses square foreground dots on its background, a dotted rim, and solid or hollow squares for visitors, in its two colors.
  • Sketch draws a pen-and-pencil globe on its graph paper: a double pen rim, a dashed pencil graticule, hatched land, and marker-filled or open circles for visitors.
  • 3D is a glossy candy ball drawn by a WebGL shader: real lighting with a wrapped key light, a sharp glint and a broad sheen on the sea, raised continents lit from the land map's slopes, snowy caps, a rim light and a halo in the theme color, on a soft contact shadow.

In 3D, visitors are candy beads on short pins, pink for online now and yellow for recent, that bob gently and pop in when they arrive; the host hit-tests each at its resting spot with room for the whole bob. It draws only the ball, at the host's capped pixel ratio, and without WebGL the clay globe takes over.

All nine renderers share the underlying geography, camera, visitor data, and interaction semantics; changing a skin must not change what a visitor means. Active and recent arrivals from the last 30 minutes appear in the table and count. Production polling and privacy handling belong to the existing presence service.

The specimen below runs the actual renderer against a fixed, explicitly fictional fixture. It never calls the live presence endpoint. Its rows are examples, not visitor statistics. Geography keeps its Natural Earth attribution. Loading, disconnected, empty, and reduced-motion states must stay comprehensible.

The real globe; fictional visitors

LOCAL PREVIEW

Activate this specimen to load its real styles. No saved preferences change.

Do not add a distracting right rail or expose identifying visitor data. The live page's public explanation describes a short-lived private fingerprint and no raw address sent to the browser; preserve that boundary rather than adding client-side location tracking.

  • Do preserve the visitor table, keyboard behavior, tooltips, and a visible error when rendering or data fails.
  • Do keep map geography distinct from location precision; a marker is not somebody's exact address.
  • Do not use real presence data in a design fixture or initialize live tracking from a specimen.
Source mapwhos-online/index.phpwhos-online/clay-globe.jswhos-online/clay-globe.csswhos-online/clay-globe-nature.jswhos-online/clay-globe-scifi.jswhos-online/clay-globe-minimal.jswhos-online/clay-globe-ukiyoe.jswhos-online/clay-globe-plakat.jswhos-online/clay-globe-terminal.jswhos-online/clay-globe-sketch.jswhos-online/clay-globe-3d.jswhos-online/countries.LICENSE.txt