Old school D3 from simpler times

Apollonius’ problem is to compute the circle that is tangent to three given circles. There are up to eight such circles.

Drag the circles to see the tangent circles change.

https://d3js.org/d3.v3.min.js