Get it Right - 3: Sol Lewitt (JS)
✓ Published0🌍 Public
This example generates an abstract geometric composition in the style of Sol Lewitt, using an SVG canvas. Vertical and horizontal rectangles with thick beige strokes are layered over a darkslateblue background, with horizontal bands clipped by an SVG mask to create a central rectangular window. The code manipulates SVG elements directly with JavaScript, rebuilding the scene on an interval using `setInterval` and varying the line width to shift the pattern. The mask, defined with `mask` and `rect` elements, controls the visible region.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed