Skip to main content
100%

Fork of Fork of Fork of Random world shapes with react -3

✓ Published1🌍 Public
NNita
Last edited Jun 29, 2022
Created on Jun 29, 2022

This example uses React and SVG to render 490 overlapping circles and rectangles, each with randomized positions, radii, and stroke widths. The shapes are generated programmatically from an array of values, with each circle paired with a rectangle of the same size and stroke, creating a dense, abstract composition. The visualization demonstrates how React components can dynamically map data to SVG elements, with the `My_circle` component receiving randomized coordinates and dimensions. The rendering relies on ReactDOM to mount the SVG into the DOM, producing a chaotic, layered pattern of colored outlines.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes