yhigor
一二三四五一二三四五infotextplayreelworkwork
No caption1 / 11

Nauti

Web gallery

2026

Nauti is an online gallery for exploring collections of the Internet Archive.

Holding millions of books, trillion web pages, ephemeral films, obscure museum collections and even preserved malware, the Internet Archive is the largest digital library of our generation. They make over 99 petabytes of data available to browse through collections or to search for specifics, in the spirit of universal access to all knowledge.

But accessibility is not the same as visibility. Today, the Archive is often used by those who know exactly what they're looking for. Journalists fact-check what a page once said; lawyers pull up old captures as evidence; and someone somewhere hunts down a 1970 manual for the Rolleicord Vb - aka me. The thing is, libraries were never only for research. They were for discovery too, for stumbling onto things you didn't even know existed. Like that section of a bookstore you drifted into and ended up spending three hours in. As an archive, it works wonderfully. As a library full of gold, it could use a little serendipity.

Nauti reimagines the Archive as a library to wander. Built on the Archive's open collections, the website fetches content live and displays them along a golden spiral. Move through it and the spiral unfolds items deeper into the collection. Open an item to unpack its bundle of files, more scans, recordings or another collection of images. It gives the Archive’s depth a visual hierarchy and a browsing experience worth getting lost in.

scope
Concept, design, front end, data fetching
timeline
Feb 2025 to Ongoing
status
Live
tools
TypeScript, React, Next.js, Tailwind, Zustand, Motion, Vercel
B Side

A living gallery for the web’s collective memory

Every now and then I'm given a reason to visit the Archive. Sometimes it's a broken website I need to see, or it's a lost piece of media I need for research. It's easy to find what I'm after, so with time to spare I also find myself browsing through the heaps of obscure media this archive holds, hoping to find interesting references for how we used to see things. I'd imagined it'd be like, digging through an endless flea market of our collective memories, going back decades before the Internet was even invented. But every time I browsed I end up slightly annoyed.

Designed as an archive, the site never quite did its collections justice. But I felt there's potential for it to do so much more. So for a few years, the thought of building something using Internet Archive's open API lingered. The question is, how do I design something that feels alive and true to the nature of the web's collective memory?

Memes, TikToks and the Internet

r/placeReddit's shared canvas, where anyone could set one pixel every few minutes. It ran in 2017, 2022 and 2023. came to mind with its raw, pixelated, unfiltered aesthetics. So did a couple others like the Million Dollar HomepageAlex Tew's 2005 page: a million pixels, sold at a dollar each. with its clashing colours and blazing graphics, and craigslist with its hyperlink blue and lists after lists of stuff. one more, archive websites.

The early Internet had a very distinct vibe. It was a blank canvas where everyone drew whatever they wanted with no visual rules or constraints, bar the technical ones. And since much of the Internet Archive’s collection comes with a similar flavour, whatever I designed needed a unifying but unassuming style that lets the collections take center stage. It needed to be a petri dish where all kinds of cultures on the web, from memes to weird trinkets to archived government documents, could clash visually but still read as one.

The idea came to me one night as I was doomscrolling. There was this TikTok video where two dozen strangers duetted themselves onto the same odd clip, each one adding a new scene beside the last that stretched the story a little further. The layout resembled a spiral of sorts that zoomed out with every new video added. So I thought, what if it scrolled the other way, inwards, infinitely?

The Golden Spiral

The golden ratio, roughly 1.618Exactly (1 + √5) / 2. Divide any Fibonacci number by the one before it and the answer closes in on it., is said to be of divine proportions. It also gives a pattern of rectangles and squares that repeats within itself, and a curve drawn through it called the golden spiral. This recursive pattern, is what I wanted to use for the core interface - images tiled to spiral inwards. The golden spiral was easy to implement, but zooming into it on a finite screen was a little trickier.

To build the spiral I first started with the Fibonacci sequence, where each number gives the size of a square as whole numbers. The screen height then gets divided by the size of the main square, and that gives me the unit to draw all other squares. Zooming in was then done through scaling the sizes of all squares around the spiral's center, the alternative being to set up a camera.

const baseUnit = screenHeight / mainSquare.size;
const drawnSize = square.size * baseUnit * scale;

But Fibonacci grows fast. Past the 79thThe 79th Fibonacci number is the first above 2^53, the largest whole number JavaScript can count exactly., numbers get too big for a browser to hold accurately and a spiral that kept going would eventually break, with its squares drifting out of line. The fix was to loop it at a fixed threshold.

if (newScale > 377) {  // Fibonacci(14)
    scale = newScale / 377;
    loop++;
}

Each time the scale passed the 14th Fibonacci number it reset to 1, and the loop kept track of how deep you were into the spiral - the 14th being three full turns in that filled the screen. It almost worked, but when zooming through every threshold there was a clear snap out of rhythm. In hindsight I had used the wrong number for the threshold, as the Fib number is not the same as the ratio between them.

I took a different approach. Instead of following ratios, I had the scale count squares since I needed an index to eventually fetch content by anyways. Also, every square is worked out separately every frame from one point - the spiral's eye.

Its size comes from how far it sits from the zoom, and its place is one of four fixed offsets from the eye.

// The golden ratio ≈ 1.618
const PHI = (1 + Math.sqrt(5)) / 2;

// Every three full turns, 12 squares, the scale resets
if (scale >= 16) { scale -= 12; loop++; }

// Each square is 1.618 times smaller than the last counted from the scale
const size = screenHeight * PHI ** (scale - index);

// and sits in one of four directions from the eye
const offset = OFFSETS[index % 4];
const position = { x: offset.x * size, y: offset.y * size };

Now all the values stay small and the loop lands on whole turns - hello, infinite zoom.

Content Creator

Now the fun part, it’s time to add content. Up till this point I had been working in an html canvas, so naturally I drew content on the canvas too, starting with images.

But drawing on canvas was very limiting. For one, every image had to be cropped and laid out manually, and the Archive’s images come in shapes and sizes. Text wasn’t the nicest to style either, and once drawn, the images didn’t even look crisp. The biggest drawback, was that nothing on a canvas can be hovered or clicked, and React and Tailwind can’t reach it.

I then rewrote the implementation as React components. Next.js helped to scale and crop images, and css transforms did the heavy lifting with positioning.

Since the infinite spiral is effectively an illusion made from repeating patterns, a separate index was used to track and fetch the content shown in each square.

const absoluteIndex = index + loop * 12;

Of course it's impossible and unnecessary to fetch and show every image in it, so I fetched only what was on screen. The IntersectionObserver proved too heavy for use in every frame, so a bit of maths replaced it.

But the images weren't keeping up with the scrolling. Repeating squares held on to their stale content as new ones fetched, and scrolling backwards triggered a lot of refetching for content that had left the view.

First thing I did was expand the fetch window, so that at any given time we not only fetched the 12 on screen, but also 6 behind and 12 in front.

const wanted = [...onScreen, ...next(12), ...prev(6)];

Each index maps to an Archive collection's search results and is then queued up on my server to be fetched. I tested a number of concurrent calls and found that whilst the Archive never complained, the calls never got faster past running eight in parallel.

The fetches also needed a bit of ordering. At first, whatever finished fetching showed up right away, and because of the varying sizes of images the interface lit up randomly across the spiral like blinking lights. So to fix that, squares are now fetched by visual weight and how much of the screen each one takes up. Each fetch is also debounced by 150 ms, so a fast deep scroll only fetches the squares it lands on.

One last snag was the images twitching as they zoomed, most noticeable on the smaller squares. Each image was laid out again at its square's size every frame, and the browser snaps every layout to the nearest whole pixel, so the image kept shifting a pixel against its frame. Laying it out once at 512 px and scaling it to the square kept it still, since the scale is applied after layout and never snapped, so the image and its crop grow together.

We're in the final stretch. The spiral works, the content is loading in, and now the devil's in the details.

The devil wears more than Prada

At this point I had shown Nauti to a couple friends. Sounds like a self-plug, but everyone loved it. One of them did mention though, that zooming in quickly gave her a sort of motion sickness.

