Skip to main content
100%

growing dot to image

✓ Published0🌍 Public
PPatrick Wojda
Last edited Nov 27, 2019
Created on Nov 27, 2019

A single dot grows into a full-screen image. The example uses D3 v4 to animate a circle from a 10-pixel radius to a 100-pixel radius, while a rectangle fades in over it, filled with a pattern of the source image via `url(#image)`. The image is applied using an SVG `<pattern>` with `preserveAspectRatio="none"`, and both transitions use `.transition()` with `.duration()` and `.delay()`. The effect shows how a simple shape can reveal a complex bitmap, with the rectangle's opacity animating from 0 to 1 over one second.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes