Skip to main content
100%

Lesson - Sol LeWitt reproduction Vertical portion

✓ Published0🌍 Public
Aastrologyhesitant
Last edited Sep 20, 2022
Created on Sep 20, 2022

This example reproduces a vertical portion of a Sol LeWitt wall drawing using SVG. It shows a series of thin horizontal rectangles clipped by a circular mask, creating a striking geometric composition of striped bands within a circular boundary. The code builds the SVG dynamically with `document.createElementNS`, setting a `mask` element containing a white circle to reveal the rectangles. The mask uses a black background rect and a white circle to define the visible region, with all elements generated through a simple JavaScript loop.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes