Skip to main content
Public

Share visualization

Loading preview…

Fork of Sol LeWitt Exercise

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Sol LeWitt Exercise

0
PPriya Patel
Last edited Aug 25, 2022
Created on Aug 25, 2022

This example generates a randomized geometric composition inspired by Sol LeWitt, using four triangular SVG masks to carve diagonal planes across the canvas. It renders one hundred horizontal and vertical rectangles per side, each with random heights, widths, and gaps, creating a dense grid of intersecting bars. The code relies on the D3 selection API only for module imports, while building all SVG elements manually via `document.createElementNS`. A single random offset determines the diagonal cut for all four masks, producing a cohesive, abstract pattern that changes with each reload.

AI-generated description

Sol LeWitt Attemp with random Values

Comments

Sign in to join the discussion.

MIT Licensed