Building an interactive 3D globe with click-to-zoom navigation, real-time data overlays, and smooth flight path animations while maintaining performance.
Used React Three Fiber for 3D globe rendering, custom shaders for day/night cycle, Zustand for country selection state, Recharts for data cards, and Framer Motion for panel transitions.
// Click-to-zoom country navigation
const handleCountryClick = (country: Country) => {
const { lat, lng } = country.coordinates;
const phi = (90 - lat) * (Math.PI / 180);
const theta = (lng + 180) * (Math.PI / 180);
const target = new THREE.Vector3(
-Math.sin(phi) * Math.cos(theta),
Math.cos(phi),
Math.sin(phi) * Math.sin(theta)
);
gsap.to(camera.position, {
...target.multiplyScalar(2),
duration: 1.5, ease: "power3.inOut",
});
};195
Countries
3 Types
Data Overlays
Interactive
3D Globe
Real-time
Day/Night




Immersive music visualizer with real-time audio analysis, 3D frequency spectrum, and shader-based visual effects.
Virtual art gallery showcasing real-time WebGL shader effects — liquid distortions, ray marching, fractals, and noise landscapes.
Premium animated e-commerce product showcase with 3D product viewers, color morphing, and add-to-cart animations.