The page is loading.

Starting BRIIX-DOS ...

11/28/1994-i486DX2-BRIIX-INTERNET-COMPANY-00
BRIIX 14" SVGA
BRIIX 486 DX2
33
DA

How the office is built

A PC from 1994 in the browser

The site is a desk with a 486 on it. You sit in front of it, look around by dragging, and use the DOS screen like a real one: menus, a prompt and two games. Everything on the desk can be clicked. The coffee can be drunk.

No build step

All of it is plain JavaScript, loaded by the browser as ES modules. No framework, no bundler and no dependencies on the server. three.js (r185) is the only library, and it lives in the project. Around 65 files.

The screen is real HTML

The DOS screen is not a texture. It is ordinary HTML lying under a transparent WebGL canvas, moved with a CSS matrix so its four corners land on the four corners of the tube. That keeps the text sharp, screen readers can read it, and the form is a real form.

Modelled in code

There are no 3D model files. Every object is built in code from boxes, lathed profiles and lofted shapes, one file per object. The materials are computed as well: plastic grain, brushed metal and plaster are made in a Web Worker at startup, so almost nothing has to be downloaded.

The light

Nine lights, four of them with shadows: the desk lamp, the screen itself and the two windows. The screen lights the room in its own colour and flashes when you fire in the game. The picture is rendered in HDR with bloom and ACES tone mapping.

Drawn only when something changes

A still room costs nothing. The scene is redrawn only when something moves or the light changes, and the shadows only when something that casts a shadow has moved. While you look around, the resolution follows the speed of the machine and turns sharp again when the picture is still.

Hands, coffee and a cat

The phone, the floppy disks and the coffee are handled by an arm in a knitted sleeve, seen in first person. The room has day and night, rain, snow in winter and fairy lights in December. Now and then a cat walks across the keyboard.

Sound

Clicks, the modem, the phone and the printer are made with Web Audio the moment they are needed. The only audio files are the three tracks on the mixtape in the bookcase.

Without 3D

Every page exists as ordinary HTML from the server, with its own address, title and text, so search engines and screen readers get all of it. The 3D layer presses the same buttons as the page underneath. If WebGL is missing, you get a flat version of the same desk.

The office is my own project. Client systems get the same care, with fewer floppy disks.

I'm ready to take on new work. Write to me.