(2) Episode 3: Sol LeWitt in Vanilla JS
✓ Published1🌍 Public
This visualization reproduces a Sol LeWitt art piece by rendering a series of vertical black bars across the browser window. It displays 100 rectangles, each 10 pixels wide, evenly spaced at 20-pixel intervals, creating a rhythmic, grid-like pattern that fills the entire viewport. The piece uses raw JavaScript and the SVG API, creating elements with `document.createElementNS` and appending them to the document. The code dynamically determines the canvas size using `window.innerWidth` and `window.innerHeight`, ensuring the artwork adapts to the screen dimensions.
AI-generated descriptionA reporoduction of a Sol LeWitt art piece
MIT Licensed