COBE: The 5KB WebGL globe
16 hours ago
- #Data Visualization
- #WebGL
- #Interactive Globe
- COBE is a lightweight 5KB WebGL globe library.
- It can be integrated with any framework like React, Vue, Svelte, or vanilla JS.
- The library provides methods like `createGlobe`, `update`, and `destroy` for globe manipulation.
- Customizable parameters include dimensions, colors, markers, and arcs.
- Markers can be placed using latitude and longitude, with customizable size and color.
- Supports CSS Anchor Positioning for attaching labels or tooltips to markers.
- Continuous rotation can be achieved using `requestAnimationFrame` with adjustable speed.
- Visibility variables are created for markers with IDs to manage label visibility.