All examples By author By category About

w8r

Smallest enclosing circle

Smallest enclosing circle

This is an implementation of Welzl (1991) algorithm of smallest enclosing circle. Uses some parts of Mike Bostock's code for circumscribed discs.

Move points around and click to add new ones.