Dicing an Onion, the Mathematically Optimal Way

17 surprisetalk 6 8/16/2025, 1:54:19 PM pudding.cool ↗

Comments (6)

altairprime · 15m ago
To translate the final answer from math to human (as I’m going to be explaining this to my mother when I chat with her next!):

Imagine the half onion is a half rainbow. You know there’s another half rainbow lurking below the surface, the onion’s ghost of the sphere it once was. Place your knife as usual for each of your ten dice cuts, but instead of cutting straight down towards the cutting board, angle it slightly inward towards the end of the onion’s ghostly half-rainbow sphere below the board. Check your fingers for safety and then make your cut. Assuming your knife isn’t a plasma cutter, you’ll be stopped at the cutting board without ever reaching the onion at the end of the rainbow, and that’s cool. Set your knife at the next dice point and try again :)

(This still improves on the other dicing cases and only costs 1% uniformity by using 100% radius as the target.)

fnord77 · 2m ago
[delayed]
fnord77 · 3m ago
[delayed]
footlong2 · 17m ago
Too much dork time on their hands. Cooking is fun, not vibe coding.
sram1337 · 5m ago
In my opinion there is no such thing as too much dork time. This post is fun, just like cooking. The onion-inspired font for the section titles is fun. The interactive graphs are fun. Also vibe coding is fun.

What was the point of this judgmental comment?

pfdietz · 1h ago
Throws it in the food processor.
SoftTalker · 21m ago
Nice if you want onion mush.
criley2 · 3m ago
A few quick pulses doesn't make mush and is fine for a lot of applications. Otherwise, food processors have dicing kits https://i.imgur.com/cXbZ9aC.png

I enjoy the art of prep with my beautiful wa gyuto, I truly do. But if you put a 5 pound bag of large onion on front of me to dice, I will prefer the machine...