<?xml version="1.0" encoding="UTF-8"?>
<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/"
	>

<channel>
	<title>Defective Semantics &#187; transparency</title>
	<atom:link href="http://scarff.id.au/blog/tag/transparency/feed/" rel="self" type="application/rss+xml" />
	<link>http://scarff.id.au</link>
	<description>Dean Scarff's perpetual struggle with technology, and other anecdotes</description>
	<lastBuildDate>Thu, 03 Nov 2011 22:39:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>blur for iTerm</title>
		<link>http://scarff.id.au/blog/2008/blur-for-iterm/</link>
		<comments>http://scarff.id.au/blog/2008/blur-for-iterm/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 20:56:28 +0000</pubDate>
		<dc:creator>Dean</dc:creator>
				<category><![CDATA[Programs]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Core Image]]></category>
		<category><![CDATA[glass]]></category>
		<category><![CDATA[iTerm]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[transparency]]></category>

		<guid isPermaLink="false">http://scarff.id.au/?p=65</guid>
		<description><![CDATA[<p>I&#8217;ve been a fan of terminal transparency since there have been terminal-emulators that supported it (although in the old days, it was just showing the X11 root window with some tinting).  I&#8217;m not alone, and similar terminal-emulator users have been ahead of their time with respect to the transparency-fetish that is now popular.</p>
<p>Back on Windows 2k and xp there were various hacks that could turn a window transparent (I used one that came with my nVidia drivers).  They weren&#8217;t perfect, as the transparency included the window borders and chrome, but they granted <strong>real</strong> transparency: where the background is a composition of alpha-blended windows.  This added a little bit of depth to the desktop, rather than just having pretty terminal backgrounds.</p>
<p>When I moved to OS X, iTerm did it properly (i.e. without making the UI parts transparent).  However, at the end of a long night hacking, with several accumulated&#8230; <a href="http://scarff.id.au/blog/2008/blur-for-iterm/" class="read_more">more</a></p>]]></description>
			<content:encoded><![CDATA[<div id="attachment_86" class="wp-caption aligncenter" style="width: 490px"><a href="http://scarff.id.au/blog/wp-content/uploads/2008/07/itermblur2.png"><img src="http://scarff.id.au/blog/wp-content/uploads/2008/07/itermblur2.png" alt="iTerm+blur screenshot" title="itermblur2" width="480" height="480" class="size-full wp-image-86" /></a><p class="wp-caption-text">iTerm+blur screenshot</p></div>
<p>I&#8217;ve been a fan of terminal transparency since there have been terminal-emulators that supported it (although in the <a href="http://p00ya.deviantart.com/art/daft-on-Debian-2321793">old days</a>, it was just showing the X11 root window with some tinting).  I&#8217;m not alone, and similar terminal-emulator users have been ahead of their time with respect to the transparency-fetish that is now popular.</p>
<p>Back on Windows 2k and xp there were various hacks that could turn a window transparent (I used one that came with my nVidia drivers).  They weren&#8217;t perfect, as the transparency included the window borders and chrome, but they granted <strong>real</strong> transparency: where the background is a composition of alpha-blended windows.  This added a little bit of depth to the desktop, rather than just having pretty terminal backgrounds.</p>
<p>When I moved to OS X, <a href="http://iterm.sf.net">iTerm</a> did it properly (i.e. without making the UI parts transparent).  However, at the end of a long night hacking, with several accumulated editor and terminal windows full of text merged on top of each other, there is a serious readability problem with low opacities.</p>
<p>I use transparency because:</p>
<ol>
<li>It&#8217;s easier on the eyes than high-contrast text-on-black.</li>
<li>It&#8217;s multiplexing content from multiple windows without consuming screen resolution.  This is a fidelity trade-off: as the visibility of lower layers of text increases, the accuity of the frontmost (focused) layer decreases.</li>
<li>It impresses others.</li>
</ol>
<p>When I saw Vista&#8217;s glass effect, the first thing I thought was &#8220;finally the answer to stacking translucent terminals!&#8221;.  Combining blurring with transparency preserves the accuity of the focused window while transmitting enough information to be useful.  So you won&#8217;t be able to transcribe text from below, but you can see if there&#8217;s, say, a burst of activity in IRC.</p>
<p>I suspect Microsoft got some IP rights on it, because Leopard has the most subtle application of transparency+blurring ever (in sheets and the menu bar), compared to Aero&#8217;s egregious UI-glassing.  However, the imporant thing is that the new <a href="http://developer.apple.com/documentation/GraphicsImaging/Reference/CoreImageFilterReference/index.html">Core Image filters</a> can be applied to windows, with a compositing mode that is perfect for terminals (and text editors for that matter).</p>
<p>One stumbling block is that the API to apply window filters is undocumented.  Fortunately, thanks to the <a href="http://alacatialabs.com/toys/cgsinternal/">CGSInternal</a> headers some of this API has been exposed.</p>
<p>It&#8217;s already been <a href="http://ciaranwal.sh/2007/11/16/blurminal">exploited</a> for Apple&#8217;s Terminal.app, but that requires Input Manager patching hacks.  I gave reasons why I prefer iTerm in my last post, but here&#8217;s another one: it&#8217;s open source and so I can add blurring in myself.</p>
<p><small class="postscript">Update: check out the source at <a href="http://github.com/p00ya/iterm/">github</a>, or the <a href="http://scarff.id.au/file/iTerm+blur.dmg">built binary</a>.</small></p>
<p><small class="postscript">Update: The patch has been merged into <a href="http://iterm.sourceforge.net/download.shtml">upstream CVS</a>. Yay!</small></p>
]]></content:encoded>
			<wfw:commentRss>http://scarff.id.au/blog/2008/blur-for-iterm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

