Fork of Fork of Fork of Sol LeWitt-Inspired Shapes
This generative art piece renders a grid of colorful rectangular blocks, each filled with a random RGB color. It shows a tiled composition of horizontal and vertical stripes, with alternating masked regions that reveal two different Sol LeWitt-inspired geometric symbols per tile. The work uses D3.js (v7.8.5) to build an SVG scene, creating random colors, applying SVG masks (defined via `renderMask`) to alternate between the two symbol shapes, and arranging rows and columns dynamically based on window dimensions. The code also uses D3’s `selectAll` and `join` for efficient DOM updates.