Sol LeWitt in Vanilla V2
✓ Published1🌍 Public
This example creates a dynamic SVG composition inspired by Sol LeWitt, using D3.js to render a grid of black vertical stripes that are masked by a circular aperture. The visualization imports only the `selection` API from D3, while manually constructing SVG elements—such as the mask, circle, and rectangles—via the native DOM interface. It draws 100 vertical bars across the canvas, each masked to a centered circle, and overlays horizontal lines computed from the same loop. The piece explores generative patterns through algorithmic geometry, with the mask controlling the visible form.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
Test Heading
MIT Licensed