Bees with Random Colors
✓ Published0🌍 Public
Four hundred randomly colored bees—small circles sporting rainbow fill and white, semi-transparent wings—drift through an endless black SVG canvas. Each bee flutters with an individual timing, using `transition.attrTween` to scale wing paths in a sine-like flapping cycle and `interpolateRainbow` to pick its color. Random durations and delays in movement and flapping prevent synchronized loops, producing a natural, chaotic swarm. The animation is built with D3.js v6, rendering SVG elements and orchestrating infinite, staggered motion.
AI-generated descriptionA variation on Bees by Asrar Al Qassem that introduces randomness in the timings so that the animations feel more natural and are not looping at the same time.
MIT Licensed