Skip to main content
100%

Fork of Sol Lewit reproduction vertical lines

✓ Published1🌍 Public
AAshwani Sajwan
Last edited Apr 23, 2024
Created on Apr 23, 2024

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 description
MIT Licensed

Similar vizzes