Skip to main content
100%

Fork of Episode 3: Sol LeWitt in Vanilla JavaScript : Mar 27,2021 : group of circles, more circles

✓ Published1🌍 Public

This example uses vanilla JavaScript and the SVG API to generate a grid of 100 by 100 circles, each with a random stroke color and no fill. The circles are spaced every 10 pixels across the full browser window, producing a dense, colorful pattern inspired by Sol LeWitt’s geometric artworks. The code creates SVG circle elements dynamically using `createElementNS` and sets their positions and stroke colors randomly. While the title mentions "more circles," the visible output is a static, uniform grid without animation or additional layers.

AI-generated description

Inspiration Curran's live streaming

Exercise options:

Reproduce any Sol LeWitt piece.

Create generative art in the spirit of Sol LeWitt.

Add animation to what we’ve created (e.g. rotation).

MIT Licensed

Similar vizzes