Seven — an observatory behind six portals

2026

A one-page site for a made-up observatory: a crystal cube with six portals into their own 3D worlds. Built with SvelteKit, three.js and postprocessing.

A cube of dark crystal turns slowly in a night sky full of nebulae, and behind each of its six faces lies its own 3D world. Seven is a design study for an observatory that does not exist: Seven Observatory. Each face belongs to one section of the one-page site, from Welcome to Contact. Everything on the site is made up; the contact form sends nothing and says so.

The site opens with a 3.9-second intro. One star becomes a warp through 6,400 stars in three depth layers, which ends in a short flash of light. Then the cube's twelve edges draw themselves, the crystal fills in and the six portals open one by one. A click, tap or key press skips the intro.

Behind the faces lie a spiral galaxy, a ringed planet, the inside of a dome, a constellation that draws itself, star trails above a hill and a radio dish. Each world is its own three.js scene, rendered to a render target the size of a fraction of the screen, with the main camera converted into the face's frame. The face reads that texture in screen space, so you see real depth and parallax through the glass. Only faces turned towards the camera are rendered. The crystal does not really refract: the shader lays a fresnel reflection, a prismatic rim and glowing edges over the portal.

Point at a face and the cube slows to 15 per cent of its spin while the section's name appears with a decode effect. Click, and the cube turns the face towards you in 350 ms while the camera flies through the glass in 900 ms. During that flight the portal grows to full screen resolution. When it fills the screen, the renderer can therefore switch to that world alone without a visible seam. The section then appears as plain, accessible HTML on top of the moving world. Every section has its own address (#welcome to #contact) and the browser's back button flies you back.

The image goes through pmndrs postprocessing: bloom, AgX tone mapping, depth of field, chromatic aberration, film grain and a vignette. The nebula is ray-marched into its own, smaller buffer. There are three quality tiers. The starting tier follows from the GPU, the screen size and touch. If the average frame time over 2 seconds is above 20 ms, quality drops one tier, and it does not go back up during that session. From high to low, the pixel ratio goes from 2 to 1 and the nebula from 48 to 20 ray-marching steps; depth of field is only on at the highest tier.

With reduced motion on, the cube stands still and sections switch with a 300 ms fade. Without WebGL2 all content appears as a normal page. Sound is off by default and made in the browser with Web Audio, with a note of its own for each face from a pentatonic scale. There is no GSAP: easing, springs and timelines live in a small module of their own. Built with SvelteKit and Svelte 5 in TypeScript. The five photos in the sections were made with gpt-image-2.

Related work: Six.

Technologies

SvelteKit three.js WebGL postprocessing TypeScript Web Audio

More of my work

Browse the full portfolio or read the blog.

More work