Skip to main content
100%

Sol LeWitt

✓ Published0🌍 Public
AArturo Guevara
Last edited Sep 1, 2022
Created on Aug 31, 2022
Forked from Hello HTML

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 description

A bare minimum HTML page.

MIT Licensed

Similar vizzes