Skip to main content
100%

Sol Lewitt Circle

✓ Published0🌍 Public
CCameron Wehr
Last edited Aug 30, 2023
Created on Aug 30, 2023
Forked from JS practice

Full-screen SVG masks create a circular window that reveals intersecting vertical and horizontal striped rectangles, based on Sol Lewitt’s wall drawings. The code constructs two masks—one with a white circle on black and another with a black circle on white—then applies them to 100 vertical and 100 horizontal rectangles using `createElementNS` and `setAttribute`. This renders a geometric pattern where the circle area shows colored bands while the surrounding background remains empty.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes