Skip to main content
100%

episode 5 js arrays

✓ Published0🌍 Public
Ppoppy
Last edited May 18, 2023
Created on May 18, 2023

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 description

sol lewitt

link to sol lewitt

this uses d3 and is forked from the soll lewit repro

MIT Licensed

Similar vizzes