Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt practice

Public visualization

Viewing a saved revision (read-only)

479798a54faf484cb8de124d1b151a13

Fork of Sol LeWitt practice

0 stars0🌍 Public
Ppanthabuddhi@gmail.com
Last edited Feb 19, 2024
Created on Feb 19, 2024

This example uses JavaScript and the SVG API to create a full-window, grid-like pattern of vertical bars. It calculates the number of bars needed based on the window’s width and a fixed bar length with padding, then dynamically generates and positions each SVG rectangle. The code uses `document.createElementNS` and `setAttribute` to construct the vector graphics, and `console.log` examples in the README illustrate basic variable reassignment with `let` and `var`. The result is a minimalist, striped composition that directly references Sol LeWitt’s geometric wall drawings.

AI-generated description

for the output, we use console.log(output) We need to do const x=5 and then console.log(x). The output is 5

or we need to do let x=5 and then console.log(x).

If we do let x=5 and x=10 and then console.log(x), the output is 10. the most recent value is