🌍 Public
Viewing a saved revision (read-only)
d09119c111184713a69525762e11c792
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