Perpetual Pizza Watch the pizza

The pizza that never ends

Perpetual Pizza is a never ending digital pizza. The centre of every pizza is a smaller pizza, whose centre is a smaller pizza again, and the camera zooms in forever. It's a free web toy at perpetual.pizza, made by Callum Bonnyman (wrux).

Watch the pizza How it works

A pizza with pepperoni, ham, mushrooms, black olives, jalapeños and basil, drawn in 3D, with a smaller copy of itself at its centre
What it is
An endless, zooming 3D pizza you can customise
Made by
Inspired by
A looping pizza animation by Sheep Films
Built with
WebGL2, drawn live in your browser
Works on
Phones, tablets and computers, in any modern browser
Source code
wrux/perpetual-pizza

How the endless zoom works

The trick is an old one, sometimes called the Droste effect: a picture that contains a smaller copy of itself.

  1. A pizza inside a pizza Each pizza has another, identical pizza sitting at its centre.
  2. The camera moves in The small pizza grows until it's exactly the size the big one was when the zoom began.
  3. An invisible reset The scene quietly jumps back to the start. Every level is the same, so nobody can tell.

Nothing is a video. The crust, cheese and toppings are built in 3D and painted from photographs, then drawn frame by frame in your browser with WebGL2.

Make your own pizza

Open Customise on the pizza page and change any of these.

  • ToppingsPepperoni, mushroom, basil, olives, jalapeño and ham, as many or as few as you like.
  • MotionHow fast it zooms, how much it spins, and whether it zooms in or out.
  • CameraThe viewing angle and the lens.
  • Look DefaultPixelOld FilmVHSCRTAcid

Every setting is saved in the page's address, so the share button copies a link to exactly your pizza. Press F for fullscreen.

The story

  1. The beginning

    The idea came from a looping pizza animation by Sheep Films. When the .pizza web domain launched, Callum made perpetual.pizza: a page that played the loop endlessly, with credit to Sheep Films.

  2. 2021

    Perpetual Pizza 2.0: six new pizzas, each a seamless looping video with its own page.

  3. 2023

    The site was rebuilt with Astro.

  4. 2026

    The videos were replaced by a super-lightweight pizza engine that Callum wrote in WebGL2. The pizza is drawn live in the browser, so everything about it can change: the toppings, speed, spin, camera and look. The whole first visit is about 235 KB.

Questions

Does it really never end?

Yes. The zoom loops seamlessly, so you can leave it running for as long as you like.

Can I order this pizza?

No, it's a digital pizza only. It may still make you want to order a real one.

Why doesn't the pizza show up?

Your browser needs JavaScript and WebGL2, which every current version of Chrome, Edge, Firefox and Safari has. Turning on hardware acceleration in your browser's settings usually helps.

Can I use the code?

The source code is on GitHub, and you're welcome to fork it or borrow from it.

Who made it

Perpetual Pizza is made by Callum Bonnyman, also known as wrux. There's more of Callum's work at wrux.com and on GitHub.

GitHub

Ready for a slice that never ends?

Watch the pizza