Arrangement algorithms should be easily swapped in and out, but should not necessarily be visible to the user.
Strategy pattern is an obvious choice for easy algorithm switching. I’m going to introduce a sprite organiser, which is effectively a sprite sheet packer that organises sprites according to the slected algorithm/strategy. The initial or default strategy will simply stack sprites one after another similar to flow layout.
I need to add a new story for default sprite arrangement and investigate how the flow layout works.