Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt exercise

Public visualization

Viewing a saved revision (read-only)

973036383e7746cab9618633febc52c4

Sol LeWitt exercise

1 star0🌍 Public
BBart van Pelt
Last edited Dec 31, 2022
Created on Dec 30, 2022
Forked from HTML Starter

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 description

Course starting at 5:09