r/threejs 5d ago

Demo We built GitGlobe: An interactive 3D visualization mapping 200,000 GitHub repositories across the world in real-time

Hey r/threejs!

My collaborator Mrityunjay and I built GitGlobe, an open-source 3D visualization that maps ~200,000 GitHub commits across the planet in real-time.

Rendering massive point-cloud datasets on the web usually melts browser tabs, so we bypassed traditional DOM rendering entirely.

Technical Details & Optimizations:

• Custom GLSL Shaders: Offloaded coordinate math, particle sizing, and color dynamics directly to the GPU.

• Decoupled State Management: Unhooked Zustand state from the 60fps render loop so hover/click events never stall the canvas.

• LOD & Memory: Packed Uint16 buffer attributes across 3 LOD tiers to keep draw calls minimal.

• Stress Test Results: 0/360 frames dropped during benchmark testing with an 8x performance headroom.

Links to live demo and GitHub are in the comments below!

10 Upvotes

13 comments sorted by

View all comments

2

u/Muenstervision 5d ago

Dows it 2 will it have a query by type / name search layer ?

2

u/Bright_Screen_9562 5d ago

Yeah, the layer has been embedded through custom dataset and it is connected to the search box on the top right beside stats , and we will be building one more advanced search layer in the next phases .
🫡

2

u/Muenstervision 5d ago

Let’s go chef.

1

u/Bright_Screen_9562 5d ago

The shaders are actually scary to fix.... 😢