Viewing a saved revision (read-only)
7858b942d29a41a9a1f18a9995abc7f8
Episode 3: Sol LeWitt in Vanilla JavaScript : Mar 27,2021 : group of Squares
This visualization generates a 10×10 grid of randomly colored squares, each 10 pixels in size, rendered across the browser window using SVG elements created via the `document.createElementNS` method. The code sets the fill color for each rectangle using the `rgb()` function with values produced by `Math.random()`, resulting in a vibrant, unpredictable pattern. The rendering approach relies entirely on vanilla JavaScript and the SVG API, without any external libraries, and does not include animation or interactive behavior beyond the static grid display.
AI-generated descriptionInspiration 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).