Bubbles gallery #2 - opacity
✓ Published0🌍 Public
PPatrick Wojda
Last edited Jan 17, 2020
Created on May 29, 2018
A gallery of six kitten photos cycles through three visible bubbles, with previous and next buttons shifting the window and wrapping around. Each bubble displays a background image at full opacity after a fade-in transition; clicking a button fades existing bubbles to 0.2 opacity, swaps in new images, and resizes alternating bubbles to 100 or 175 pixels. The code uses d3.transition with a custom end-of-transition callback to sequence the opacity change, and d3.select to bind click handlers for navigation.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/GitNoise/'>GitNoise</a>'s block: <a href='http://bl.ocks.org/GitNoise/4c58b07a143a9482c5e8f1d131cf315c'>Bubbles gallery #1</a>
mit Licensed