Skip to content

Glass Case Scene

A path-traced night ravine you can look around in: chalk walls, low fog, and a lit glass case on a black plinth holding one blossoming tree. The camera follows the cursor like a body cam, with real depth parallax, a faintly breathing lamp and a handheld sway at rest. Click the case for its secret.

WebGL20 deps1 file · 46 KB TSXreduced-motion aware

ProAttentionSpatial 3Dminimaleditorial
Preview

Props

0.6
0.6
0.5
0.35
0.5
Cursor aims the camera
Secret (click the case)

The source is part of Pro

$27/month or $179 once. See Pro

No runtime dependencies
"use client";

import { useEffect, useRef } from "react";
import type { CSSProperties, ReactNode } from "react";

/*
 * Glass Case Scene: a full-bleed photographic background. A night ravine of
 * pale chalk rock, fog pooled low on its floor, dry scrub and fallen stones,
 * and in the middle of it a glass case on a black plinth, lit from its lid,
 * holding one small blossoming tree. The anomaly: something kept, lit and
 * cared for, out here, where no one comes.
 *
 * The plate is path-traced (Blender Cycles) with a matching depth map, so the
 * camera can move inside the still. The cursor is where the operator aims:
 * the middle of the frame stays calm, the edges pull, and the camera follows
 * on a spring, lagging and settling like a body cam behind the hands. The
 * case slides against the far walls (parallax), its lamp breathes faintly,
 * and with the cursor away the frame sways like a handheld shot. Touch aims

  // ---------------------------------------------------------------
  // Full source available with a viberdy Pro subscription.
  // https://viberdy.dev/pricing
  // ---------------------------------------------------------------
}
Details

Pairs well with

NewPro
NewPro
NewPro