Skip to main content
100%

Fork of Fork of Random world shapes with react July 4,2022 - 1

✓ Published0🌍 Public
NNita
Last edited Jul 4, 2022
Created on Jul 4, 2022

A grid of nested, randomly colored and sized squares overlays the viewport, generated from a mathematical sequence of 50 values. The React app renders these shapes as SVG `<rect>` elements with dynamic stroke colors, widths, and dimensions, using `Math.random()` for each attribute. A drop-shadow filter adds subtle depth. The code relies on React 16 and ReactDOM to mount the component, with all geometry computed directly in JavaScript without external data sources.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes