An automatic texture packer in Löve2D