Skip to main content
100%

Cushion Voronoi

✓ Published0🌍 Public
FFrissAnalytics
Last edited Sep 30, 2018
Created on Sep 30, 2018

This visualization shows a Voronoi diagram of 20 randomly placed sites, with each cell shaded by a radial gradient centered on its site. Darker regions indicate higher cost to reach the nearest site. The example uses the `d3.voronoi()` API to compute cell polygons from random points, then renders them as SVG paths filled with `radialGradient` definitions in user space. Each site is marked with a gray circle, and the gradient extends 300 units from the center, creating a cushioned, 3D-like depth effect.

AI-generated description

A Voronoi diagram colored with a radial gradient centered on each cell's site. The luminance of each point is proportional to the cost of reaching the nearest site (the darker the color, the higher the cost).

forked from <a href='http://bl.ocks.org/nitaku/'>nitaku</a>'s block: <a href='http://bl.ocks.org/nitaku/dd611c0e4dae1d38eab67aedae7ac44f'>Cushion Voronoi</a>

forked from <a href='http://bl.ocks.org/FrissAnalytics/'>FrissAnalytics</a>'s block: <a href='http://bl.ocks.org/FrissAnalytics/5b94922783274e99e6cffe76cd3ba268'>Cushion Voronoi</a>

mit Licensed

Similar vizzes