A high-performance 3D Earth globe component built with React, TypeScript, and Three.js. Features realistic Earth textures, atmospheric effects, interactive controls, and multiple quality presets.
npm install @thomarket/globeimport Globe from '@thomarket/globe';
export default function Demo() {
return (
<Globe
size={2}
autoRotate={true}
rotationSpeed={0.005}
enableInteraction={true}
enableZoom={true}
minZoom={4}
maxZoom={10}
initialZoom={4}
className="w-full h-96"
/>
);
}
// With custom texture and zoom settings
<Globe
customTexture="/path/to/your/texture.jpg"
size={2}
autoRotate={true}
enableInteraction={true}
minZoom={4}
maxZoom={10}
initialZoom={5}
className="w-full h-96"
/>Loading Earth...