Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Moving Circular Grid

Public visualization

Viewing a saved revision (read-only)

ba07473a064641ebbebfc814756db8c5

Moving Circular Grid

0 stars0🌍 Public
CCurran Kelleher
Last edited Aug 6, 2025
Created on Aug 6, 2025

This example presents an interactive SVG art piece inspired by Sol LeWitt’s geometric work, featuring a static circular clipping region that reveals rotating horizontal lines. The implementation uses raw JavaScript to create SVG elements directly, with CSS animations driving the 20-second rotation of the horizontal group. Vertical lines span the full canvas without clipping, contrasting with the circular boundary. The code builds the scene by appending `rect` elements for both line sets, with a `clipPath` defining the visible circle.

AI-generated description

Sol LeWitt Art Piece

An interactive SVG art piece inspired by Sol LeWitt's geometric works. Features a rotating circular mask that reveals intersecting horizontal and vertical lines.

Features

  • Responsive canvas that adapts to window size
  • Rotating circular mask using CSS animations
  • 100 horizontal and 100 vertical lines creating a grid pattern
  • The rotating circle reveals lines within its boundaries

How It Works

  1. A black rectangle covers the entire SVG as the mask background
  2. A white circle is placed inside the mask to create a "window"
  3. The circle is wrapped in a group element with rotation animation
  4. Horizontal lines use the mask to only show inside the circle
  5. Vertical lines cover the entire canvas without masking
  6. The rotation animation spins the circle group, creating a dynamic reveal effect