Skip to main content
100%

Sol Lewitt Piece Vertical

✓ Published1🌍 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.

MIT Licensed

Similar vizzes