pub fn to_atlas( frames: &HashMap<String, Frame>, image_width: u32, image_height: u32, ) -> Spritesheet