Apollonian gasket
Compare random point jumps and tangent-circle insertion on the same pattern.
Explore algorithms step by step, compare them on the same input or build your own text maze.
Simple transformations and self-similar patterns.
Compare random point jumps and tangent-circle insertion on the same pattern.
Drag a starting point and follow its orbit toward one of three roots.
Drag a point across the Mandelbrot map and watch the Julia pattern change.
Zoom into spirals along the boundary and compare the view at different step limits.
Choose one of four maps and build a fern from thousands of points.
Alternate bends, compare iterations and find a pattern in 90° turns.
Grow a crown of squares, change the branch angle and compare generation areas.
Replace one segment with four and compare perimeter and area growth.
Choose a vertex, move halfway and watch thousands of points reveal a pattern.
Distances, boundaries and subdivisions of the plane.
Compare brute force with divide and conquer: halves, a boundary strip and distance checks.
Build a mesh with edge flips, test circumcircles and overlay Voronoi cells.
Build the outer boundary with Andrew’s algorithm: two chains and a turn test.
Move sites, construct cells step by step and compare distances.
Explore how simple rules create motion and patterns.
Edit the initial row and transition table of an elementary cellular automaton.
Inspect turns and colour flips, edit the field and explore the diagonal highway.
Draw cells, count neighbours and inspect birth, survival and death.
Open the gate, draw obstacles and inspect one grain’s next move.
Change obstacles and inspect one bird’s neighbors and steering vectors.
Comparisons, swaps, stability and element order.
Insert each value into the sorted prefix.
Compare neighbors and move the maximum to the end.
Find the minimum and put it in the next position.
Split the array and merge sorted parts.
Explore Lomuto and three-way partitioning.
Build a heap and repeatedly extract the maximum.
Algorithms for working with numbers.
Split numbers into blocks and count multiplications at each level.
Lay out squares, follow the remainders and find the GCD.
Search in arrays and strings, and explore graphs.
Comparison
Order dependencies and detect cycles with two algorithms.
Comparison
Partition a directed graph into SCCs with two DFS passes or index/low-link and a stack.
Narrow the search range in a sorted array.
Find the minimum number of insertions, deletions and substitutions and trace the edits.
Find autocomplete suggestions and reuse shared prefixes for typo search.
Find multiple patterns in one pass and explore overlapping matches.
Comparison
Compare naive search and KMP on the same text and count character comparisons.
Compare characters from right to left and skip positions using a shift table.
Update the rolling hash as the window moves and explore hash collisions.
Comparison
Compare naive search, KMP, Horspool, and Rabin–Karp on one text using a shared timeline.
Explore the graph in layers with a queue.
Follow a branch and backtrack to explore alternatives.
Choose a vertex by its estimated distance to the goal.
Edge weights, heuristics, negative cycles and route comparisons.
Find shortest paths with non-negative weights.
Combine the path cost with an estimate to the goal.
Handle negative weights and detect negative-weight cycles.
Find shortest paths between every pair of vertices.
Comparison
One weighted maze: compare hop count and path cost.
Comparison
One graph: change weights and compare when each algorithm applies.
Connect all vertices with the smallest total edge weight.
Grow one tree by choosing an edge on its boundary.
Process edges by weight and merge components.
Comparison
One weighted graph, two ways to build a minimum spanning tree.
Maintain relationships and query data.
Merge sets by size and compress paths to their representative.
Generate passages, compare algorithms and create your own lettering.
Generate a maze with DFS and solve it with BFS or DFS.
Comparison
The same grid and seed, different rules and passage patterns.
Constructor
Your text, font, algorithms, music and video export.