Case study · 2025
Particle Globe
A 10,000 point WebGL globe that turns as you scroll.
Highlights
- 10,000 points spread evenly over a sphere and drawn as one Three.js point cloud
- Scrolling the whole page spins the globe through one full turn with GSAP ScrollTrigger
- Mouse and touch movement tilt the globe, eased a little on every frame
A globe made of dots looks complicated and turns out to be mostly maths. I place 10,000 points on the surface of a sphere using random angles, with an arccos step so they spread evenly instead of bunching up at the poles. Three.js draws them as a single point cloud in soft purple, and the WebGL canvas fills the first screen with a heading on top.
Two inputs move it. GSAP ScrollTrigger maps scroll progress across the whole page to one full turn around the vertical axis, so the globe keeps rotating as you move through the sections below it. The mouse, or a finger on a touch screen, tilts it on top of that. Each frame the rotation eases toward the pointer position, which keeps the motion smooth rather than jumpy.
The heading fades and rises into place with a short GSAP tween when the page loads.


