computer-science

Computer Science

The science of computation — sorting algorithms racing, pathfinding through mazes, cellular automata creating life, and the elegant structures behind software.

algorithmssortingpathfindingGame of Lifecellular automatabinary searchdata structures

Computer science is not about computers — it's about computation, information, and the fundamental limits of what can be solved algorithmically. From sorting a list to finding the shortest path through a network, from Conway's Game of Life to the P vs NP problem, computer science reveals the deep structure of problem-solving itself.

These simulations visualize the invisible work that algorithms do. Watch sorting algorithms race to organize data, see pathfinding algorithms explore mazes, observe how simple cellular automata rules produce astonishing complexity, and understand the binary trees that power modern databases.

5 interactive simulations

simulator

Binary Search vs Linear Search

Race binary search against linear search to see why halving the search space is exponentially faster than scanning one by one

simulator

Conway's Game of Life

Watch complexity emerge from four simple rules — gliders, oscillators, and spaceships in the most famous cellular automaton

simulator

Hash Table Collision Visualization

See how hash functions map keys to buckets and how collisions are resolved through chaining or open addressing

simulator

A* Pathfinding Visualizer

Watch A*, Dijkstra, and BFS explore a grid to find the shortest path — see how heuristics dramatically reduce search space

simulator

Sorting Algorithm Race

Watch sorting algorithms race in real time — see why O(n log n) beats O(n²) as arrays grow larger