Mosaic – arrange iOS icons by color using an evolutionary algorithm
FreeAbout Mosaic – arrange iOS icons by color using an evolutionary algorithm
Mosaic is an open-source tool that automatically arranges icons on an iOS home screen by color using evolutionary algorithms, specifically a genetic algorithm. It treats the arrangement problem as a multi-objective optimization (similar to the Traveling Salesman Problem) where icons are placed to fit well with neighbors, each page has a color theme, and pages are filled to a viable maximum. The tool uses a chromosome representation with page-break elements and applies mutation, elitism, and culling over generations. It supports only the classic grid layout (left-to-right, top-to-bottom) and does not support widgets or iOS 18's arbitrary icon placement. Built with CMake, OpenCV, and Google Test, it includes example executables for grayscale icons, colored icons, and real icons from a directory.
Key Features
Pros & Cons
- Fully automatic arrangement using a sophisticated evolutionary algorithm
- Free and open-source, allowing customization and study
- Multiple example scripts for different icon types
- No need for manual sorting or third-party services
- Only supports classic grid layout, not widgets or iOS 18 arbitrary placement
- Requires building from source with CMake and OpenCV, not a ready-to-use app
- No graphical user interface; command-line only
- May require manual extraction of icons from screenshots
- Limited to iOS devices with classic grid home screen