Swarm intelligence and nature-inspired optimisation algorithms. Complex behaviour without central control — only local rules.
The Algorithms & AI category covers the core ideas of computer science made visual: pathfinding, sorting, search, graph theory, dynamic programming, data structures and machine-learning fundamentals. Each interactive Algorithms & AI model runs directly in your browser, so you can step through A* expanding a grid, watch a genetic algorithm evolve a solution, or see how ant colony optimisation finds the shortest route. You will learn how heuristics, recursion, complexity and emergence actually behave — building intuition that static diagrams and textbooks struggle to convey. These topics matter because the same techniques power navigation, logistics, compression, databases, game AI and modern machine learning, making this a practical way to learn Algorithms & AI online.
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
Every Algorithms & AI simulation here is free, browser-based and built for hands-on learning. Each interactive Algorithms & AI model lets you change the inputs — paint walls for A* pathfinding, adjust mutation rates for a genetic algorithm, or reshuffle bars for a sorting visualiser — and watch the consequences update in real time. From classic data structures and graph traversal to optimisation and machine learning, this is a practical way to learn Algorithms & AI online. The same methods drive real-world applications such as GPS route planning, where pathfinding finds the fastest road, and robotics, logistics, compression and game AI.