Sol de Witt inverse masks
✓ Published0🌍 Public
Ppeter.sime@gmail.com
Last edited Jan 1, 2026
Created on Jan 1, 2026
Forked from Fork of Sol LeWitt Reproduction - join them
This example reproduces a Sol LeWitt-inspired drawing using two SVG masks to create inverse color effects. It shows a grid of horizontal and vertical black bars that intersect around a central circular area, where the bars appear inverted. The code builds the visualization entirely with SVG elements and the `createElementNS` API, defining two masks—one with a black rectangle and white circle, the other with a white rectangle and black circle—to control which bars display in each region. The bars are generated programmatically in loops, with no external libraries or data sources.
AI-generated descriptionMIT Licensed