Skip to main content
100%

Sol LeWitt reproduction

✓ Published1🌍 Public
Ddmr
Last edited Nov 14, 2021
Created on Nov 14, 2021
Forked from SVG fundamentals

This example reproduces a Sol LeWitt art piece by writing SVG circles to the DOM, showing two overlapping circles in yellow and black alongside a text label. The code initially creates one circle with an id, then uses `outerHTML` in plain JavaScript to replace it with a larger set of SVG elements, including a second circle and text. The rendering approach relies on direct SVG manipulation with no external libraries, making it a self-contained demonstration of dynamic DOM insertion within an SVG container.

AI-generated description

Sol LeWitt

A reproduction of a Sol LeWitt art piece

This one turned out to be a home grown attempt to write some SVG CIRCLES to the DOM and finding that setting up a div with an id within the SVG didn't work, whereas setting the id in an initial CIRCLE did.

MIT Licensed

Similar vizzes