Skip to the stack
Paramaguru

Menu

Colours for this site

Home

3D template · Travel & Hospitality

How Coralbay Island Resort is built

Twenty-two villas on a quiet Andaman island.

A resort page built around a 3D model of its island. Pick a villa and the camera flies to it, scroll through a day from sunrise to a starry night, and watch the sea move over the reef.

The stack

What each part does here.

I built the interactive parts of Coralbay Island Resort with SolidJS. These are the technologies on the page, and the job each one does.

Framework

SolidJS

Four islands run the page: hero turn buttons, the day story's moment rail, the villa picker with its pinned tag, the booking quote.

  1. 3D & WebGL

    Three.js

    One shared WebGL renderer draws the procedural island diorama three ways: the hero, the scrolling day and the villa fly-to camera.

  2. 3D & WebGL

    GLSL shaders

    Custom shaders shade the sea by depth with caustics, foam and night bioluminescence, and paint the sky dome with its sun and stars.

  3. Scroll & timeline

    GSAP

    Tweens the camera from villa to villa and between moments on phones, and eases in the hero copy and each section as it arrives.

  4. Scroll & timeline

    ScrollTrigger

    Scrubs the pinned day story on large screens: the camera flies from moment to moment while sun, sky and sea run from dawn to night.

Built on the same base as every template

  • AstroBuilds every page to static HTML and loads each island's framework only where it is used.
  • TypeScriptTypes the content, the components and every script, so mistakes surface at build time.
  • Tailwind CSS 4Utility classes and design tokens, scoped to each template's own folder.

What each technology adds in general is under how my 2D templates and 3D templates differ.

Typography

The fonts it's set in.

I chose two open-licence families for Coralbay Island Resort and host them with the site, so the text never waits on a font service.

See Coralbay Island Resort in other fonts before you choose yours.

Try other fonts on Coralbay Island Resort

Colours

The colours it's painted in.

I painted Coralbay Island Resort in eight colours on a light background, each with a single job: the same eight jobs every palette in my colour library fills.

  • Background#FBF6EE
  • Surface#FFFDF9
  • Text#18323A
  • Muted text#5E7378
  • Accent#0A7C7D
  • On accent#FFFFFF
  • Second accent#FF7A59
  • Lines#E0DED8
Scheme
Light
Previews in
Light palettes
3D scene
Keeps its own colours, so a new palette repaints the page around it.

See Coralbay Island Resort in other colours before you choose yours.

Try other colours on Coralbay Island Resort

Signature effects

What you'll see.

Motion style: Immersive scene, Micro-interactions.

  1. 01Explore the island in 3D
  2. 02Camera flies to each villa
  3. 03A day from sunrise to starlight
  4. 04Living sea over the reef

The app behind this template

Coralbay Stays

Direct bookings for an island resort: villas, seasonal prices, a deposit that holds the dates and boat transfers, with the front desk's chart.

  • React
  • NestJS
  • Postgres
  • Prisma

Start a project

Start with Coralbay Island Resort.

Tell me about your business, and I'll shape Coralbay Island Resort around it: your words, your pictures and the way you want visitors to reach you.