Panny’s Chocolate World in Victoria, Australia may not be the first thing that comes to mind when you think of cake magic. But it should be.

If you go to the Phillip Island Chocolate Factory, you can see this completely unbelievable chocolate zoetrope cake on display.

cy4g4

Designed by a company called Megafun that specializes in crafting public exhibits, RapidPro Australia used 3D printing to build the necessary components to make this cake a reality.

You’re looking at 120 different parts working together to create this illusion.

zoetrope chocolate cake 1

Photo: Megafun

Animation students can skip this part, but for everyone else, here’s how this cake works:

Zoetropes—literally “wheels of life” in Greek—take advantage of two visual phenomena to bring life to inanimate objects.

Persistence of Vision

According to Random Motion, Peter Mark Roget made note of this phenomenon in 1820. Think of your retina as a movie screen at the back of your eye. It retains images for a certain period of time.

Roget discovered that if a light flashes every tenth of a second or less, images look continuous to us. That’s because your retina retains images for about a tenth of a second, when they’re taken in with flashes of light.

The Phi Phenomenon

The Phi Phenomenon is simple: your brain is wired to make sense of images that you view close together. Automatically, you try to make sense of those images and relate them to one another.

By putting this together with the persistence of vision phenomenon, you can see how the mechanism of a zoetrope can work its magic and delight your senses—especially when it’s made of cake.

If caketropes have just completely blown your mind, we’d like to introduce you to the work of mad French genius Alexandre Dubosc. His caketrope creations are so amazing, he’s even won animation awards.

The Caketrope of BURTON’s Team from Alexandre DUBOSC on Vimeo.

Alimation from Alexandre DUBOSC on Vimeo.

You can view more of Dubosc’s work here.

Just when you think you’ve seen every kind of pastry there is to see, something like this comes along to blow your mind.

[via That’s Nerdalicious]

RELATED: These Hyperrealistic Cakes Look Like Crab, Ribs, and Pizza