Skip to main content
100%

Fork of Sol Lewwit 2

✓ Published1🌍 Public
PPeiyang Li
Last edited Apr 10, 2023
Created on Apr 9, 2023
Forked from Sol Lewwit

This interactive visualization renders a grid of horizontal rectangles, masked by a central circle, creating a striking geometric pattern. The SVG elements are dynamically generated using the Document Object Model (DOM) API, with a mask defined by a `<circle>` element. The visualization adapts to the browser window size by using `window.innerWidth` and `window.innerHeight`. One hundred rectangles, each 10 pixels high, are drawn sequentially down the screen, with the circle mask revealing a circular region of the striped pattern against a plain background.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes