Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stage 2 of Sol LeWitt Reproduction

Public visualization

Stage 2 of Sol LeWitt Reproduction

0 stars1🌍 Public
AArnulfotos
Last edited Feb 18, 2023
Created on Feb 18, 2023

This example reproduces the second stage of a Sol LeWitt wall drawing using raw SVG and JavaScript. It creates two circular masks over a full-window canvas, then draws 100 horizontal and 100 vertical stripes. Horizontal stripes appear only inside the first mask, while vertical stripes are visible outside the second mask, producing a grid that shifts from a solid square to an open circle at the center. The code builds all elements dynamically using `document.createElementNS` and sets attributes directly, with no external libraries.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed