Zero dependencies
No WebGL, no D3, no tiles, no API keys. Country geometry ships inside the package.
Interaction
Drag with momentum, scroll to zoom, pinch, hover, click, and use keyboard controls.
Ten presets
Dot-matrix hologram, neon, blueprint HUD, printed atlas. Every piece composes.
Country canvas
Play an image, GIF or video inside a country's outline.
Knows the viewer
Places them from their time zone. No permission prompt, no network call.
Two lines to a globe
import { createGlobe } from "canvas-globe";
createGlobe(document.querySelector("#globe"), {
licenseKey: "your_license_key",
markers: [{ lat: 23.03, lon: 72.58, count: 12, emoji: "🧑🎨", live: true }],
});Install it →Evaluating alternatives? Read the JavaScript globe library comparison.
One package. Two license paths.
Open source when you can. Commercial when you need proprietary terms.
Use the full library under GPLv3 for a compatible project, or buy a commercial license for a proprietary product. Both options use the same package and API.
Around the web
Read the story or try CanvasGlobe somewhere else
These pages offer another way to understand the project, from the story behind its Canvas 2D renderer to a live notebook you can use without installing anything.