I needed to populate many shelves with books so i made this little tool. It's broken up into 2 parts, the first places both vertical and horizontally stacked books inside a given bounding box. It resolves pre-sim intersections. The second tool takes the generated packed books and gives them random initial torque before going into a bullet solver to handle the more natural look of books leaning on each other.
