<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.css?cache=2026-11-13T15:19:59+00:00" type="text/css"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	     xmlns:dc="http://purl.org/dc/elements/1.1/"
	   xmlns:atom="http://www.w3.org/2005/Atom"
	     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	  xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<html:meta xmlns:html="http://www.w3.org/1999/xhtml" name="viewport" content="width=device-width" />
<channel>
	<title>screens &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/screens/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sat, 23 Aug 2025 22:44:46 +0000</lastBuildDate>
	<language>en-GB</language>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>screens &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[The Myth of the Pixel Perfect Grid]]></title>
		<link>https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/</link>
					<comments>https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#comments</comments>
				<dc:creator><![CDATA[Terence Eden]]></dc:creator>
		<pubDate>Fri, 23 Nov 2018 07:49:40 +0000</pubDate>
		<category><![CDATA[design]]></category><category><![CDATA[NaBloPoMo]]></category><category><![CDATA[screens]]></category><category><![CDATA[usability]]></category>		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=30778</guid>

		
		<description>If you've spent any time with graphic designers, you'll know that they love spending your money on imperceptible tweaks to your image files. "It must be pixel-perfect!" they cry. When you query why they've generated the same icon in multiple sizes, each with subtle variations, they cryptically mention how everything must align with "the grid."  This is hokum.  First Principles  When we first…</description>
			
		<content:encoded>&lt;p&gt;If you've spent any time with graphic designers, you'll know that they love spending your money on imperceptible tweaks to your image files. "It must be pixel-perfect!" they cry. When you query why they've generated the same icon in multiple sizes, each with subtle variations, they cryptically mention how everything must align with "the grid."&lt;/p&gt;

&lt;p&gt;This is hokum.&lt;/p&gt;

&lt;h2 id="first-principles"&gt;&lt;a href="https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#first-principles"&gt;First Principles&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;When we first learn about computers, we're taught about pixels.  The individual squares that make up a graphics display.  Each platonic pixel is a perfect square that can display a range of colours.&lt;/p&gt;

&lt;p&gt;In our naivety, we see how a diagonal line might be drawn on such a system.&lt;/p&gt;

&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/12/Line-fs8.png" alt="A simple pixel representation of a line." width="90" height="90" class="aligncenter size-full wp-image-30787"&gt;

&lt;p&gt;We then learn that we can include hints to enable Sub Pixel Rendering.&lt;/p&gt;

&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/12/Line-Subpixel-fs8.png" alt="A simple pixel representation of a line, with some pixels shaded grey." width="90" height="90" class="aligncenter size-full wp-image-30786"&gt;

&lt;p&gt;The line doesn't intersect those pixels, but if we make them grey, the line will look smoother to the user. Nifty! The grid is magic!&lt;/p&gt;

&lt;p&gt;This is a lie. Just like everything else in computing - pixels are a simple abstraction for our puny human minds.&lt;/p&gt;

&lt;h2 id="technology"&gt;&lt;a href="https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#technology"&gt;Technology&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Screen technologies play a huge part in how "pixels" are laid out. If you've never taken a look at a screen through a microscope, you should!&lt;/p&gt;

&lt;p&gt;Here's a magnified version of a typical AMOLED "pentile" screen:
&lt;a href="https://commons.wikimedia.org/wiki/File:Nexus_one_screen_microscope.jpg#/media/File:Nexus_one_screen_microscope.jpg"&gt;&lt;img src="https://upload.wikimedia.org/wikipedia/commons/8/89/Nexus_one_screen_microscope.jpg" alt="Nexus one screen microscope.jpg" width="640" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The individual colours aren't square. Not every pixel has the same colours available. They don't align in the way you might think.  In short; if you design for "the grid" you're not going to align with the physical pixels.&lt;/p&gt;

&lt;p&gt;Different technologies have different layouts.
&lt;a href="https://commons.wikimedia.org/wiki/File:Pixel_geometry_01_Pengo.jpg#/media/File:Pixel_geometry_01_Pengo.jpg"&gt;&lt;img src="https://upload.wikimedia.org/wikipedia/commons/4/4d/Pixel_geometry_01_Pengo.jpg" alt="Pixel geometry 01 Pengo.jpg" width="480" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you want to go into the weeds, take a look through &lt;a href="https://geometrian.com/programming/reference/subpixelzoo/index.php"&gt;Ian Mallett's Subpixel Zoo - A Catalog of Subpixel Geometry&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Outside of phone screens, &lt;a href="https://pcmonitors.info/reviews/philips-bdm4065uc/"&gt;pixels aren't always square&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id="compare-and-contrast"&gt;&lt;a href="https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#compare-and-contrast"&gt;Compare and Contrast&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Here are a selection of some phone screens all displaying the letter &lt;code&gt;b&lt;/code&gt;.
&lt;a href="https://i-cdn.phonearena.com/images/reviews/155697-image/"&gt;&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/12/Letter-B.jpg" alt="The letter B rendered on several screens, intensly magnified." width="933" height="293" class="aligncenter size-full wp-image-30788"&gt;&lt;/a&gt;
(I've shamelessly stolen that image from &lt;a href="https://www.phonearena.com/reviews/Screen-comparison-Galaxy-S5-vs-iPhone-5s-vs-One-M8-vs-Note-3-vs-Nexus-5-vs-G2_id3652"&gt;Phone Arena's Screen comparison (2014) article&lt;/a&gt;.  You can view the &lt;a href="https://m-cdn.phonearena.com/images/reviews/155697-image/03-100-crop.webp?w=1"&gt;full resolution image&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;You can tweak your fonts and graphics to your heart's content. There is no universal grid on which they will be displayed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.phonearena.com/reviews/Screen-Comparison-Galaxy-S4-vs-iPhone-5-vs-Xperia-Z-vs-One-vs-Galaxy-S-III-vs-Lumia-920_id3286"&gt;&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/12/screen-comparison-galaxy-s4.jpg" alt="Various screens. The text is laid out differently on each." width="680" height="340" class="aligncenter size-full wp-image-30789"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OK, but all of us super cool designers have high end Apple kit. That's got a grid, right?!&lt;/p&gt;

&lt;p&gt;Nope! &lt;a href="https://www.reddit.com/r/apple/comments/9fp1ty/did_you_ever_looked_at_apple_screens_under_a/"&gt;Here's what your iPhone, iPad, and iWatch look like under a microscope&lt;/a&gt;:
&lt;a href="https://www.reddit.com/r/apple/comments/9fp1ty/did_you_ever_looked_at_apple_screens_under_a/"&gt;&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/12/Letter-E.jpg" alt="The letter E displayed on various screens. Each renders differently." width="898" height="300" class="aligncenter size-full wp-image-30790"&gt;&lt;/a&gt;
Now, that font might be hinted for lots of different sizes, but it isn't hinted for different screen technologies.&lt;/p&gt;

&lt;h2 id="grease-is-the-word"&gt;&lt;a href="https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#grease-is-the-word"&gt;Grease is the word&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;When you're next on the bus, take a look at the screens people are using.  I guarantee you'll see phones which are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Covered in fingerprint grease.&lt;/li&gt;
&lt;li&gt;Several cracks running through the glass.&lt;/li&gt;
&lt;li&gt;Screen protectors badly applied with dust trapped under them.&lt;/li&gt;
&lt;li&gt;External lights reflecting off the screen.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's the typical environment for viewing your icon. The pixels don't even come into it!&lt;/p&gt;

&lt;p&gt;Think I'm exaggerating? Look for yourself. Count the number of people on your commute who don't have pristine screens.  As a bonus, this is my friend's phone:
&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/12/Smashed-Phone.jpg" alt="A modern iPhone. The screen is cracked, it is covered with a dirty screen protector covered in fingerprint smudges." width="1024" height="744" class="aligncenter size-full wp-image-30791"&gt;
It hurts to look at, I know. But that's what your icon is typically shown on.&lt;/p&gt;

&lt;h2 id="biology"&gt;&lt;a href="https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#biology"&gt;Biology&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;How far away are people holding their phones?  Are their eyeballs up to the screen, or is the phone on their lap while they tap at it?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cviscotland.org/documents.php?did=3&amp;amp;sid=111"&gt;Visual acuity is complex&lt;/a&gt;, and humans come in a variety of visual abilities. Generally:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;At absolute best, humans can resolve two lines about 0.01 degrees apart: a 0.026mm gap, 15cm from your face. In practice, objects 0.04mm wide (the width of a fine human hair) are just distinguishable by good eyes, objects 0.02mm wide are not.
&lt;a href="https://www.sciencefocus.com/the-human-body/how-small-can-the-naked-eye-see/"&gt;Science Focus&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The &lt;a href="https://www.apple.com/uk/iphone-xs/specs/"&gt;latest iPhone&lt;/a&gt; has 458 "pixels-per-inch".  That's about 180 pixels per centimetre.  The individual pixels are at the limit of what the perfect human eye can see up close and in perfect conditions.&lt;/p&gt;

&lt;p&gt;Humans can't see your pixels.  Sorry. We're not on 17inch CRT screens at 800x600 any more. Your users simply can't physically distinguish between your fine-tuned icons.&lt;/p&gt;

&lt;h2 id="summary"&gt;&lt;a href="https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/#summary"&gt;Summary&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;There is no grid. There never has been. You can align to theoretical pixels - but as soon as the image hits a physical screen, it will be adjusted to best fit reality.&lt;/p&gt;

&lt;img src="https://shkspr.mobi/blog/wp-content/uploads/2018/01/There-Is-No-Spoon.gif" alt="Clip from the film &amp;quot;The Matrix&amp;quot; - a young bald boy is saying &amp;quot;There is no spoon.&amp;quot;" width="245" height="180" class="aligncenter size-full wp-image-29041"&gt;

&lt;p&gt;An obsession with pixel perfect rendering is futile.&lt;/p&gt;

&lt;p&gt;Designers aren't bad people. They're not stupid, mendacious, or wasteful. But they can be unreasonably obsessed with perfection.&lt;/p&gt;

&lt;p&gt;The majority of your users aren't sat in front of a perfectly calibrated, retina mode, well lit, perfectly clean monitor.  If they see your design at all, it is through a glass, darkly.&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=30778&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</content:encoded>
	

					<wfw:commentRss>https://shkspr.mobi/blog/2018/11/the-myth-of-the-pixel-perfect-grid/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
