Infinite Spatial Image Gallery Webflow Cloneable
Clone a pannable image gallery with photos arranged in a spatial canvas, mouse movement and scroll depth, built with vanilla JavaScript.
About cloneable
This Webflow cloneable opens on a cream-colored canvas scattered with portrait images at different sizes and positions. Visitors can drag to move across the gallery in two directions and scroll to travel through depth. As images approach, they grow and become more opaque; passing them makes them fade into the distance. Mouse movement adds parallax, and an opening animation staggers the image tiles.
The gallery uses vanilla JavaScript without external dependencies. It creates a 2D spatial effect with CSS transforms rather than WebGL: image scale and position are projected according to their distance. Only cells in view remain in the DOM, and they are reused as the visitor moves. Each cell’s image, position, and scale are determined consistently, so returning to an area keeps its arrangement.
A designer could clone this project to present photography, artwork, or other image collections as an exploratory portfolio rather than a fixed grid. They can replace the gallery images and adapt the interaction for a Webflow site, using the included custom code without a React or Three.js build setup.