Skip to main content
100%

Fork of Fork of Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
MMohammed
Last edited Nov 3, 2023
Created on Nov 3, 2023

This example recreates a Sol LeWitt-inspired geometric composition using D3's selection and data-join methods. It renders 100 horizontal and 100 vertical rectangles across the full viewport, with each set masked by a circular cutout at the center—one mask inverts the other, creating a striking interlocking grid pattern. The visualization uses D3 v6's `select`, `range`, and `append` APIs to construct the SVG elements and masks, with the circle radius fixed at 200 pixels. The code demonstrates how layered SVG masks can produce complex visual effects from simple rectangular primitives.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes