Swarm intelligence and nature-inspired optimisation algorithms. Complex behaviour without central control — only local rules.
Open a simulation — it runs right in your browser
Emergent behaviour — system-level properties that arise from inter-agent interactions that are not programmed into any single agent. The ant trail, the bird flock — no individual “knows” about the overall result.
Pathfinding, sorting, neural networks, and search — made visual
Algorithms and AI simulations visualise the step-by-step execution of computer science's most important techniques. Watch A* and Dijkstra explore a maze and compare the paths they discover; observe a genetic algorithm evolve solutions to the Travelling Salesman Problem generation by generation; see a neural network adjust its weights in real time as it learns XOR or digit classification; follow how ant colony optimisation lays pheromone trails to find shortest routes.
Visualising algorithms makes abstract complexity tangible. You can pause playback, adjust heuristic weights, change maze topology, or tweak mutation rates and immediately see how performance changes. These are not toy examples — the same A* heuristic guides characters in AAA games, the same backpropagation trains production neural networks, and the same ACO logic optimises logistics routes in industry.
Algorithm visualisations are one of the most effective learning tools in computer science education. Watching A* expand nodes on a grid, or seeing bubble sort and merge sort side by side, builds an intuition for algorithmic complexity that no amount of reading can replace. These simulations are used in university courses worldwide to teach data structures, graph theory, and machine learning fundamentals.
Topics and algorithms you'll explore in this category
Common questions about this simulation category