Email or username:

Password:

Forgot your password?
Top-level
Lickability

Some users have pointed out that the flashlight icon in the Live Activity isn’t mathematically centered. At first glance, this might seem like an oversight. But this is a deliberate choice, rooted in centuries-old design principles.

18 comments
Lickability

Optical centering (or optical alignment) is the practice of adjusting elements to appear centered or balanced to the human eye, even if they’re not mathematically precise. This technique has been used in art and architecture for millennia, well before iOS 18.

Lickability

(The designer is breaking out Greek architecture diagrams, we’re getting serious.)

Consider the Parthenon in Athens. Its columns aren’t perfectly straight — they have a slight curve. This subtle adjustment, known as entasis (from Greek, ‘to stretch tight’), creates the illusion of perfectly straight lines when viewed from a distance.

Even 2,500 years ago, our ancestors had to sigh and metaphorically detach an instance since mathematical precision doesn’t always translate to visual harmony.

Lickability

Fast forward to today and we see these principles everywhere: iconography, logos, typesetting.

The Google “G” logo, for instance, isn’t geometrically perfect. Its designers adjusted it away from a perfect circle to appear balanced. If you contort the logo to undo these adjustments, it just looks weird.

As does the play button when mathematically centered, or a leading-aligned paragraph when you align the glyphs by their actual shape.

Lickability

Apple has a long history of prioritizing visual perception over mathematical precision in their interfaces.

Even as far back as the 90s, Apple’s font rendering methodology has been “make this text look as similar as possible to a printed page at the cost of some blurriness.”

Meanwhile, Microsoft’s has been “cram the glyph into the nearest pixel at the cost of staying true to the font’s design,” which caused type to look thinner than it actually would appear when printed.

Lickability

But let’s bring it back to iOS and the post that set off this discourse. The flashlight icon is just the tip of the iceberg. We would like to call a surprise witness to the stand: a reverse-engineered iMessage group chat avatar layout.

It’s a really beautiful piece of design — it mimics nature with either this planet solar system layout or a snow globe–style layout in your conversation list.

Lickability

Our designer @samhenrigold was curious about how this view was created and investigated.

You might think, like he did, that this is the result of some clever algorithm. Some design system with tokens for this, maybe something crazy like a circle packing algorithm.

Lickability

Sam went on a wild goose chase, ripping open framework binaries to see where this layout was happening. It turns out, it’s not even remotely that deep. On your Mac, right now, go look at this file:

/System/Library/PrivateFrameworks/ContactsUICore.framework/Versions/A/Resources/CNUIIdentityAvatarConfiguration.json

Lickability

That’s it. That’s the genius algorithm. It’s a JSON file that precisely defines the size and position of these avatars.

This probably isn’t generated programmatically – it’s likely a designer somewhere at Apple, meticulously moving circles around on a canvas, nudging them pixel by pixel until they strike the right visual balance. The file is filled with truly hideous numbers that have no place in a design system — 23.5, 7.5, -6 — but it all works.

Lickability

We even wrote a test app that parses this JSON file, just so we could confirm our suspicions.

Lickability replied to Lickability

These micro-adjustments are part of what makes great design. And they require an understanding of how our brains perceive visual information. It’s not something you can automate, write a test for, or cram into a design system.

Design systems are conceptually against a token like `PlayButtonIconOffset` or `AvatarTopLeftScaleMultiplier` or `OnboardingCompleteCheckmarkDrawAnimationSpringDamping`.

Sometimes you just need to go off-roading.

Lickability replied to Lickability

The tools will always change. The medium will always change. But these foundations are constants.

Your Figma skills probably won’t be relevant in 20 years, just as your Dreamweaver skills probably aren’t paying off in spades right now. But knowing when to break from the grid and nudge things around is a forever skill.

Evan B🥥ehs replied to Lickability

@lickability This doesn't explain the theory of why the flashlight looks good when off center in this almost perfectly symmetrical layout. Is it because of the sun icon on the right?

Bradley Schaefer replied to Evan

@eb @lickability yeah, I’m not sure it strikes me as scientific or mathematical that “a designer somewhere at Apple, meticulously moving circles around on a canvas, nudging them pixel by pixel until they strike the right visual balance“

So, that’s just like… some designer’s opinion, then.

I do think there is something to this idea of “things can look better when not pursuing exact symmetry”, but it’s not super objective what the “right” design is. Or there are multiple answers for diff people

Cyril Zakka, MD replied to Lickability

@lickability love these breakdowns. Please keep them coming!

Daniel Lyons

@lickability Call me crazy but I actually like the Google logo better without the optical adjustments. It's always bothered me how little optical weight the yellow has and how it isn't balanced with the rest.

Go Up