Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

COBE

free

A 5 KB WebGL dotted globe with markers, the spinning globe on many launch pages.

by Shu Ding GitHub npm
visit
COBE website

Try these

React Three Fiber

React renderer for three.js: build 3D scenes as JSX components with hooks.

mapcn

Copy-in React map components on MapLibre GL, themed with shadcn tokens: markers, popups, routes, arcs, clusters.

Diffs

Fast code diff and file rendering for React on Shiki: split or unified, virtualised, with annotations.

Trees

A fast, searchable file tree for code browsers, from flat paths, as React or a web component.

For your agent

Install
npm i cobe
Use it for
  • a spinning dotted globe with location markers in a hero or global-network section
Skip it when
  • an interactive map with zoom and real geography: use mapcn
  • a full 3D scene: use r3f
What's inside8 free
  • createGlobe()
  • update()
  • destroy()
  • Markers
  • Arcs
  • Marker Labels
  • Arc Labels
  • CSS Anchors
Facts
Frameworks
vanilla, react
Styling
unstyled
Weight
tiny
Accessibility
n/a
Maturity
stable
License
MIT
Price
Free
Alternatives
Compare COBE with its alternatives
import createGlobe from "cobe"

let phi = 0
const globe = createGlobe(canvas, {
  devicePixelRatio: 2, width: 1000, height: 1000, phi: 0, theta: 0.2, dark: 1, diffuse: 1.2,
  mapSamples: 16000, mapBrightness: 6, baseColor: [0.3, 0.3, 0.3], markerColor: [0.1, 0.8, 1], glowColor: [1, 1, 1],
  markers: [{ location: [52.52, 13.4], size: 0.05 }],
  onRender: (state) => { state.phi = phi; phi += 0.005 },
})
// globe.destroy() on unmount
Visit