Animating the K-Means Clustering algorithm (written from scratch) in 2D using 3Blue1Brown's math animation engine manim in Python.
- 1440p60 version on YouTube.
- Tune hyperparameters in
animation_engine.py
- Run
manim animation_engine.py KMeansAnim -pl
in a terminal in the repo folder. - Output generated in
./media/videos/animation_engine/480p15