Skip to main content
100%

SoL LeWitt practice (from video)

✓ Published1🌍 Public
Ddan.tinoco@gmail.com
Last edited Aug 24, 2024
Created on Aug 23, 2024

This example generates a grid-based composition inspired by Sol LeWitt’s wall drawings. Using SVG elements created via the DOM API, it overlays two sets of thin rectangles—alternating vertical and horizontal stripes—onto a canvas. Two SVG masks, each containing a circle and a contrasting rectangular fill, control visibility: one mask reveals the vertical stripes within a central circle, while the other hides the horizontal stripes inside the same circular area. The result is a dynamic interplay of intersecting lines, with the circle acting as a focal lens that inverts the pattern. Rendered in a browser, it runs on JavaScript with no external libraries.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes