🌍 Public
Viewing a saved revision (read-only)
89b07f543a2647b5ad9c155298bf0b03
Pseudo Visualization with DOM
This example demonstrates a striped optical illusion using pure SVG and the DOM API. It draws vertical black stripes across the entire canvas, then uses a mask with a black circle to hide those stripes inside the central circle. Inside that circle, a clipPath restricts horizontal black stripes, creating a contrasting orientation shift. The code uses `document.createElementNS` and `setAttribute` to construct SVG elements dynamically without any external libraries.
AI-generated description