A lightweight, framework-agnostic 3D globe visualization library powered by Three.js. Display animated arcs between coordinates, land masses with H3 hexagon tessellation, and atmospheric glow effects.
- 🌍 Interactive 3D globe with orbit controls
✈️ Animated arcs between geographic coordinates- 🗺️ GeoJSON-based land visualization with H3 hexagons
- 💫 Ripple effects and atmospheric glow
- 🎨 Fully customizable colors and animations
- 📦 Framework wrappers: TypeScript, React, Vue, Svelte, Solid
npm install @event-globe/tsimport { EventGlobeRenderer } from '@event-globe/ts'
const container = document.getElementById('globe')
const renderer = new EventGlobeRenderer(container, {
autoRotate: true,
globe: {
globeColor: '#3a228a',
showLandPolygons: true,
}
})
renderer.addArc({
startLat: 40.7128,
startLng: -74.0060,
endLat: 51.5074,
endLng: -0.1278,
showEndRing: true,
})| Package | Description | Status |
|---|---|---|
| @event-globe/core | Framework-agnostic Three.js component | ✅ |
| @event-globe/ts | Managed renderer with controls | ✅ |
| @event-globe/react | React wrapper | ✅ |
| @event-globe/vue | Vue 3 wrapper | ✅ |
| @event-globe/svelte | Svelte wrapper | ✅ |
| @event-globe/solid | Solid.js wrapper | ✅ |
See individual package READMEs for detailed documentation:
This project was inspired by and builds upon the following excellent works:
MIT