Skip to main content
100%

Sol LeWitt Reproduction Vertical

✓ Published1🌍 Public
Nnreinig3@gatech.edu
Last edited Dec 4, 2023
Created on Dec 2, 2023

This example reproduces a Sol LeWitt-style drawing using only raw SVG and JavaScript. It shows a vertical stack of 100 horizontal rectangles whose visibility is restricted to a circular region centered on the screen. The code creates an SVG via the DOM API, defines a `<mask>` with a white background and a black circle, and applies that mask to each yellow rectangle. The result is a crisp geometric pattern of horizontal bands inside a circle, rendered entirely without external libraries or frameworks.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes