🌍 Public
Sol Lewitt Circle
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 descriptionA demonstration of SVG shapes.
MIT Licensed
Comments
Sign in to join the discussion.