This example shows a generative composition of black horizontal and vertical stripes intersecting within two circular masks at the center of the screen. The piece uses only native browser DOM APIs, creating SVG elements dynamically with `document.createElementNS` and setting attributes like `width`, `height`, and `mask`. The code defines two masks (`circle-mask` and `circle-mask2`) using rectangles and circles, then renders 100 stripes in each orientation, alternating between horizontal and vertical bands. The result is a geometric, grid-like pattern framed by transparent circles, resembling a Sol LeWitt-inspired wall drawing.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.