Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewitt Piece Excercise

Public visualization

Sol Lewitt Piece Excercise

2 stars0🌍 Public
Yyejichun@naver.com
Last edited Jul 8, 2024
Created on Jul 8, 2024

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 description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed