🌍 Public
Viewing a saved revision (read-only)
27ae56818f64456cb4644a6d1feb188c
Fork of SoL LeWitt with D3 (from video)
This example renders a generative art piece inspired by Sol LeWitt, using D3 v6 to create a grid of horizontal and vertical rectangles. Two SVG masks form a circular aperture, with one mask revealing the horizontal lines through a white circle and the other showing vertical lines outside a black circle. The drawing updates to the full window size and uses D3’s `select`, `range`, and `join` to bind data to the 100 rectangles per axis. The result is a clean, mask-based composition that changes with the viewport.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.