🌍 Public
Viewing a saved revision (read-only)
1c9140940f1947de9c4306503b4f60b5
Sol Lewit reproduction using D3
This example creates a generative artwork inspired by Sol LeWitt, built with D3.js and rendered as scalable vector graphics. It draws two sets of alternating horizontal and vertical stripes across the full canvas. Using D3's `select` and `range` APIs, it appends SVG rectangles to a group, each with a `mask` attribute referencing one of two circular masks. The masks, defined with a white or black rectangle and a contrasting circle, create the illusion of two overlapping circular regions, effectively reproducing LeWitt's geometric wall drawing aesthetics through simple, rule-based code.
AI-generated description