Blyx

Blyx playground

Edit a program and see the result as you type. Execution stays in your browser.

Compare two centroids

Compare squared distances to two candidate centers in one pass per center.

Download this Blyx example

Output Ready