Sol LeWitt
✓ Published0🌍 Public
This example generates a minimalist SVG composition inspired by Sol LeWitt, using intersecting horizontal and vertical bands clipped by triangular masks. It renders 99 horizontal and 99 vertical rectangles, each 10 pixels thick and spaced 20 pixels apart, creating a grid-like overlay. The code uses the SVG `mask` element and `polygon` shapes to define two complementary triangular regions, with horizontal strokes visible through one mask and vertical strokes through the other. The visualization is built entirely with vanilla JavaScript and the native SVG DOM API, requiring no external libraries.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed