Concentric circles -linear gradient
✓ Published3🌍 Public
NNita
Last edited May 18, 2020
Created on May 18, 2020
A field of concentric circles uses overlapping radial gradients and randomized placement to create a textured, three-dimensional effect. The React component generates 100 rings per angle, applying a linear gradient background and a drop shadow filter to each SVG circle. The `radialGradient` definition with stops for yellow, gold, and brown tones gives the circles a metallic, Saturn-like appearance. JavaScript's `Math.random()` controls both the radius and the x/y offsets, producing an organic, non-uniform distribution across the 960×500 viewport. The rendering relies on React's declarative JSX syntax to map over arrays of pixel positions and circle definitions.
AI-generated descriptionReact Starter code.
MIT Licensed