Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt Attempt #5 Vanilla JS (Pattern #1)

Public visualization

Sol LeWitt Attempt #5 Vanilla JS (Pattern #1)

0 stars1🌍 Public
CCasualWanderer20XX
Last edited Sep 9, 2025
Created on Sep 9, 2025

This example generates an SVG composition inspired by Sol LeWitt's geometric wall drawings, using two masks to create an intersecting grid of vertical and horizontal stripes. The code builds a hexagonal pattern with `document.createElementNS` for SVG elements, applying `mask-1` and `mask-2` to 50 vertical and 50 horizontal rectangles. The masks are constructed from repeated polygon coordinates, producing a checkerboard-like overlay of alternating shapes. No external libraries are used; the rendering relies entirely on vanilla JavaScript and SVG masks to achieve the Op Art effect.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed