Algorithms

Explore algorithms step by step, compare them on the same input or build your own text maze.

Fractals

Simple transformations and self-similar patterns.

Apollonian gasket

Compare random point jumps and tangent-circle insertion on the same pattern.

Julia sets

Drag a point across the Mandelbrot map and watch the Julia pattern change.

The Mandelbrot set

Zoom into spirals along the boundary and compare the view at different step limits.

Barnsley fern

Choose one of four maps and build a fern from thousands of points.

Dragon curve

Alternate bends, compare iterations and find a pattern in 90° turns.

Pythagoras tree

Grow a crown of squares, change the branch angle and compare generation areas.

Koch snowflake

Replace one segment with four and compare perimeter and area growth.

Computational geometry

Distances, boundaries and subdivisions of the plane.

Simulations

Explore how simple rules create motion and patterns.

Sorting

Comparisons, swaps, stability and element order.

Bubble sort

Compare neighbors and move the maximum to the end.

Quick sort

Explore Lomuto and three-way partitioning.

Heap sort

Build a heap and repeatedly extract the maximum.

Arithmetic

Algorithms for working with numbers.

Shortest paths

Edge weights, heuristics, negative cycles and route comparisons.

A* search

Combine the path cost with an estimate to the goal.

Bellman–Ford

Handle negative weights and detect negative-weight cycles.

Spanning trees

Connect all vertices with the smallest total edge weight.

Comparison

Prim and Kruskal

One weighted graph, two ways to build a minimum spanning tree.

Data structures

Maintain relationships and query data.

Mazes

Generate passages, compare algorithms and create your own lettering.