Skip to main content
100%

Sol Lewit reproduction using D3

✓ Published2🌍 Public
AAshwani Sajwan
Last edited Apr 22, 2024
Created on Apr 22, 2024

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
MIT Licensed

Similar vizzes