Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewitt Piece Vertical

Public visualization

Sol Lewitt Piece Vertical

0 stars1🌍 Public
Yyejichun@naver.com
Last edited Jun 28, 2024
Created on Jun 28, 2024
Forked from Sol Lewitt Piece

This example reproduces a Sol LeWitt-style drawing using only SVG and JavaScript. It shows a grid of thin horizontal and vertical lines, where a circular region in the center is masked, leaving the vertical lines visible only outside the mask while the horizontal lines remain unobscured. The code builds the SVG programmatically via the Document Object Model API, using `createElementNS` to construct the `svg`, `mask`, `rect`, and `circle` elements, and applies the mask to the horizontal bands to create the circular cutout effect.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed