Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Episode 4: Sol LeWitt Reproduction with D3

Public visualization

Fork of Episode 4: Sol LeWitt Reproduction with D3

0 stars0🌍 Public
CCurran Kelleher
Last edited May 14, 2021
Created on May 14, 2021

This example recreates a Sol LeWitt-style geometric drawing using SVG masks to reveal distinct line patterns in four quadrants. The code uses D3 selections and `range(n)` to generate 100 horizontal, vertical, and diagonally rotated rectangles, each clipped by a rectangular mask. The `select` and `append` methods build the SVG canvas and mask elements, while `join` binds data to create the rects. The result demonstrates how D3 v3 and SVG masking can compose layered linear compositions.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed