Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Fork of Buddha in colors -overlapping Buddha

Public visualization

Fork of Fork of Fork of Fork of Fork of Buddha in colors -overlapping Buddha

0 stars0🌍 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 description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed