Sol LeWitt exercise
✓ Published0🌍 Public
This example generates a generative art piece inspired by Sol LeWitt, dividing the viewport into vertical panels whose masks alternate between inverted states. Using D3.js, it creates horizontal and vertical striped rectangles within each panel, with the mask assignments flipping based on whether the panel index is even or odd. The code uses `d3.select`, `d3.range`, and `d3.symbols` to structure the SVG output, rendering lines with `rect` elements and applying SVG masks to vary the pattern visibility across each section.
AI-generated descriptionCourse starting at 5:09
MIT Licensed