Skip to main content
100%

Fork of Fork of Random square shapes with react July 4,2022 - 2

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

A collection of 190 nested square outlines and small circles rendered in SVG, colored with random RGB values and positioned along a logarithmic curve derived from the input number. The React app maps an array of calculated values to custom `My_circle` components, each drawing a square with a dynamic stroke width and a static drop-shadow filter. Using React 16 and D3 v7 solely for SVG selection and attribute setup, the visualization applies `Math.random()` for stroke thickness and color channel values, with the viewport set to 960×500 pixels.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes