Back to browse
GitHub Repository

A tool for automatically arranging icons on iOS home screen by color using genetic algorithms.

2 starsC++

Mosaic – sort iOS icons by color using an evolutionary algorithm

by artkh·May 10, 2026·3 points·2 comments

AI Analysis

●●SolidBig BrainNiche Gem

Genetic algorithms for icon sorting is a clever over-engineering win.

Strengths
  • Frames icon arrangement as a Traveling Salesman Problem with multi-objective scoring.
  • Uses evolutionary strategies like mutation and culling to optimize color gradients.
Weaknesses
  • Does not support iOS 18 arbitrary placement or widgets, limiting modern utility.
  • Requires extracting icons manually rather than integrating with iOS Shortcuts.
Category
Target Audience

iOS power users and C++ developers

Similar To

Shortcuts app · Toolbox Pro

Post Description

It started out as a way for me to freshen up my C++ skills during COVID. But life got in the way and it was put on ice. Luckily, coding LLMs came to the rescue and allowed me to bring it to a point where I feel comfortable sharing it.

Similar Projects

EducationMid

Bubble sort on a Turing machine

Bubble sort on a Turing Machine with 31 states; educational but purely academic novelty.

WizardryRabbit Hole
purplejacket
1223mo ago