30.000 círculos
✓ Published0🌍 Public
Aaaizemberg
Last edited May 14, 2019
Created on May 6, 2019
A canvas displays 30,000 randomly placed circles, each with a random position, radius up to 10 pixels, and a semi-transparent random color. The example uses the HTML5 Canvas API, specifically `getContext("2d")`, `beginPath`, `arc`, and `fill`, to draw every circle individually in a single loop. Each circle’s fill style is set to an `rgba()` string with random red, green, and blue values from a custom `rc()` function and a fixed alpha of 0.5. The data is generated procedurally with `Math.random()`, producing an overlapping, colorful field with no external dataset.
AI-generated description