Ep3 using js and Sol Lewitt
✓ Published1🌍 Public
This interactive SVG composition, built with vanilla JavaScript and the DOM API, generates a grid-based abstract pattern inspired by Sol LeWitt. Vertical and horizontal translucent bars are drawn across the full viewport using `createElementNS`. SVG masks (`circle-mask` and `circle-mask-2`) are applied to these bars, revealing or concealing them within two circular regions centered on the canvas. The code defines a mask with a white circle on a black background to show the horizontal lines, while a second mask uses a black circle on a white background to show the vertical lines, creating a geometric interplay of shapes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed