Skip to main content
100%

1

✓ Published0🌍 Public
Rrahulnathmukkolla@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example demonstrates a generative art piece titled "Buddha in colors - overlapping Buddha," where a D3-powered React application renders a complex, layered composition of semi-transparent, randomly positioned and rotated polygons. The visualization is built with React and ReactDOM, loading D3 via UNPKG and using SVG elements like `<polygon>` and `<path>` for drawing. The code constructs a grid of shapes using nested array maps, assigning random RGB colors and opacity values, while a separate, detailed SVG path defines the Buddha figure. The rendering relies on raw SVG path data and JavaScript's `Math.random` to create a vibrant, procedurally generated visual.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes