Fork of Sol Lewit reproduction vertical lines
✓ Published1🌍 Public
This example reproduces a Sol LeWitt-inspired drawing as a series of vertical black lines. It uses the raw SVG API to create and append 100 `rect` elements, each with a fixed width of 10 pixels and a spacing of 20 pixels, spanning the full height of the viewport. The code computes the canvas dimensions from `innerWidth` and `innerHeight`, then positions the rectangles horizontally across the entire screen. This straightforward, procedural rendering approach directly mirrors the minimalist aesthetic of the original conceptual artwork.
AI-generated descriptionMIT Licensed