Fork of Fork of Fork of Fork of Fork of Buddha in colors -overlapping Buddha
✓ Published0🌍 Public
Aajaysonu
Last edited Mar 2, 2023
Created on Mar 2, 2023
This visualization layers 21 by 21 by 21 rotated, semi-transparent polygons to create an overlapping, colorful Buddha silhouette. Each polygon’s position, fill color, and rotation are computed using JavaScript’s `Math.random()` within nested `map` loops, producing a chaotic, generative composition. The Buddha outline is drawn separately as an SVG `path` with a complex `d` attribute, scaled and translated into place. The code uses React and ReactDOM to render the SVG elements, with the background set via CSS in the HTML file.
AI-generated descriptionReact Starter code.
MIT Licensed