🌍 Public
5 Buddhas
JJames Cruz
Last edited Mar 25, 2024
Created on Mar 25, 2024
Five Buddha silhouettes overlap on a black background, each composed of thousands of tiny, randomly placed, diamond-shaped polygons. The shapes are generated with JavaScript’s `Math.random` to determine position, color, and rotation, rendered as React SVG elements. The code creates a dense, colorful mosaic effect by mapping over nested arrays, with each polygon’s fill using an `rgb` value derived from random calculations.
AI-generated descriptionReact Starter code.
MIT Licensed
Comments
Sign in to join the discussion.