Code clinic · Dubai, United Arab EmiratesMon to Sat · 10:00 to 19:00 GSTArabic · English Accepting new clients
LiveOpen the live demo

A café landing page that moves like film: a live 3D scene driven by the visitor's scroll

Second Crack, a fictional Dubai café · Café · demo built for TheCodeMed

Lighthouse performance94
Accessibility and SEO100 / 100
Layout shift0.01
Works with JavaScript offyes
Cookies and trackers0
LanguagesArabic and English

The problem

  • A small café has a good product and a page that looks like every other café page
  • A video hero is heavy, mute on phones, and cannot answer to the visitor
  • Most 3D pages fall apart on an integrated laptop chip or an older phone

Assessment

The page should show the coffee being made, not describe it. A live scene drawn in the browser costs less than a video, answers to scroll, and can degrade gracefully: a lighter film on an integrated chip, a still page without a GPU or with motion off.

Work done

  1. A live three.js film: a bean roasts and cracks, becomes a portafilter, pours, the cup takes a heart in the foam, and a neon sign strikes on; one scroll notch or swipe glides to the next stop
  2. A night-green room with brass at rest and copper only for what is live, a mashrabiya lattice the lamp shines through, and the same world on the board, the shelf, the order and the footer
  3. Everything else a café needs: a drinks board with pictures, a visit section with hours and a map, an order form with a till receipt, a stamp card that pays a code, a seven-day roast log
  4. Three tiers from one build: the full film with a lens pass on a discrete GPU, the film without the lens on integrated chips, a still page for software renderers, reduced motion and JavaScript off
  5. Arabic and English with the film mirrored, phone layouts with the subject lifted into view, fonts preloaded per language
  6. Static files only: no cookies, no trackers, a strict content security policy, one 222 KB light map as the only downloaded asset

Result

Live as a demo. Lighthouse 94 performance, 100 accessibility, 90 best practices and 100 SEO on a phone profile, with a layout shift of 0.01 and the film playing on an Intel integrated chip.

Stack
Astrothree.jsTypeScriptArabic and EnglishStatic, no cookies, strict CSP

A demo built to show the service. The café is fictional and says so on the page; no real business is shown.

Screens

The opening: one green bean floating under a lamp, the headline and the two actions
The pour: a stream of espresso filling a glass cup with crema and steam
The cup with a heart drawn in the foam, the recipe strip beside it
The drinks board in brass on night green, a picture beside each drink
Six drinks in framed tiles on a brass shelf line
The order form with a till receipt and a stamp card beside it

A similar problem?

Describe it on a free call. You will receive an honest view on whether it is the same issue and what it would take.

Email