episode 5 js arrays
✓ Published0🌍 Public
Ppoppy
Last edited May 18, 2023
Created on May 18, 2023
Forked from Fork of epi 4 full sol_lewit_repro with D3
This example creates a grid-based generative drawing by rendering 100 horizontal and vertical black stripes overlaid with two SVG masks. The masks use large symbols from D3’s `symbols` API to carve circular and other geometric patterns into the stripes, producing a Sol Lewitt–inspired composition. The code uses `d3.select`, `range`, and the `.join` method to build the stripes, while the `renderMask` function dynamically appends `mask` elements and paths. The result is a layered, monochrome visual that combines repetitive linework with symbolic cutouts.
AI-generated descriptionMIT Licensed