Skip to main content
100%

Color Mesh

✓ Published0🌍 Public
Aajayjayayy
Last edited May 28, 2018
Created on May 28, 2018

A color mesh maps a field of sampled points to a palette of CIELAB colors, with each Voronoi cell filled and stroked by the color of its central sample. The samples are generated using a Poisson-disc sampler, and the Voronoi diagram is computed with d3.geom.voronoi, clipped to the SVG canvas. The color function derives lightness and chromaticity from each point’s distance and offset from the center, producing a smooth radial gradient across the mesh.

AI-generated description

This version uses a Voronoi diagram; compare to a Delaunay triangluation.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/99049112373e12709381'>Color Mesh</a>

gpl-3.0 Licensed

Similar vizzes