Skip to main content
100%

Sol Lewit reproduction

✓ Published1🌍 Public
AAshwani Sajwan
Last edited Apr 22, 2024
Created on Apr 21, 2024

This example reproduces a Sol LeWitt-style geometric drawing by generating a grid of horizontal and vertical lines in pure SVG. It uses two SVG masks (`circle-mask` and `circle-mask-2`) to constrain the lines: the first mask allows the 100 horizontal strips to appear only inside a central white circle, while the second mask shows vertical strips outside that circle. The code builds all elements dynamically via the SVG DOM API (`createElementNS`), with no external libraries, and the result is a minimalist composition of intersecting, masked line bands against a blank background.

AI-generated description
MIT Licensed

Similar vizzes