Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of SVG

Public visualization

Fork of SVG

0 stars1🌍 Public
KKhanin Sisaengsuwanchai
Last edited May 14, 2023
Created on May 14, 2023
Forked from Javascript 101

A fork of SVG renders a full-screen canvas of one hundred vertical black bars. The visualization shows a rigid, rhythmic grid that fills the viewport, created entirely through the Document Object Model (DOM) and the SVG `rect` element. The script uses JavaScript’s `document.createElementNS` with the SVG namespace to dynamically generate each rectangle, setting its `x` position, fixed `width`, and `height` equal to the window’s height. The bars are placed sequentially every twenty pixels, resulting in a stark, minimalist composition that directly reflects the numeric loop in the code.

AI-generated description

An apporoximation of Javascript visualization

Comments

Sign in to join the discussion.

MIT Licensed