Neural Sandbox

Fifteen interactive AI demos — evolution, optimization, learning, diffusion, chaos, emergence, search, and more — running entirely in your browser.

No frameworks · no build step · zero dependencies · View Source on any demo to read the whole thing.

Artificial Life

Foragers

Tiny neural brains evolve, generation by generation, to hunt food and flee predators — no rules, just selection.

Open demo →
Optimization

Optimizers Arena

Watch SGD, Momentum, NAG, RMSProp and Adam race across a 2D loss landscape. Drag the start, pick the terrain.

Open demo →
Interactive ML

Neural Playground

Paint your own dataset and watch a from-scratch MLP learn the decision boundary live. TF Playground, but you draw the data.

Open demo →
Generative Models

Diffusion Lab

A tiny denoiser trains live, then turns pure Gaussian noise into a shape — the DDPM intuition made visible.

Open demo →
Generative Art

Reaction-Diffusion Studio

Paint life into chemistry. Gray-Scott Turing patterns forming in real time — coral, mitosis, worms. Export your favourite.

Open demo →
Swarm Intelligence

Boids

Three local rules — separation, alignment, cohesion — and a flock emerges with no leader. Tune the weights, add a predator.

Open demo →
Emergence

Automata Lab

Paint a few cells, pick a rule (Life, HighLife, Maze…), and watch complexity bloom from nothing.

Open demo →
Chaos & Dynamics

Strange Attractors

Lorenz, Clifford, De Jong — watch deterministic chaos draw itself into glowing light.

Open demo →
Reinforcement Learning

RL Playground

A Q-learning agent learns the shortest path one episode at a time — watch value spread and policy emerge.

Open demo →
Interactive ML

K-Means Lab

Scatter points, drop centroids, and watch clusters crystallize — with Voronoi regions and k-means++ seeding.

Open demo →
Procedural Generation

Wave Function Collapse

Coherent patterns crystallize out of pure constraint propagation — observe, collapse, propagate, repeat.

Open demo →
Signals & Math

Fourier Epicycles

Draw any closed path and watch a chain of spinning circles redraw it — the DFT made visible.

Open demo →
Artificial Life

Slime Mold

Thousands of mindless agents follow and reinforce trails — and a living Physarum network emerges (stigmergy).

Open demo →
Evolutionary Optimization

Genetic TSP

A genetic algorithm untangles the traveling-salesman route — selection, ordered crossover, mutation, elitism.

Open demo →
Search Algorithms

Pathfinding Visualizer

Watch A*, Dijkstra, BFS and Greedy race across a grid — draw walls, generate mazes, compare what they explore.

Open demo →