Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Sol Lewitt Reproduction vertical

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 Fork of Sol Lewitt Reproduction vertical

1
Ssirenajbpearl@gmail.com
Last edited Aug 2, 2024
Created on Aug 2, 2024

This example creates a dynamic, full-screen SVG composition of overlapping striped patterns. It uses JavaScript to generate 100 horizontal and 100 vertical rectangles, each with a fixed thickness, and applies an SVG mask to each set. A circular mask restricts the horizontal stripes to a central circle, while an inverted mask applies the same circular cutout to the vertical stripes. The result is a grid of lines that are visible only within the intersecting circular region, demonstrating the use of the SVG `<mask>` element and dynamic DOM manipulation with `createElementNS`.

AI-generated description

A demonstration of SVG shapes.

Comments

Sign in to join the discussion.

MIT Licensed