In the early version every frame covered a tenth of the distance the spiral had left to zoom. Also, as I wanted the main square to fit the screen when it opened, the spiral started off-center and slid its eye into the middle as you zoomed. Together, it was a lot of motion to take in.

I first swapped the easing over to run on time instead of frames, so a scroll moves at the same pace on every screen. I also halved how far each scroll travels, so the same flick now zooms half as deep.

// Ease by the time since the last frame, not a tenth per frame
const ease = 1 - Math.exp(-msSinceLastFrame / 100);
scale += (target - scale) * ease;

I also moved the eye of the spiral fully off-center so that there's always a centerpiece in view, as well as removing the unnecessary sliding motion in the beginning. And if the user's system asks for reduced motion, the spiral passes on the animation and jumps to where each scroll lands.

Another detail I looked at was how the content of each tile appeared and behaved. For most collection items, the Internet Archive provides various options for the same image. So, every square starts on the thumbnail that comes with their search API, and only fetches the original when higher resolution is needed.

// How many real pixels the square covers on this screen
const needed = squareWidth * pixelDensity;

// The thumbnail can stretch 1.5× before it looks soft
const src = needed > thumbnailWidth * 1.5 ? original : thumbnail;

Because of how dynamic the interface is, there are several cases to consider:

  1. Empty squares loading in their first image
  2. Squares outgrowing their thumbnail and swapping to the original
  3. Squares shrinking back down as you zoom out
  4. Squares scrolling back into view from behind

The last two were simple. Since the sharper image is already loaded, a square can just hold on to it. It has no need to swap down as it shrinks and shows straight away when it comes back into view. As for the squares outgrowing their thumbnail, the thumbnail stretches up to 50% before the original is fetched.

The small empty squares are also straightforward - the thumbnail fades in soon as it's ready. A large empty square however needs the classic blur-up treatment. A blurred thumbnail goes in first to fill the space visually, and when the original is fetched the blur fades away.

The cases are all covered, but the issue now is that each state shows its image at a different level of detail. A blurred thumbnail, a stretched thumbnail and a sharp original all look different side by side, and even an original looks soft once its square is zoomed in far enough, like the biggest squares at the edges of the spiral.

The fix is a trick from my architecture days. When working with an image that isn't high enough resolution in Photoshop, I'd add detail back with a soft noise overlay. It gives it that extra bit of definition, particularly along soft edges or pixelated patches, and adds a bit of realism like how film grain does.

Borrowing this trick, grain is applied over every image state and fades in and out depending on how much its pixels are stretched. This gives a more uniform look across the different sized images shown side by side.

// How far the image is stretched past its own pixels
const stretch = widthOnScreen / imageWidth;

// No grain up to 1.2×, full grain by 2×
const grain = clamp((stretch - 1.2) / (2 - 1.2), 0, 1);

// Eased as the square grows and shrinks, up to 30% strength
animate(grainOpacity, grain * 0.3, { duration: 0.4 });

Finally the fun part. I am a designer, after all.

Very early on I had decided that the interface needed a unifying but unassuming style that lets the Internet Archive's collections take center stage. True to the early Internet vibe, I went for a blanket blue background as a callback to the hyperlink blue. Secondary colours for the UI are shades of red and green, to complete the raw RGB aesthetics. They are reserved for accents and states - when something needs your attention. Everything else is pure black and white to keep the raw high-contrast look.

Nautilus

Nauti is currently live at nauti.fyi with the VHS cover art collection from the Internet Archive. It's still very much a work in progress, and next up are more collections, a way to search without leaving the wander, media beyond images, and somewhere for people to talk about what they find. Eventually, any other Archive collection can open as a spiral of its own, as well as collections within collections.

I had started this project just as vibe coding was becoming a thing, and this project was actually where I first gave it a go. Think it was early February last year, so safe to say it went horribly wrong and I ended up working it all out myself. Looking back now, it might have been the last time I dove head first into a problem, went to Stack Overflow for answers, and scribbled code on paper. Funny how time goes.

p.s. If there's a collection you'd love to see, or thoughts on the project, hmu!