Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt X

Public visualization

Viewing a saved revision (read-only)

c56ea110185e45e3bcac2af87e7f2f2b

Sol LeWitt X

1 star0🌍 Public
Eeric.r.thornhill@gmail.com
Last edited May 12, 2025
Created on May 12, 2025

This generative visualization creates an "X" composition using two overlapping white rectangles, with horizontal lines visible only inside the X and vertical lines appearing only outside it. Built with raw JavaScript and the SVG API, the sketch uses `<mask>` elements to control line visibility: a mask with black X shapes hides vertical strokes inside the form, while an inverse mask reveals horizontal strokes only within the X. Black horizontal and vertical bars are drawn in loops at 20-pixel spacings, each masked to achieve the alternating pattern across the full viewport. The piece dynamically sizes to the browser window and uses no external libraries.

AI-generated description