Skip to main content
100%

delaunay.findAll()

✓ Published0🌍 Public
PPhilippe Rivière
Last edited Jul 17, 2019
Created on Jul 17, 2019

This example demonstrates a custom `findAll` method for `d3.Delaunay` that searches for all points within a given radius of a target location. Using 200 points sampled from normal distributions, the visualization animates a growing circle from the center of the canvas, dynamically highlighting points within the expanding radius in orange while leaving others green. The animation, rendered as SVG with d3 transitions, showcases an efficient breadth-first search over the Delaunay triangulation to identify nearby sites.

AI-generated description

A potential method to find all sites within a given distance of a point.

forked from <a href='http://bl.ocks.org/Andrew-Reid/'>Andrew-Reid</a>'s block: <a href='http://bl.ocks.org/Andrew-Reid/04bdbac22406b1c76bf0ae2302614d86'>Voronoi - voronoi.findAll()</a>

mit Licensed

Similar vizzes