Skip to main content
100%

Circles Effect at the junctions

✓ Published1🌍 Public
NNita
Last edited Mar 6, 2020
Created on Mar 6, 2020

A grid-based visualization renders 960 small square cells across an SVG canvas, each colored with a random red-blue value to create a scattered circle-like effect at the junctions where cells meet. The code uses React 16.10 to generate the layout, mapping over arrays of coordinates to place every rectangle individually. The SVG elements are drawn with the `rect` API, and the fill color is computed dynamically using `rgb()` with a random multiplier. A larger square border outlines the overall composition, while the grid cells themselves use no stroke, producing a seamless visual pattern.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes