3D / WebGL2025

Neural Atlas

A 3D atlas of an LLM's semantic space — fly through embedding clusters, inspect token relationships and watch live inference light up the graph.

Role

Creative Technologist

Client

Personal R&D

Duration

2025

Stack

Three.js · GLSL · React Three Fiber

The challenge

Two million high-dimensional points must render interactively in the browser, with live inference overlays and a smooth fly-through — on commodity GPUs, without breaking 60fps.

The approach

  1. 01

    Projected embeddings to 3D with UMAP, then streamed the results as compressed buffers.

  2. 02

    Wrote a custom GLSL point renderer with additive blending, LOD culling and GPU picking.

  3. 03

    Built a level-of-detail system that swaps point density based on distance and DPR.

  4. 04

    Layered live inference as a streaming overlay so token activations appear in real time.

The solution

Neural Atlas renders 2M+ points at 60fps with bloom and chromatic aberration, letting users fly through semantic clusters and inspect live model behavior — an exploration tool and a performance proof.

Results

2M+

Points rendered

60fps

On commodity GPUs

1

Custom GLSL renderer

LOD

Adaptive detail

Highlights

  • ▹Custom GLSL point renderer
  • ▹LOD + DPR-aware culling
  • ▹Streaming inference overlay
  • ▹UMAP 3D projection pipeline

Technologies

Three.jsGLSLReact Three FiberWebGPUOpenAITypeScript