Skip to main content
100%

Ep. 3.4 - SoL LeWitt Art Reproduction Final - MK

✓ Published0🌍 Public
Mmattykuch
Last edited Aug 10, 2022
Created on Aug 10, 2022

This example reproduces a Sol LeWitt–style wall drawing using SVG masks to create intersecting stripe patterns. A central circular mask reveals a grid of horizontal and vertical colored bands, while a second inverted mask swaps the visible regions, producing a layered composition of alternating line orientations. The code builds all elements programmatically via the raw SVG DOM API, generating 100 horizontal and 100 vertical rectangles with the `createElementNS` method. No external libraries are used; the full-screen visualization relies solely on native SVG mask and rectangle elements.

AI-generated description

A demo of SoL LeWitt Art.

MIT Licensed

Similar vizzes