Skip to main content
100%

Sol LeWitt reproductin 2

✓ Published1🌍 Public
IIgorGorin00
Last edited Mar 7, 2023
Created on Mar 5, 2023
Forked from HTML Starter

This example reproduces a geometric artwork by Sol LeWitt using SVG masks to create a triangular region filled with alternating black and white stripes. The visualization shows a large triangle centered on the screen, composed of vertical white bars crossing over it and horizontal black bars elsewhere. The code generates SVG elements dynamically via the DOM API, defining two masks—one for the triangle’s interior and one for its exterior—to control where each stripe set is visible. The result is a crisp, tiled pattern that fills the entire viewport.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes