Barns Coffee
An immersive 3D-powered website that brings coffee culture to life, with Three.js coffee beans that respond to the visitor and scroll-driven storytelling built on GSAP.
Personal concept project. Not affiliated with or commissioned by Barns Coffee.
- Year
- 2025
- Sector
- Food & beverage
- Services
- Concept, 3D, Design, Development
Overview
Barns is one of Saudi Arabia's best-known coffee chains. We used the brand as the subject of a self-initiated concept: what would a premium coffee website feel like if the craftsmanship came through in the medium itself, not just the photography?
The answer is a 3D experience built with Three.js and React Three Fiber. Custom coffee bean models with physically based lighting and hand-written GLSL shaders sit at the centre of the page and react to the cursor. GSAP ScrollTrigger drives more than twenty cinematic animations as the visitor moves through the brand story, the craftsmanship philosophy and the franchise offer.
Lenis smooth scrolling ties it together so the whole page feels fluid rather than mechanical. Despite the WebGL load, the scenes are tuned to hold 60fps and the site scores 90+ on performance audits, scaling down gracefully from desktop to mobile. The concept was built over four weeks.
Interactive 3D beans
Custom coffee bean models rendered with Three.js and React Three Fiber, with realistic physically based lighting and custom GLSL shaders for atmosphere.
Scroll-driven storytelling
GSAP ScrollTrigger reveals the story, the Why Barns section and the franchise offer in sequence, so each scroll uncovers a new layer of the brand.
Fluid feel
Lenis smooth scrolling keeps navigation continuous and premium, matching the pace of the animations instead of fighting them.
Fast despite the WebGL
Optimised rendering holds a smooth 60fps and a 90+ performance score, with adaptive scenes that scale from phones to large displays.
Screens
The complete page, top to bottom.
Our Story: the brand narrative unfolds on scroll.
Why Barns: the craftsmanship philosophy.
Franchise opportunities with interactive detail.
Contact: the closing call to action.
Stack
Service
3D and motionMore work
Want a result like Barns Coffee?
Every project starts with a short call about your goals. You get scope, timeline and a fixed price back.