Skip to main content
100%

JS Example

✓ Published1🌍 Public
Nnubhatia
Last edited Aug 10, 2023
Created on Aug 2, 2023

A JavaScript-generated SVG visualization displays a series of vertical blue rectangles, each 10 pixels wide and spaced 20 pixels apart, spanning the full window height. A circular mask, centered on the screen with a radius of 200 pixels, reveals only the bars within its boundary, creating a striking circular cutout effect against the otherwise full-height stripes. The code builds the SVG dynamically using the DOM API, creating elements via `createElementNS` and appending them to the body with attributes set programmatically.

AI-generated description

Indian Flag

MIT Licensed

Similar vizzes