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).
- What it is
- An endless, zooming 3D pizza you can customise
- Made by
- Callum Bonnyman (wrux)
- 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.
- A pizza inside a pizza Each pizza has another, identical pizza sitting at its centre.
- The camera moves in The small pizza grows until it's exactly the size the big one was when the zoom began.
- 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
- 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.
- 2021
Perpetual Pizza 2.0: six new pizzas, each a seamless looping video with its own page.
- 2023
The site was rebuilt with Astro.
- 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.
-
Pepperoni and mushroom -
Jalapeño and crumbled meat -
Crumbled white cheese -
Tomato and basil -
Ham and pineapple -
Black olives and ham
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.