Gooey effect - Rotating circles - Blending colors
Three groups of colored circles rotate around a central point, merging and blending their colors through a gooey effect. The circles travel in circular paths at different speeds while a Gaussian blur filter and a color matrix transform create the blended, liquid-like appearance. Built with D3.js version 3.5.6, the animation uses chained `transition.attrTween` calls with the `rotate` interpolator to continuously rotate each circle. The SVG filter applies `feGaussianBlur` and `feColorMatrix` to the group element, omitting the final sharp-shape overlay to keep colors blended.
AI-generated descriptionforked from <a href='http://bl.ocks.org/nbremer/'>nbremer</a>'s block: <a href='http://bl.ocks.org/nbremer/0e98c72b043590769facc5e829ebf43f'>Gooey effect - Rotating circles - Blending colors</a>
Original readme below:
This example appears on my blog on More fun data visualizations with the gooey effect
The SVG Gooey effect that is create by applying an SVG filter to a group element in which the circles are created. In this version the colors blend together nicely because I've left out one step in the SVG filter that places the original sharp SVG shape back on top the blurred one.
Although the blending of colors looks nice, smaller shapes might appear even smaller than they really are, due to the blurring and not placing the original shape back on top.
To see the same visual, but with the last step added to the filter so you have your exact shapes back, please check out my other bl.ock: Gooey effect Rotating circles Non-blending colors
You can find the other examples from the blog here
- Hexagon with gooey circles moving inside
- Rotating circles without color blending but with true sizes
- Data Visualization Showcase with the 150 largest cities
- Gooey collision detection
Older examples with the Gooey effect
- Movement along a line
- Moving in and out of a circle
- Falling in and out of a rectangle
- Swing analytics - In the 3rd view the swings will be displayed using the gooey effect
Built with blockbuilder.org
forked from <a href='http://bl.ocks.org/nbremer/'>nbremer</a>'s block: <a href='http://bl.ocks.org/nbremer/0e98c72b043590769facc5e829ebf43f'>Gooey effect - Rotating circles - Blending colors</a>