Skip to main content
Public

Share visualization

Loading preview…

Sol LeWitt Reproduction HTML + SVG

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

Sol LeWitt Reproduction HTML + SVG

0
OOleg Zhernovoy
Last edited Dec 21, 2022
Created on Dec 21, 2022

This example reproduces a Sol LeWitt-style geometric composition using HTML and SVG, showing a grid of horizontal and vertical lines that intersect within circular masks to create a layered visual effect. Two SVG masks define the visibility regions: one reveals a circle of horizontal stripes, while the other selectively hides vertical stripes within a matching circle. The code programmatically builds the SVG structure using the `createElementNS` API, generating 100 horizontal and 100 vertical rectangles with alternating mask references. No external libraries are used; the rendering relies entirely on native SVG elements and attributes.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed