Sol Lewitt Reproduction javascript in html
✓ Published1🌍 Public
This example reproduces a Sol LeWitt wall drawing using JavaScript and dynamically generated SVG. It shows a grid of horizontal and vertical stripes, with a circular area in the center where the pattern is inverted due to two overlapping SVG masks. The code creates the SVG namespace via `document.createElementNS` and builds the composition procedurally. The first mask hides the vertical lines within a 200-pixel radius circle, while the second mask hides the horizontal lines in that same region. The rendering relies entirely on core SVG and JavaScript APIs, with no external libraries.
AI-generated description[Sol Lewitt] Reproduction (https://en.wikipedia.org/wiki/Sol_LeWitt)
MIT Licensed