Tetris for Logistics: solving the 3D Bin Packing Problem with Rust 🦀
dev.to·2d·
Discuss: DEV
💾Retro Computing
Preview
Report Post

Hi everyone! 👋

You know what’s frustrating? Opening a huge delivery box just to find a tiny item rattling around inside, surrounded by a mountain of bubble wrap. It’s inefficient, it’s bad for the environment, and honestly, it just feels wrong.

Or maybe you’ve moved house recently and played "Real Life Tetris" trying to fit everything into the moving truck?

I decided to tackle this problem the way I love most: with code. 💻

📦 Introducing: sort-it-now

I built sort-it-now, a 3D packing optimizer written in Rust. The goal is simple but powerful: calculate the most efficient way to pack a set of items into a box (or container) and visualize the result.

It’s basically an algorithm that plays Tetris for you, but in 3D a…

Similar Posts

Loading similar posts...