Sol LeWitt
✓ Published1🌍 Public
This example renders a generative SVG artwork inspired by Sol LeWitt. It uses raw JavaScript to create an SVG element sized to the browser window, then draws 100 vertical rectangles, each 10 pixels wide and spaced 20 pixels apart, spanning the full height of the canvas. A circular mask, defined in SVG and applied via the `mask` attribute, clips these rectangles, revealing a bold, striped disk centered on the screen. The piece demonstrates programmatic shape creation and SVG masking without any external libraries.
AI-generated descriptionA demostration for SVG shapes
A bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed