Skip to main content
100%

sol_lewit_repro

✓ Published1🌍 Public
Ppoppy
Last edited May 13, 2023
Created on May 4, 2023
Forked from JSBasics

This example recreates a Sol LeWitt-inspired drawing using JavaScript and the SVG API, dynamically creating a full-screen grid of 100 horizontal and 100 vertical stripes. The code uses `document.createElementNS` to build SVG elements and applies circular masks (`circle-mask` and `circle-mask-2`) to reveal the horizontal lines in the center while showing the vertical lines outside that radius. The horizontal stripes are black, while the vertical stripes are magenta, creating a geometric contrast. The composition is generated entirely through loops with `setAttribute`, with the SVG canvas sized to the browser window.

AI-generated description

sol lewitt

link to sol lewitt

but it realy became JS Basics

MIT Licensed

Similar vizzes