Skip to main content
100%

Fork of Sol LeWitt Exercise

✓ Published0🌍 Public
PPriya Patel
Last edited Aug 25, 2022
Created on Aug 25, 2022

This example generates a randomized geometric composition inspired by Sol LeWitt, using four triangular SVG masks to carve diagonal planes across the canvas. It renders one hundred horizontal and vertical rectangles per side, each with random heights, widths, and gaps, creating a dense grid of intersecting bars. The code relies on the D3 selection API only for module imports, while building all SVG elements manually via `document.createElementNS`. A single random offset determines the diagonal cut for all four masks, producing a cohesive, abstract pattern that changes with each reload.

AI-generated description

Sol LeWitt Attemp with random Values

MIT Licensed

Similar vizzes