Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

LeWitt

Public visualization

Viewing a saved revision (read-only)

6abed8066ff04f618edd8ea140a77ad9

LeWitt

0 stars1🌍 Public
Ttomasnihlen
Last edited Sep 23, 2022
Created on Sep 23, 2022

This example generates a minimalist geometric composition inspired by Sol LeWitt, using raw JavaScript and the SVG DOM API. It creates a grid of vertical and horizontal bars by appending `rect` elements to an SVG canvas that fills the entire browser window. The vertical bars are positioned on the left half, while horizontal bars extend from the center to the right, with spacing based on a fixed bar width and the window dimensions. No external libraries are used; the code relies on `document.createElementNS` and manual attribute setting.

AI-generated description