Human-Diet.com

Production
ReactTypeScriptVitethree.jsWebGLCanvasFramer MotionTailwind CSSVercel
Work with me

For nearly all of human history we ate one broadly stable diet. Then, in the last few lifetimes, seed oils and ultra-processed food rewrote it. Human Diet makes you feel that instead of reading it: you scroll, and three people walk from 300,000 years ago to today, while the world, their bodies and the food under their feet change around them.

A walk through 300,000 years

The road is the data. Its lanes are the eight food groups, each as wide as its share of the diet, so the road itself changes colour as the walkers move through time. The world around it changes too: forager camps and open grassland, the snow and mammoths of the ice age, the first fields and villages, stone towns, then factories, monocrops and seed-oil refineries. Fifteen chapters tell the story along the way, each with what people ate, how they prepared it, and the sources behind it.

18,000 BCE: the walkers cross a snowy ice-age landscape past mammoths and hide tents, beside the chapter Peak reliance on the hunt
18,000 BCE: peak reliance on the hunt.
1865 CE: a brick factory and canning beside fields, under the chapter The first factory food
1865: the first factory food.

Bodies that follow the data

The walkers aren't decoration. Their height and weight come from the evidence for each era, and they wear six outfits along the way, from hides and sewn furs to a T-shirt, jeans and sneakers. A readout in the corner tracks the numbers as you go.

1998 CE: the walkers in modern clothes pass factories and a store, with the readout showing life expectancy 76 years, height 176 cm, weight 85 kg and 58% of the diet from seed oils and ultra-processed food
1998: the golden age of processing.
  • Life expectancy at birth, and the median age at death
  • Adult height and weight
  • Energy used per person per year, from about 1,700 kWh for a forager to over 80,000 today
  • The share of the diet from seed oils and ultra-processed food, from 0% for nearly all of history to 58% today

Honest scale, kept from the first version

On a truthful linear timeline, the modern era is a hair-thin sliver at the edge, so all the drama is invisible. The tempting fix is to stretch the recent past. I built that version early on and threw it out, because it gives the last 200 years the same visual weight as 200,000, which is the exact distortion the project exists to expose.

The linear timeline strip: about 300,000 years of essentially one diet as flat bands, with all of the change crammed into the last sliver at the right edge
Every year drawn the same width. All the change is in the last sliver.

So the timeline strip under the world stays strictly linear, and the walk above it is openly a time-lapse. The walkers slow down as they near the present, from more than a thousand years per step to about six months, and the screen always says what one step is worth. The walk carries the story, and the strip keeps the proportions true.

Every number has a source

The rebuild came with a full Method & Sources page: 95 checked sources in eight topics, the evidence behind each chapter, and plain notes on what the numbers are and aren't. The diet bands are a stylised reconstruction, not a measurement, and the page says so. Prehistoric shares carry wide uncertainty, and values before about 1800 are reconstructions from many populations.

The Method & Sources page: How time is drawn, explaining the linear timeline and the time-lapse walk, and What the numbers are and are not
Method & Sources: how it's drawn, and what the numbers can't tell you.

How it's built

  • A three.js world built entirely in code: the walkers, animals, plants, buildings and machines are procedural low-poly models, generated and placed per era as the camera moves
  • The walkers' bodies scale with the data each frame. Girth follows body mass, with children affected less
  • React, TypeScript and Vite for the app, with Framer Motion tying the whole experience to scroll position
  • The timeline strip is a hand-built canvas streamgraph, and on devices without WebGL it becomes the whole experience
  • Diet, body, lifespan and energy curves are structured datasets, each keyed to its sources and interpolated between eras

A world modelled in Blender

The world started as low-poly placeholders, built to be replaced. The site's Objects tab was the production brief, listing each object's real-world size, the era it appears in and the variants it needs. Each one has since been modelled in Blender and swapped in, more than 80 in all, from the rigged walkers to the woolly mammoth.

The Objects tab: how to deliver a model (one .glb per object, real-world metres, PBR materials, no baked lighting, no real logos) and the first entries, the man, woman and child walkers
The model brief lives on the site.
  • Rigged walkers with a real walk cycle in all six era outfits, their height and build following each era's body data
  • Physically based materials and real-world scale for every object, exported as one compressed .glb per model so it drops straight into the scene
  • Instanced crop rows and props scattered by the hundred, with Draco-compressed meshes loaded as the walk reaches them, to keep it smooth on a phone

Technical Stack

React 18 and TypeScript on Vite, with three.js and WebGL for the walking world, a hand-built canvas streamgraph for the timeline, Framer Motion for scroll-driven animation, and Tailwind CSS. Deployed on Vercel. Data lives in typed modules for diet composition, vitals, chapters and sources, each value keyed to its references.

Work with me

Want something like this built?

I take on client work — sites, apps, AI systems, and devices. Tell me what you're imagining and I'll tell you how I'd build it.

Work with me →