Sol Lewitt Piece Excercise
This example reproduces a Sol LeWitt-inspired drawing by generating 750 concentric circles from three anchor points: the center of the top edge, the bottom-left corner, and the bottom-right corner of the viewport. Each circle’s radius increases incrementally, and its stroke color is randomly chosen from a full hex palette, creating a dense, colorful web of intersecting rings. The visualization is built entirely with raw SVG elements created via `document.createElementNS` and appended directly to the DOM, with no external libraries. The code computes viewport dimensions from `window.innerWidth` and `window.innerHeight`, and uses a `getRandomHexColor` function to assign each stroke a unique random color.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.








Comments
Sign in to join the discussion.