Algorithm Animations Hub

Select an animation to explore how different algorithms transform data step-by-step.

Bubble Sort

Watch how adjacent swaps gradually push the largest values to the top.

Insertion Sort

See elements find their place as the sorted portion grows one item at a time.

Merge Sort

Follow the divide-and-conquer process that merges sorted sublists.

Quick Sort

Explore partitioning around pivots to sort data efficiently.

Heap Sort

Observe how a binary heap produces a sorted array through selective removal.

Dijkstra's Algorithm

Track how a priority queue tightens tentative distances to reveal shortest paths.

gzip Visualization

Inspect the compression pipeline from tokenization to entropy encoding.

Huffman Coding

Watch a Huffman tree grow and see how optimal prefix codes are assigned.

SPI Protocol

Trace clocked data transfers across master and slave lines in real time.

I2C Protocol

Follow start, address, and acknowledge phases on the shared SDA and SCL bus.

UART Protocol

Explore asynchronous serial frames from start bit to parity and stop timing.

WS2812B LEDs

See how microsecond-level pulses encode colors for individually addressable LEDs.

AES Round

Step through the core transformations that mix substitution and diffusion in AES-128.

RSA Keys

Watch key generation, encryption, and signatures unfold on a shared modulus.

Diffie–Hellman

Follow two parties as they derive a shared secret across an open channel.