Fork of Fork of Fork of Fork of Random world shapes with react -4
✓ Published1🌍 Public
NNita
Last edited Jun 29, 2022
Created on Jun 29, 2022
A random geometric composition of hundreds of overlapping rectangles, each with a unique size, position, and stroke width, rendered as an SVG within a React application. The rectangles are generated procedurally using a loop that multiplies an index by ten, then applies random scaling to coordinates and dimensions. React maps over this array to render each `<rect>` element, applying a drop-shadow filter defined in SVG `<defs>`. The visualization uses ReactDOM to mount the component, producing an abstract, layered pattern.
AI-generated descriptionReact Starter code.
MIT Licensed