Nash Carroll

Making Of

Pages
Astro, static HTML
Hosting
Cloudflare Workers
First version
three.js, GLSL, Canvas 2D

This site is plain static pages set on a Swiss grid. It started as something much louder: a 3D entertainment center where every section was a VHS tape you put in a VCR. That version still runs below.

The shelf

Loading the shelf

Click a tape to open its page, or anything on the side shelves to read its note.

Modeled in code

There are no model files. The unit, the TV and the VCR are boxes and rounded boxes. The shoes are lofted from cross-sections written out by hand, the straw hat is a profile spun around an axis, and the controller is an outline extruded and beveled. Laces and cords are tubes run along curves.

Almost nothing is an image either. The tape labels, the wood grain, the neon sign, the poster and the VCR's display are painted onto 2D canvases when the page loads, then used as textures. The one photograph is the polaroid. The CRT is a small GLSL shader that bulges the picture, splits the color channels by a hair and draws scanlines; the VCR's clock shows your local time.

Why it changed

The shelf was fun to build and slow to use. Every page sat behind an animation, the text had to compete with a room full of props, and on a phone the shelf was small and the buttons were crowded. The work is the point, so the site now leads with it: a name, a list of projects, and pages you can read and link to. The shelf moved here, where it is the thing being shown.

How it's built

  1. AstroEvery page is static HTML with its own address and link preview
  2. One gridTwelve columns, one typeface, one accent color
  3. View transitionsA project's name grows into its page title
  4. WorkerServes the pages and asks Spotify what I'm playing

The footer's "now playing" line comes from a Cloudflare Worker that asks Spotify with a refresh token it keeps as a secret, and caches the answer for 30 seconds. The link-preview images are drawn in code at build time from the same list of pages the site is built from.