<?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/"
	xmlns:go='http://ns.gigaom.com/'
xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>GigaOM &#187; Apple</title>
	<atom:link href="http://gigaom.com/apple/tag/cover-flow/feed/" rel="self" type="application/rss+xml" />
	<link>http://gigaom.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gigaom.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0db8f6557d022075dbbf010c54d46d93?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>GigaOM &#187; Apple</title>
		<link>http://gigaom.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gigaom.com/osd.xml" title="GigaOM" />
	<atom:link rel='hub' href='http://gigaom.com/?pushpress=hub'/>
		<item>
		<title>CoverFlow in Safari for iPhone: Proof of Concept With Promise</title>
		<link>http://gigaom.com/apple/coverflow-in-safari-for-iphone-proof-of-concept-with-promise/</link>
		<comments>http://gigaom.com/apple/coverflow-in-safari-for-iphone-proof-of-concept-with-promise/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 17:00:06 +0000</pubDate>
		<dc:creator>Darrell Etherington</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[Shorts]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[cover flow]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[web apps]]></category>

		<guid isPermaLink="false">http://theappleblog.com/?p=9878</guid>
		<description><![CDATA[Before the App Store, third party developers depended on web apps to allow them to bring new games, abilities, and content to the iPhone and iPod touch. A new proof-of-concept tech demo by web developer Charles Ying shows that there is still plenty of potential left [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gigaom.com&amp;blog=14960843&amp;post=171907&amp;subd=gigaom2&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img  title="coverflow_iphone" src="http://gigapple.files.wordpress.com/2008/11/coverflow_iphone.jpg?w=480&#038;h=320" alt="" width="480" height="320" class=" alignleft" />
<p class="excerpt">Before the App Store, third party developers depended on web apps to allow them to bring new games, abilities, and content to the iPhone and iPod touch. A new proof-of-concept tech demo by web developer Charles Ying shows that there is still plenty of potential left untapped for web apps, especially when you make use of Apple&#8217;s CSS Visual Effects extensions.</p>
<p>Yesterday, on his personal blog <em><a href="http://www.satine.org/archives/2008/11/06/coverflow-for-safari-on-iphone/" target="_self">inside looking out</a></em>, Ying posted an entry detailing his CoverFlow (zflow) demo, one part of his new open source endeavor <a href="http://code.google.com/p/css-vfx/">CSS-VFX</a>. The project is intended to be a showcase of the potential applications of Apple&#8217;s CSS Visual Effects extensions for the mobile Safari platform.<br />
<span id="more-171907"></span><br />
zflow uses the extensions for 3D perspective shifts and smooth transitions, mimicking the functionality of Apple&#8217;s own CoverFlow, currently used in iTunes and Leopard&#8217;s Finder. Ying describes how it achieves this in detail:</p>
<blockquote>
<ul>
<li><strong>zflow</strong> starts by loading each image from the images array. When each image is loaded, we scale the image to fit in a square region, and apply 3D CSS transforms to scale it in place.</li>
<li><strong>Reflections</strong> &#8211; zflow then takes the scaled image and creates a Canvas element that contains a gradient alpha mask of the image’s reflection (using a &#8220;reflect&#8221; function to do this) and positions the canvas element in place.</li>
<li><strong>Touch Controller</strong> &#8211; zflow creates a TouchController object, who’s job is to field touch events from Mobile Safari and calculate an appropriate offset.</li>
<li><strong>Clicking</strong> &#8211; zflow detects when no move events have been made, and zooms + rotates the focused image forward by setting a &#8220;CSS Transition&#8221;ed 3D transform on the focused image. Clicking again transitions the image back.</li>
<li><strong>Inertia</strong> &#8211; zflow achieves inertia by setting the &#8220;transition timing function&#8221; of the &#8220;tray&#8221; to an &#8220;ease-out&#8221; function, which slows things down. On the touch end event, we calculate the projected velocity and set the tray’s target position to that location. CSS Transitions handles the decay in velocity as the transition timing function executes – slowing the tray down gradually.</li>
</ul>
</blockquote>
<p>In practice, the demo is impressive, though not without quirks. On my iPhone, the flow was initially stuttered and jumpy. This issue mostly resolved itself as the Flickr feed used for the source images loaded fully. Once loaded, transitions were still slightly jerky, but the overall effect was fantastic. Perspective shifts and image reflection both worked flawlessly, and the view shifted from portrait to landscape mode with only minor lag and no strange visual hiccups. I should note that my test was performed over a 3G connection, which might account for my loading issues.</p>
<p>Ying provides <a href="http://code.google.com/p/css-vfx/wiki/AboutZflow" target="_self">instructions</a> on how to use zflow at his Google Code site for the CSS-VFX project. It shouldn&#8217;t be long before we see this fascinating demo at work in interesting ways in web apps and iPhone optimized websites.</p>
<p>Go <a href="http://css-vfx.googlecode.com/svn/trunk/examples/zflow.html">here</a> on your iPhone (it won&#8217;t work on desktop browsers) to check out the tech demo in action, or watch the video below.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/sHLaHGxIzb4&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/sHLaHGxIzb4&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<p><strong>Related research and analysis from GigaOM Pro:</strong><br />Subscriber content. <a href="http://pro.gigaom.com/?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171907+coverflow-in-safari-for-iphone-proof-of-concept-with-promise&utm_content=etherin">Sign up for a free trial</a>.</p><ul><li><a href="http://pro.gigaom.com/2011/01/mobile-q4-all-eyes-were-on-android-4g-and-the-rising-tablet-tide/?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171907+coverflow-in-safari-for-iphone-proof-of-concept-with-promise&utm_content=etherin">Mobile Q4: All Eyes Were on Android, 4G and the Rising Tablet&nbsp;Tide</a></li><li><a href="http://pro.gigaom.com/2010/12/report-a-mobile-video-market-overview/?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171907+coverflow-in-safari-for-iphone-proof-of-concept-with-promise&utm_content=etherin">Report: A Mobile Video Market&nbsp;Overview</a></li><li><a href="http://pro.gigaom.com/2010/10/in-q3-the-tablet-and-4g-were-the-big-stories/?utm_source=apple&utm_medium=editorial&utm_campaign=auto3&utm_term=171907+coverflow-in-safari-for-iphone-proof-of-concept-with-promise&utm_content=etherin">In Q3, the Tablet and 4G Were the Big&nbsp;Stories</a></li></ul><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gigaom.com&amp;blog=14960843&amp;post=171907&amp;subd=gigaom2&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gigaom.com/apple/coverflow-in-safari-for-iphone-proof-of-concept-with-promise/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/188039e12983eb749171a75cfd01378d?s=96&#38;d=retro&#38;r=PG" medium="image">
			<media:title type="html">etherin</media:title>
		</media:content>

		<media:content url="http://gigapple.files.wordpress.com/2008/11/coverflow_iphone.jpg" medium="image">
			<media:title type="html">coverflow_iphone</media:title>
		</media:content>
	</item>
	</channel>
</rss>
