Skip to main content
100%

JSBasics

✓ Published0🌍 Public
KKamalabot
Last edited Jul 9, 2022
Created on Jul 9, 2022

This example recreates a Sol LeWitt-inspired geometric composition using JavaScript and D3.js, where vertical and horizontal stripes intersect around a circular mask. The visualization shows a grid of thin black and white lines forming a cross-hatched pattern with a central circular cutout. The code builds SVG elements dynamically using `document.createElementNS`, applying two different masks (`circle-mask` and `circle-mask-2`) to reveal or hide the stripes. D3 v7 is loaded but the rendering relies entirely on raw SVG manipulation rather than data binding or scales.

AI-generated description

Building the Sol Lewitt art using JS in the Vizhub platform We can find a lot of Sol's art here

MIT Licensed

Similar vizzes