Skip to content

snorthway/algo-viz

Repository files navigation

Algorithm Visualization

Watching animations is great for building intuition about how various algorithms work, and making them yourself is even better! All animations were made in Python with matplotlib; the gifs were screencapped.


Bubble Sort

Animation of the bubble sort algorithm on a bar graph

Merge Sort

Animation of the merge sort algorithm on a bar graph

RanSaC (Random Sample Consensus) in 1D

Animation of the RanSaC algorithm in one dimension

RanSaC in 2d

Animation of the RanSaC algorithm in two dimensions

K Nearest Neighbors

Animation of the K Nearest Neighbors algorithm

About

Algorithm animations in matplotlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages