Self-Modifier
An AI-powered playground of interactive simulations, games, and creative tools — all built and continuously refined by the AI itself.
Chat with the AI
FeaturedStart a conversation with an AI that has full access to this application's source code. Ask it to build new features, fix bugs, or explain how anything works — and watch it modify itself in real time.
Ochre
FeaturedA systems theorem prover combining Rust with dependent types — explore the thesis, slides, and deep dive into the language design.
Physics
Forces, fluids, and chaos
Gravity
N-body gravitational simulation — spawn stars and watch orbital mechanics unfold.
Waves
2D wave equation solver with interactive emitters and interference patterns.
Double Pendulum
Chaotic motion visualised with trails — tiny changes lead to wildly different paths.
Strange Attractors
Lorenz, Rössler, Aizawa, Thomas & Halvorsen rendered as flowing 3D particle trails.
Fluid Simulation
Real-time Navier-Stokes fluid dynamics — inject colorful dye and watch it swirl and diffuse.
Simulations
Emergent behaviour from simple rules
Game of Life
Conway's cellular automaton — draw patterns, load presets, and watch emergence.
Particle Life
Six species of particles with tunable attraction rules create emergent chemistry.
Boids
Emergent flocking behaviour from three simple rules — separation, alignment, cohesion.
Reaction Diffusion
Gray-Scott model producing Turing patterns — mitosis, coral, spots and more.
3D & Visuals
Procedural worlds and GPU-rendered graphics
Interactive Tools
Play, listen, learn, and explore
Chess
Play against a minimax engine with move hints and Lichess analysis export.
Synthesizer
A Web Audio API synth with oscillators, filters, and a playable keyboard.
Neural Network
Build, train, and visualise neural networks learning to classify — pure backpropagation in real time.
Sorting Visualizer
Watch eight classic sorting algorithms race through arrays in real-time with colour-coded bars and sound.
Meta
Pages about the website itself