Skip to main content
100%

Apollonius’ Problem II

✓ Published0🌍 Public
MMartyBonacci
Last edited Mar 18, 2018
Created on Mar 18, 2018

Three circles in semi-transparent blue, orange, and green are drawn on an SVG canvas and can be dragged with d3.behavior.drag. As they move, eight thin concentric ring pairs appear, each representing one solution to Apollonius’ problem: a circle tangent to all three given circles, computed via the apolloniusCircle function and rendered with d3.v3 selections. The rings update live during dragging, using the current positions and radii stored in the bound data objects.

AI-generated description

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.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/7115f7a0393de96f2fdc'>Apollonius’ Problem II</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/e6c33353e2987e8e12a7c903b4b5e347'>Apollonius’ Problem II</a>

gpl-3.0 Licensed

Similar vizzes