Back to Browse

This Scroll-Driven Image Gallery Decided the Third Dimension Was Necessary (3D)

5.7K views
Mar 18, 2026
16:10

What happens when an image gallery refuses to stay flat? In this tutorial we build a scroll-driven 3D gallery using HTML, CSS, JavaScript, and Three.js, where images form a rotating tower that responds to scroll and cursor movement. A fun WebGL experiment for creative landing pages and portfolio sites. Source Code: https://codegrid.gumroad.com/l/codegridpro Inspiration: Studio Dialect Website: https://studiodialect.com/ 00:00 Intro 01:27 HTML 02:03 CSS 04:17 Shader 05:35 JavaScript Instagram: https://www.instagram.com/codegridweb/ Twitter: https://twitter.com/codegridweb/ Public Discord: https://discord.gg/B8B9MXxuSS Thanks for watching!

Download

1 formats

Video Formats

360pmp415.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

This Scroll-Driven Image Gallery Decided the Third Dimension Was Necessary (3D) | NatokHD