Skip to content
All notes
DesignNovember 8, 202610 min read

Taking my own homepage apart

How my homepage became a teardown, told in seventeen animated graphics: five drafts, six layers, a book with fifteen covers, and how the page shares the GPU, the CPU and the frame rate on every phone.

Subhankar Denria

CTO & product engineer

Taking my own homepage apart
~7 min

Most consultancy homepages ask you to believe them. A list of services, a row of logos, a few kind words, a button. Mine did too. So I rebuilt it around one idea: don't claim it, show it. Take a product apart in front of the reader and let them see what holds it up.

Two ways to make the case

Claim it

WebMobileAICloud

“Great to work with.”

Contact us

Every site says this. The reader has to believe it.

Show it

Take a product apart. Let them see what holds it up.

What it is
A homepage that takes a founder's own product apart, in six layers
What it took
Five homepages and nearly seventy commits, over four days
What it had to do
Stay smooth on a modest phone as well as a new laptop

Five homepages in four days

Four drafts came before the one you see now. Each was good to look at. Most didn't get a founder any closer to the question they arrive with: will this person build my product properly?

Five homepages in four days

v2

Particles

Impressive. Said nothing.

went

v2

One wire

A point of view at last.

went

v3

3D journey

Beautiful. No answer.

went

v4

Paper model

Beautiful. No answer.

went

v5

The teardown

Shows, doesn’t claim.

kept

The teardown

The page opens with one unfinished sentence. The founder names what they're building and who they're looking for, and a phone in a photographer's studio takes their app's name.

The first screen: one sentence

I’m building   and I’m looking for  .

FFernwaycoming soon
The name is drawn onto every screen of the phone, and it stays in the reader’s browser. Nothing is sent anywhere.
“Fernway” is an example name.

Then scrolling takes it apart. The phone's body falls away and the product separates into six layers. Each one asks a question a good CTO raises early, and points to proof you can check.

Six layers, six questions
InterfaceLogicAIDataCloudOwnership

Layer 01 / Interface

What’s the smallest version people will pay for?

Proof · Scope and user flows before any code

Tap a layer to read its question.

After the layers, the page answers the role the founder asked for, closes up over six weeks of building, and ends on launch day with their first sign-up.

The whole page, start to finish
  1. One sentenceYour app, by name
  2. Six layersTaken apart
  3. Your roleA straight answer
  4. Six weeksClosing back up
  5. Launch dayA first sign-up
  6. The bookThe details

A book at the back

The story ends at launch day, but a founder still wants the details. So the details became a hardback book, Before You Build, whose pages turn as you scroll. Each chapter opens on an object made of its own content.

The book’s chapters, as objects

In their words

A. Founder

CEO · client

On record · LinkedIn

Nine calling cards. Pick one and its letter opens.

Ways to start

Passenger

An idea, not yet built

Fare

Fixed

Each offer is a pass: your situation, the fare, a stub that tears.

Where each pass takes you

IdeaPlanMVPLaunchScale

A copper plane rolls down the runway at Idea and flies the route.

The career

A staircase of real years and roles.

No part of the page took more attempts than the book's cover. The first one was fine. The fifteenth is right.

Fifteen covers, one book

Cover 1 of 15

Woven cloth, copper foil

A good start, but generic

Drag the slider to see each one. Colours are drawn here, not photographed.

A sewn hardback is two pages wide, and a phone has room for one. So phones get a spiral pad instead, bound at the top, where a swipe turns exactly one page.

One book, two shapes

Desktop: a sewn hardback

Two pages wide. Scroll turns a leaf.

Phone: a spiral pad

One page wide. A swipe turns exactly one.

Same pages, same content. A page on the phone never rests half turned.

Smooth on every phone

A page like this is closer to a small game than a document. The GPU draws the 3D phone and every bending page. The CPU runs the scroll, the layout and the timing. And the screen asks for a new picture 60 to 120 times a second. On a new laptop that's easy. On a modest phone, on a low battery, it isn't.

So the page follows three rules, in order: stay smooth, then stay sharp, then rest.

Each device gets what it can carry

Before anything is drawn, the page looks at the device it's on and picks one of three versions. Nobody gets a blank space, and with reduced motion turned on, every version holds still.

Before the first frame: which page this device gets

Full studio

A capable computer

  • · Real studio light
  • · 2× sharpness
  • · Smoothed edges

Light studio

A touch screen, 3G, 4 GB or less, or 4 cores or fewer

  • · A generated room
  • · A pixel budget
  • · No extra edge smoothing

A phone in CSS

Data saver, 2G, 2 GB or less, 2 cores or fewer, or no WebGL 2

  • · No 3D at all
  • · The same story
  • · Nothing heavy to load

Reduced motion turned on? Whichever version, it holds still and shows the finished picture.

Pixels the GPU can afford

A phone's screen packs up to three real pixels into every one you see. Drawing the 3D at that density makes the words on the phone sharp, but it's a lot of pixels. So the page gives the GPU a budget, and lets phones spend all of it.

How many pixels the GPU draws

1.5× density · 0.8 million pixels a frame

budget: 3.7 million

Payment received · £42

Held to 1.5×: the words on the phone read soft.

Edge smoothing is off on dense phone screens. At 3× the edges are already smooth, and smoothing would draw four samples for every pixel, in memory a phone’s browser doesn’t have to spare.

Pixel counts for a full-screen 3D canvas. The budget applies to phones and other light-studio devices.

Smoothness before sharpness

The page watches its own frame rate. If it falls behind, it gives up frames before it gives up sharpness, and pixels only as a last step.

When the page falls behind
  1. 1EasyEvery frame · 3× sharp
  2. 2Falling behindEvery other frame · 3× sharp
  3. 3Still behindEvery other frame · 2.25× sharp
  4. 4Last resortEvery other frame · 1× sharp

Frames the screen asks for

Filled: drawn. Empty: the last picture stays up. 120 pictures a second.

Payment received · £42

On a 120 Hz screen, a fresh picture every frame.

And when the device says it’s strained, a low battery (20% or less, not charging) or a processor under pressure from heat, a fast screen is held to 60 until it passes. Where the browser tells.

It measures after the first 150 frames, then every 120, and stops adjusting once it keeps up.

A capped phone isn't a slow phone

Battery saver caps a phone at 30 frames a second, however light the page is. The first version read that cap as a slow phone, and blurred the 3D for no reason. Now it measures the phone's own pace first.

An iPhone in Low Power Mode

The first version

  1. 1The phone allows 30 pictures a second
  2. 2Each one arrives every 33 ms
  3. 3Slower than the 22 ms it expected: “struggling”
Payment received · £42sharpness cut toward 1×, for no reason

Now

  1. 1It reads the phone’s own pace first: 33 ms
  2. 2The drawing keeps up with that pace
  3. 3Held to 30 isn’t struggling
Payment received · £42stays at 3×

Rest when nothing moves

A reader spends most of their time reading, not scrolling. A moment after nothing moves, the 3D stops drawing altogether, and wakes on the next scroll or touch.

Processor time while someone reads
scrollreadingtouchreadingPROCESSOR TIME

Before: 20–40 ms of processor time every second, even while still.

Now: about none, a moment after the last movement.

Shape illustrative; the idle figures were measured on the page.

When the iPhone closed the page

Testing on a real iPhone, the page crashed in the phone's pad: "A problem repeatedly occurred." The pad was beautiful, and it was holding far more in the GPU's memory than a phone's browser allows.

GPU memory in the phone’s pad
iOS: “A problem repeatedly occurred.” The tab is closed.

1. Hold only three pages

The pad has 28 page faces. Only the top page and its neighbours keep a picture.

2. Rest the 3D behind the pad

While the pad covers the screen, the studio stops, hides and lets go of its layers.

3. Cut strips without masks

A bending page is twelve strips. Safari drew a hidden mask for each; now there are none.

The pad’s page layers338 MB
Added by one page turn~280 MB
Peak, jumping across the book1.55 GB
Measured in WebKit at iPhone 17 Pro size.

None of this showed up on a desktop browser. It only showed up on the phone in my hand.

Nothing animates forever

Even once it stopped crashing, a phone left on the page got warm. The cause was small things moving forever, each asking for a fresh picture every frame.

Three small things that never stopped

The chat button’s ring

Breathed forever. Now three breaths, then still.

The scroll arrow

Bounced forever. Now four bounces, then still.

The route map’s plane

Cost ~220 ms of processor a second. On a phone it’s now drawn mid-flight, held still.

Warm at rest

On a computer, the plane still flies, but the GPU’s compositor moves it, not the processor. The progress bars on the other pages grow the same way, so the processor rests while they move.

The book waits until you're near

The book sits at the very back of the page, and its cloth and leather were being fetched before a reader had seen the first heading. Now they wait until the reader is about three screens away. On a slow 3G connection, the page's first load became about a third of what it was, and finished in well under half the time.

When the phone takes the GPU back

A phone's browser can take the GPU away from a page, for example when it runs short of memory. When that happened, the 3D phone used to vanish. Now the page quietly rebuilds it in the same place, and if it's taken a second time, a drawn phone takes its place, so there's never a blank space.

Paper and ink

The last pass gave the page a material. A fine paper grain runs under everything, in light and dark. The headings are written on it rather than printed over it: full colour, with the paper's tooth showing through and a raw, uneven wash, like real ink. Dark mode isn't the light page inverted: the paper becomes a desk, with a pool of lamplight under the book.

Printed over, or written on

Layer 03 / AI

Where does AI earn its cost?

Full colour, with the paper’s tooth showing through and a raw, uneven wash.

close-up

The words stay real text, so screen readers, search and copy-and-paste see ordinary words. High-contrast mode drops the texture.

What carries over to a product

Five things that carry over
Tap a card to turn it.

If you're reading this on a phone, the pad is at the bottom of the homepage. Swipe it.