Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt Reproduction Mask Inverse

Public visualization

Sol LeWitt Reproduction Mask Inverse

0 stars1🌍 Public
AAndre J Denais
Last edited Apr 21, 2021
Created on Apr 21, 2021

This example reproduces a Sol LeWitt art piece using an SVG mask to create an inverse circle effect. Horizontal black stripes are partially revealed through a circular mask centered on the canvas, while vertical stripes overlay the full height. The code constructs the SVG dynamically with JavaScript, creating 100 horizontal rectangles masked by a white circle on a black background, plus 100 unmasked vertical rectangles. It uses raw SVG APIs including `createElementNS`, `mask`, and `rect` elements, with no external libraries.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed