3 ms·
You can also extract different parts of an existing svg and use (clone) them elsewhere on the page. https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/
by timewizard 1y ago
You can also extract different parts of an existing svg and use (clone) them elsewhere on the page.
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/use https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...
- ygra 1y agoI've used this to succinctly define a Sierpinski carpet on Wikimedia Commons a while ago: https://commons.wikimedia.org/wiki/File:Sierpinski_carpet_6.svg https://commons.wikimedia.org/wiki/File:Sierpinski_carpet_6.... That file was able to lock up or crash most SVG renderers back then.