Animation of kmeans clustering using X Window System

Add a Review
1 Download (This Week)
Last Update:
  Browse Code SVN Repository



Open source animation of kmeans clustering in X Window System using the C++ libplotter library. Supports Linux, Windows, Mac, and BSD. Includes common initialization methods such as Forgy, Macqueen, random, and angular. Sample videos are available through the Files Tab above. The SVN repo is accessible thorugh the Code Tab above.

Requires g++, libplot-dev, and libncurses5-dev

Mac alternative to libplot-dev: macports plotutils +x11

KMeansAniX Web Site


  • Animations can play automatically in adjustable speeds or manually to allow frame by frame centroid tracking
  • Hotkeys allow jumping backwards and forwards through the kmean process in automatic and manual mode
  • Legible axes inferred from the data
  • Displays the quantization error throughout the training process

Update Notifications

Write a Review

User Reviews

Be the first to post a review of KMeansAniX!

Additional Project Details

Intended Audience


User Interface

X Window System (X11)

Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.