Computes circumcenters of simplices


Computes the circumcenter of a simplex. That is, it is the center of an n-sphere passing through n+1 points.


First install using npm:

npm install circumcenter

Then you can call it like so:

var circumcenter = require("circumcenter")
console.log(circumcenter([[0,0], [0,1], [1,1]]))
//    [0.5, 0.5] 

Computes the circumcenter of a collection of points

Computes the circumcenter in barycentric coordinates


(c) 2013 Mikola Lysenko. MIT License