Analysis updated 2026-05-18
Drop this hero section into a portfolio or agency landing page for a premium visual entrance.
Customize the spiral's colors, shape, and animation timing through the single CONFIG object.
Learn how scroll-driven 3D animation and custom GLSL shaders work together in a real example.
| yildizdikme/3d-threejs-spiral-gallery | anyblades/pico | yangdada863/aimy-sikll | |
|---|---|---|---|
| Stars | 16 | 16 | 16 |
| Language | CSS | CSS | CSS |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
This repo is a cinematic 3D spiral image gallery hero section built with Three.js, GLSL shaders, Lenis, and GSAP, all in vanilla JavaScript with no framework. The centerpiece is a vertical spiral made of curved image tiles arranged in 3D space, constructed from raw geometry (BufferGeometry) rather than using any pre-built 3D primitive. Custom GLSL vertex and fragment shaders handle the visual look: GLSL (OpenGL Shading Language) is code that runs directly on the GPU to control how each pixel and vertex appears, here adding a depth fade effect and edge vignette, the subtle darkening toward the edges of the frame. As you scroll the page, the scroll velocity also drives extra spin on the spiral, so fast scrolling makes it rotate faster, while slow scrolling keeps it gentle. On desktop, moving the mouse creates a soft tilt of the spiral on the X and Z axes. Below the 3D hero, text sections fade up into view as you scroll past them using GSAP's ScrollTrigger plugin. Lenis handles smooth-scroll behavior so the scrolling feels fluid and consistent across browsers. The overall design is described as a premium dark-editorial landing page: dark background, film grain texture overlay, editorial typography, targeted at creative studios, agencies, and portfolio sites. Every visual parameter is exposed through a single CONFIG object at the top of the code, making it straightforward to customize colors, spiral shape, and animation behavior. The build tool is Vite 5. To run it locally: clone the repo, run npm install, then npm run dev.
A ready-made 3D spiral image gallery for landing pages, built with Three.js and GSAP, with scroll and mouse-driven animation.
Mainly CSS. The stack also includes Three.js, GLSL, GSAP.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.