Fork of Sol LeWitt Reproduction T
✓ Published0🌍 Public
IisTeamoor
This example reproduces a Sol LeWitt geometric artwork using raw SVG elements in a full-window canvas. It shows a grid of thin vertical and horizontal lines intersecting to form a striped pattern, with a central circular region and a small square cutout highlighted by masks. The code creates two SVG masks—one with a black background and white circle/square, another with white background and black circle—to selectively show line orientations: horizontal stripes appear inside the circle, while vertical stripes appear outside it. Using plain JavaScript DOM methods like `createElementNS` and `setAttribute`, it generates 100 rectangles in each direction without any external libraries.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed