Computing in 3D.

Real-time 3D computer science and AI visualizations — neural networks, transformer attention, diffusion sampling, sorting, pathfinding, ray tracing, and CPU pipelines.

Computing

22
Bloom Filter
01

Bloom Filter

A Bloom filter represents a set using a bit array and k hash functions — inserting sets k bits; querying checks all k; false positives emerge as different keys hash to overlapping bits, revealing the probabilistic tradeoff.

data-structureprobabilistichashing
Boids
02

Boids

200 simulated birds obey three local rules — separation, alignment, cohesion — and self-organise into flowing flocks that ripple, split, and re-merge through 3D space.

agentsflockingemergent
Cellular Automata
03

Cellular Automata

Three classic cellular automata run side by side — Wireworld routes electron heads along conductor paths, Brian's Brain pulses with synchronized firing, and Langton's Ant carves a path through its grid by a simple local rule.

cellular-automatoncomputationemergent
Convex Hull 3D
04

Convex Hull 3D

An incremental Quickhull algorithm builds the convex hull of a 3D point cloud — new points are tested against current faces, visible faces get removed and replaced with triangles fanning to the new extreme point, revealing the geometric heart of the hull.

algorithmgeometryincremental
CPU Pipeline
05

CPU Pipeline

A 5-stage CPU pipeline processes instructions — fetch, decode, execute, memory, writeback — each slot shows an instruction progressing through the stages, with hazard stalls and forwarding paths visualized when dependencies arise.

architecturesystemsparallelism
Diffusion Sampling
06

Diffusion Sampling

A denoising diffusion model samples an image — pure Gaussian noise iteratively refined over T steps as the U-Net predicts and subtracts noise, a blurry structure emerges, sharpens, and converges to a clean image.

machine-learninggenerativesampling
Elliptic Curve
07

Elliptic Curve

Point addition on an elliptic curve builds the cryptographic group — two points draw a chord, intersection with the curve and reflection yields their sum, iterating the generator G traces out the cyclic subgroup used in ECDSA.

cryptographyalgebrasecurity
FFT Visualizer
08

FFT Visualizer

A time-domain signal morphs into its frequency-domain spectrum through the fast Fourier transform — the incoming waveform decomposes into its constituent sine components, bins light up at matching frequencies, then transform back to reconstruct.

signal-processingalgorithmspectrum
Game of Life
09

Game of Life

Conway's cellular automaton runs on a 3D plane — living cells extrude as glowing pillars whose height tracks their age, gliders cross the grid, oscillators pulse in place, and chaos blooms from random seeds.

cellular-automatonemergentgrid
Graph Traversal
10

Graph Traversal

BFS and DFS explore a 3D graph from the same start node in parallel — nodes light up in the order each algorithm visits them, edges pulse as they're traversed, revealing how breadth-first spreads in waves while depth-first dives along one path.

algorithmgraphsearch
Hash Table
11

Hash Table

A hash table inserts keys with open-addressing and chaining — a side-by-side comparison shows linear probing's walk along the bucket array versus chaining's linked-list growth when collisions strike.

data-structurehashingcollision
Marching Cubes
12

Marching Cubes

Marching cubes extracts an isosurface from volumetric scalar data — each 8-corner cube consults a lookup table and emits triangles where the surface crosses its edges, sweeping cell by cell to build a smooth mesh from discrete samples.

algorithmgraphicsisosurface
Merkle Tree & Blockchain
13

Merkle Tree & Blockchain

A Merkle tree hashes transactions up to a root, and chained blocks each reference the previous block's hash — inserting a new transaction ripples hash recomputation up the tree, while blocks link into a tamper-evident chain.

cryptographyblockchainhashing
Neural Net Training
14

Neural Net Training

An MLP learns a 2D classification boundary through backpropagation — the decision surface warps over epochs, weights visualize as connection thickness and color, loss descends as the network finds the pattern.

machine-learningtrainingneural-network
Pathfinding 3D
15

Pathfinding 3D

A* and Dijkstra search a 3D terrain grid for the shortest path — open and closed sets highlight as the frontier expands, backtrack reveals the optimal path snaking through obstacles and elevation changes.

algorithmsearchpathfinding
Q-Learning Agent
16

Q-Learning Agent

A reinforcement learning agent explores a gridworld maze, learning by trial and error — ε-greedy action selection balances exploration against Q-value exploitation, the Q-table heatmap gradually carves out a policy leading from start to reward.

reinforcement-learningagentmachine-learning
Quadtree / Octree
17

Quadtree / Octree

An octree adaptively subdivides 3D space around moving points — dense regions split into smaller cells while sparse regions merge, illustrating how spatial indexing accelerates collision queries and nearest-neighbour lookups.

data-structurespatialindexing
Ray Marching SDF
18

Ray Marching SDF

Ray marching traces the camera's rays through a signed distance field — each step advances by the SDF's safe distance toward surfaces, a heatmap shows how many steps each pixel needed, while a clean shaded render emerges above.

graphicsshaderraymarching
Red-Black Tree
19

Red-Black Tree

A red-black tree maintains balance through rotations and recoloring — nodes inserted one at a time trigger left/right rotations and color flips, guaranteeing O(log n) depth even under adversarial input.

data-structuretreebalancing
Sorting Race
20

Sorting Race

Four sorting algorithms race on identical bar landscapes — quicksort, mergesort, heapsort, and radix sort — each bar's height encodes its value, pivots/partitions highlight as the array is reorganized in real time.

algorithmsortingcomparison
Transformer Attention
21

Transformer Attention

A transformer's self-attention matrix lights up across layers — query-key dot products form a heatmap showing which tokens attend to which, softmax normalizes each row, multi-head attention streams from input tokens to a final representation.

machine-learningattentionnlp
Turing Machine
22

Turing Machine

A 3D Turing machine runs a busy-beaver program — the tape unspools as a line of cells, the read-write head hops left and right flipping symbols, the state transitions light up in a state-graph above as the machine computes.

computationtheorystate-machine