Skip to main content
100%

Mosaic III

✓ Published0🌍 Public
AAjayyy
Last edited Jul 17, 2018
Created on Jul 17, 2018

This visualization uses a Poisson-disc sampling algorithm to generate a set of points across a 1920×1080 canvas, which then feeds a D3.v4 Voronoi tessellation to create a mosaic of polygons. Each polygon is filled and stroked with a color derived from its centroid’s distance from the canvas center, computed in the CIE Lab color space via d3.lab. The result is a smooth radial gradient of hues across the irregularly shaped cells, rendered as SVG paths. The code relies on d3.voronoi and a custom poissonDiscSampler implementation based on Jason Davies’ algorithm.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes