Skip to content

Attention Site

A whole website made of anomalies, one room per screen: koi in dry air, a shadow that runs to its lamp, a stone the scroll breaks upward, chrome that fuses, steel that pours, plans that lift off the floor and a footer crossed by shark shadows.

WebGL20 deps1 file · 612 KB TSXreduced-motion aware

ProAttentionminimal
Preview

Props

The source is part of Pro

$27/month or $179 once. See Pro

No runtime dependencies
"use client";

import { createContext, useContext, useEffect, useId, useRef, useState, useSyncExternalStore } from "react";
import type { ComponentPropsWithoutRef, CSSProperties, FormEvent, ReactNode, RefObject } from "react";

/**
 * AttentionSite — the Aerium page: one room per screen, each with exactly one thing wrong.
 *
 * A nav whose link labels hang in the air floats over the page. The rooms,
 * top to bottom: koi in a dry concrete room inside one shaft of light (the
 * hero); a wall of mounted letters whose shadows all run from the lamp but
 * one; a jellyfish in dry air; a stone that the scroll breaks upward and
 * gathers again on the way back; chrome drops that neck and fuse in an LED
 * room; bearing steel that pours like water; a swarm of jellyfish that lights
 * the list of places beside it; three plan slabs that lift off a lit floor;
 * a commission form in a gallery full of water light with no water, whose
 * typed words hang above their fields; and a footer crossed by shark shadows
 * with no sharks. Each WebGL room mounts as it approaches and is released

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

About this whole site

Attention is the library's style of anomalies: familiar things made wrong, so the eye stops on them. This is the whole site, built for a demo studio called Aerium that makes rooms where exactly one thing is wrong. The first screen is a concrete room with butterfly koi hanging in a shaft of light, and no water. Then a wall of mounted letters where every shadow runs from the lamp except one, a jellyfish lighting a room it should not be in, a stone that breaks upward as you scroll and gathers itself as you scroll back, chrome drops that neck and fuse under an LED strip, and a floor of bearing steel that pours like water. A swarm of jellyfish lights the list of places to see the rooms, three plan slabs lift off a lit floor, and the commission form floats its typed words above their fields while a small bell breathes as the brief is sent. The footer is lit water crossed by shark shadows with no sharks. A nav whose link labels hang in the air floats over all of it. Every room has a Pause motion control, and reduced motion shows each one settled.

Curator’s note

The Attention kit as one page; every Attention entry is cut from it byte for byte. Pro: eight hand-written WebGL2 rooms (no three.js) that mount as they approach and give their GPU context back when they are three screens away, a scroll-pinned shatter driven through the site's own scroller, and a commission form whose success is only shown after its required handler resolves. Cut byte for byte from the Attention kit's one site (AttentionSite), so it reads as one system with the kit's rooms: one subject, one motivated light, one broken rule.

Pairs well with

Pro

Ultra Site

site templates
Pro

Ardent Site

site templates
Pro