Algorithmic Sol LeWitt

This sketch creates an interactive spiderweb-inspired design on a black canvas. The web is redrawn continuously while its colors shift in HSB mode, creating a balanced, dynamic composition. Clicking the canvas generates random lines with different colors, thicknesses, and positions, while the number of lines depends on the mouse's horizontal position. Clicking on the right creates more lines, and clicking on the left creates fewer. Each mouse click also changes the color of the web, making every interaction unique.