Cargo optimizer: Tetris in the cargo hold

SC Cargo Optimizer

If you haul cargo in Star Citizen, you know the feeling: the containers never quite fit the grid the way you want. The cargo optimizer shows a ship's cargo grid in 3D, suggests a loading plan and plans the route.

Packing is done by a heuristic in a web worker so the UI stays smooth. Live rooms let you edit a load together or share it view-only, and a parser turns a copied contract text straight into a cargo list.

Stack: Vite, React, TypeScript and react-three-fiber in the browser, plus a small Bun server with Postgres. My biggest trip away from Python so far.

star citizentypescript3d