Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt Reproduction

Public visualization

Viewing a saved revision (read-only)

a30c4a79cfdf40f7835c2010e6e3d85e

Fork of Sol LeWitt Reproduction

0 stars0🌍 Public
RRob Wainwright
Last edited Mar 29, 2024
Created on Mar 29, 2024

This example reproduces a Sol LeWitt art piece by drawing two intersecting sets of striped rectangles over a full-screen SVG. One set of horizontal bands and one set of vertical bands are clipped using two polygon masks, creating a triangular intersection where horizontal lines appear inside one mask and vertical lines appear inside the other. The code builds the SVG dynamically via the DOM API, creating 100 rectangles in each direction and applying masks defined with `<polygon>` elements. It uses no external libraries, relying purely on native SVG elements and JavaScript.

AI-generated description

A reproduction of a Sol LeWitt art piece.