Skip to main content
100%

My React Starter

✓ Published1🌍 Public
NNita
Last edited Mar 6, 2020
Created on Mar 6, 2020
Forked from My React Starter

This example renders a circular grid of empty rectangles using React and SVG. It generates 50 points along a sine and cosine curve, mapping the x-coordinate to `Math.cos` and the y-coordinate to `Math.sin`, each multiplied by a pixel scale of 800. The nested `.map()` calls draw a 50×50 matrix of square cells positioned at each coordinate pair, creating a wave-like pattern across the canvas. The code directly uses ReactDOM to mount the component into the root element.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes