<?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>Webmonkey &#187; canvas</title>
    <atom:link href="http://www.webmonkey.com/tag/canvas/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Easel JS Simplifies Working With HTML5 Canvas</title>
        <link>http://www.webmonkey.com/2010/12/easel-js-simplifies-working-with-html5-canvas/</link>
        <comments>http://www.webmonkey.com/2010/12/easel-js-simplifies-working-with-html5-canvas/#comments</comments>
        <pubDate>Tue, 21 Dec 2010 18:09:40 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=49386</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[Easel JS]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/12/easel.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/12/easel.jpg" alt="Easel JS Simplifies Working With HTML5 Canvas" /></div>The HTML5 Canvas element promises web developers a web-native way to create animations, interactive charts and even full-fledged apps like image editors and complicated games. Canvas may well be the best thing about HTML5. But unfortunately, it can be kind of a pain to work with, especially for those coming from a Flash animation background. [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/12/easel.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/12/easel.jpg" alt="" title="easel" width="233" height="151" class="alignleft size-full wp-image-49385" /></a>The HTML5 Canvas element promises web developers a web-native way to create animations, interactive charts and even full-fledged apps like image editors and complicated games. Canvas may well be the best thing about HTML5. But unfortunately, it can be kind of a pain to work with, especially for those coming from a Flash animation background.</p>
<p>Easel JS is a JavaScript library for working with the HTML5 Canvas element. It was created by developer Grant Skinner and his cohorts at <a href="http://gskinner.com/">gskinner.com</a>. Skinner is probably best known for his work in Flash, and the Easel Library adds a number of tools that make Canvas a bit more approachable for Flash developers (and everyone else as well).</p>
<p>Canvas&#8217; biggest drawback (compared to Flash or SVG) is that it has no internal concept of display objects. That means you have to manage updates manually (see our earlier posts for some more <a href="http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/">tips</a> on <a href="http://www.webmonkey.com/2010/12/building-better-html5-games-with-canvas/">working with Canvas</a>). The <a href="http://gskinner.com/blog/archives/2010/12/easel-js-simplifies-working-with-canvas-in-html5.html">gskinner blog post has some more details</a> on what Easel JS does, but the main points are a core interaction model with a full, hierarchical display list and helper classes to simplify working with Canvas.</p>
<p>Easel JS is currently an alpha release, so proceed with caution. The code is available under the MIT license and <a href="http://easeljs.com/docs/">full documentation can be found on the docs page</a>. Skinner says that, once Easel reaches the beta stage, the code will be moved to GitHub and opened for outside contributions and improvements.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/12/building-better-html5-games-with-canvas/">Building Better HTML5 Games With Canvas</a></li>
<li><a href="http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/">Tips and Tricks for Better HTML5 Canvas Animations</a></li>
<li><a href="http://www.webmonkey.com/2010/08/youtube-and-arcade-fire-get-all-html5y/">Google and Arcade Fire Get All HTML5y</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/12/easel-js-simplifies-working-with-html5-canvas/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Export Adobe Illustrator Drawings and Animations to HTML5</title>
        <link>http://www.webmonkey.com/2010/10/export-adobe-illustrator-drawings-and-animations-to-html5/</link>
        <comments>http://www.webmonkey.com/2010/10/export-adobe-illustrator-drawings-and-animations-to-html5/#comments</comments>
        <pubDate>Wed, 13 Oct 2010 22:35:21 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48957</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Adobe Illustrator]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[Microsoft]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/10/aiCanvas.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/10/aiCanvas.jpg" alt="Export Adobe Illustrator Drawings and Animations to HTML5" /></div>There&#8217;s a new conversion tool for fans of Adobe&#8217;s popular Illustrator desktop publishing app that lets developers export their vector drawings and animations as HTML5 code that runs natively in the latest web browsers. The new tool is called Ai>Canvas, and it does exactly what the name implies. You can take any vector illustrations you&#8217;ve [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/10/aiCanvas.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/10/aiCanvas.jpg" alt="" title="aiCanvas" width="580" height="176" class="alignnone size-full wp-image-48959" /></a></p>
<p>There&#8217;s a new conversion tool for fans of Adobe&#8217;s popular Illustrator desktop publishing app that lets developers export their vector drawings and animations as HTML5 code that runs natively in the latest web browsers.</p>
<p>The new tool is called <a href="http://www.visitmix.com/labs/ai2canvas/">Ai>Canvas</a>, and it does exactly what the name implies. You can take any vector illustrations you&#8217;ve made in Adobe Illustrator and export them as 2D graphics that can be drawn on web pages using the HTML5 Canvas element. It can even animate your drawings.</p>
<p>The plug-in can handle gradients and transparencies, complex pattern fills, drop shadows, complex line styles and text, exporting everything as HTML5 Canvas code. In cases where your illustration contains something that can&#8217;t be done in Canvas (like an opacity mask) the plug-in rasterizes that bit and positions it properly.</p>
<p>The plug-in also supports commands for animation. You can add rotation, object scaling, fades, and movement along a path. All of your parameters are defined inside Illustrator, but when you export to HTML5, you can tweak the resulting web code to fine-tune the results. You can also add interactions, like sounds, or click events.</p>
<p>The plug-in works in Illustrator for Creative Suite versions 5, 4 and 3. There are versions for Windows and Mac OS X.</p>
<p>Oddly, it doesn&#8217;t come directly from Adobe. It&#8217;s a product of <a href="http://www.visitmix.com/lab/">Microsoft&#8217;s Mix Labs</a>, an initiative the company has set up to experiment with open web technologies. Microsoft has taken a <a href="http://www.webmonkey.com/2010/09/microsoft-taps-html5-to-add-zing-to-bing/">larger interest</a> in open web standards ever since work began on building in support for HTML5 and advanced web technologies into Internet Explorer. The next version, IE9, is <a href="http://www.webmonkey.com/2010/09/internet-explorer-9-beta-drops-its-lean-fast-and-modern/">already in beta</a>, with the final version due some time next year.</p>
<p>The creator of the plug-in, Microsoft developer and platform evangelist Mike Swanson, is also the author of the XAML exporter for Illustrator. He got interested in HTML5 and Canvas after a passionate conversation about the technology with his co-worker, Thomas Lewis. You can read the whole story &#8212; and see some of his working examples and test files &#8212; <a href="http://blogs.msdn.com/b/mswanson/archive/2010/10/12/adobe-illustrator-to-html5-canvas-plug-in-released.aspx">on Swanson&#8217;s blog</a>. Lewis has written <a href="http://visitmix.com/opinions/Introducing-the-Ai-to-Canvas-Plug-In">his own post</a>, as well.</p>
<p>Adobe Labs recently released an <a href="http://labs.adobe.com/downloads/illustrator_html5.html">SVG pack</a> for Illustrator which can export drawings as SVG that run in browsers that support the format. But this new Ai>Canvas exporter uses HTML5 Canvas, which is quickly becoming widely adopted by developers working on games and virtual worlds that run in the browser. Check out the <a href="http://www.kevs3d.co.uk/dev/asteroids/">Asteroids</a> and <a href="http://rumpetroll.com/">Rumpetroll</a> experiments for some cool Canvas work.</p>
<p><strong>See also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/">Tips and Tricks for Better HTML5 Canvas Animations</a></li>
<li><a href="http://www.webmonkey.com/2010/07/play-pac-man-in-html5/">Play Pac-Man in HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/10/take-a-peek-into-rumpetrolls-html5-tadpole-pond/">Take a Peek Into Rumpetroll’s HTML5 Pond</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/10/export-adobe-illustrator-drawings-and-animations-to-html5/feed/</wfw:commentRss>
        <slash:comments>8</slash:comments>

        
    </item>
    
    <item>
        <title>Chat With Other Tadpoles in Rumpetroll</title>
        <link>http://www.webmonkey.com/2010/10/chat-with-other-tadpoles-in-rumpetroll/</link>
        <comments>http://www.webmonkey.com/2010/10/chat-with-other-tadpoles-in-rumpetroll/#comments</comments>
        <pubDate>Mon, 04 Oct 2010 20:02:21 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48876</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[CSS 3]]></category>
		<category><![CDATA[Rumpetroll]]></category>
		<category><![CDATA[sperm]]></category>
		<category><![CDATA[WebSockets]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/10/Rumpetroll.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/10/Rumpetroll.jpg" alt="Chat With Other Tadpoles in Rumpetroll" /></div>This may be the most bizarre chatroom ever created. It&#8217;s called Rumpetroll. In Norwegian, the word means &#8220;tadpole,&#8221; but the literal translation is &#8220;ass troll.&#8221; It&#8217;s a very clever name, as Rumpetroll is a chat room. Enter, and you&#8217;re dropped into a color-shifting primordial soup with a bunch of other tadpoles (that also happen to [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/10/Rumpetroll.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/10/Rumpetroll.jpg" alt="" title="Rumpetroll" /></a></p>
<p>This may be the most bizarre chatroom ever created.</p>
<p>It&#8217;s called <a href="http://rumpetroll.com/">Rumpetroll</a>. In Norwegian, the word means &#8220;tadpole,&#8221; but the literal translation is &#8220;ass troll.&#8221; It&#8217;s a very clever name, as Rumpetroll is a chat room.</p>
<p>Enter, and you&#8217;re dropped into a color-shifting primordial soup with a bunch of other tadpoles (that also happen to look like sperm). Click around with your mouse to swim around and join up with other groups. Type to chat, and enter &#8220;name: Mike&#8221; to give your tadpole/sperm a display name.</p>
<p>The visual environment is powered by Canvas, JavaScript and CSS 3. It also uses <a href="http://en.wikipedia.org/wiki/WebSockets">WebSockets</a>, a technology which allows persistent client-server connections. It exemplifies how web standards can be used to write a front-end that turns the most banal and simple web app into something unique and interesting.</p>
<p>Because of these leading-edge technologies, you&#8217;ll need a modern browser like Chrome, Firefox 4 or Safari 5.</p>
<p>I&#8217;ve been hanging out in Rumpetroll all morning. I&#8217;ve gone on some fruitless adventures into the abyss. I also met some Russians. I&#8217;ve even encountered a few users who have learned how to <a href="http://news.ycombinator.com/item?id=1741260">hack the site&#8217;s JavaScript</a> to increase the size of their tadpole, or speed it up so they can fly around at amazing speeds.</p>
<p>The creators are four hackers from Oslo, Norway: <a href="http://twitter.com/danielmahal">Daniel Mahal</a>, <a href="http://twitter.com/hpeikemo">Hans Petter Eikemo</a>, <a href="http://twitter.com/hugoahlberg">Hugo Ahlberg</a> and <a href="http://twitter.com/simenbrekken">Simen Brekken</a>. Kudos!</p>
<p><strong>See also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/09/js1k-contest-highlights-tiny-powerful-code-experiments/">JS1k Contest Highlights Tiny, Powerful Code Experiments</a></li>
<li><a href="http://www.webmonkey.com/2010/09/kick-ass-bookmarklet-turns-the-web-into-asteroids/">&#8216;Kick Ass&#8217; Bookmarklet Turns the Web Into Asteroids</a></li>
<li><a href="http://www.webmonkey.com/2010/09/play-asteroids-in-html5/">Play Asteroids in HTML5</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/10/chat-with-other-tadpoles-in-rumpetroll/feed/</wfw:commentRss>
        <slash:comments>3</slash:comments>

        
    </item>
    
    <item>
        <title>Play Asteroids in HTML5</title>
        <link>http://www.webmonkey.com/2010/09/play-asteroids-in-html5/</link>
        <comments>http://www.webmonkey.com/2010/09/play-asteroids-in-html5/#comments</comments>
        <pubDate>Mon, 13 Sep 2010 19:30:39 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48685</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Asteroids]]></category>
		<category><![CDATA[canvas]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/09/asteroidsHTML5.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/09/asteroidsHTML5.jpg" alt="Play Asteroids in HTML5" /></div>Developer Kevin Roast has created a slick demo of the arcade classic Asteroids using the Canvas element inside HTML5.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/09/asteroidsHTML5.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/09/asteroidsHTML5.jpg" alt="" title="asteroidsHTML5" /></a></p>
<p>A developer named Kevin Roast has created <a href="http://www.kevs3d.co.uk/dev/asteroids/">a slick demo</a> of the arcade classic Asteroids using the Canvas element inside HTML5.</p>
<p>Use the arrow keys and the space bar to control your ship. Also highly recommended: press &#8220;R&#8221; to switch to the retro-styled graphics. The complex polygons of the modern graphics are harder to see (sorry, Kevin).</p>
<p><a href="http://diveintohtml5.org/canvas.html#divingin">Canvas</a> is the part of HTML5 that lets developers create 2D animations &#8212; you can draw polygons on the screen, then manipulate them with JavaScript, or the mouse and keyboard (usually both). It&#8217;s one of the technologies that intrepid web authors are using to replace Flash for simple animations and games like this one. Granted, Canvas has a long way to go before it can replicate what&#8217;s possible today in a Flash game, but we&#8217;re seeing the baby steps happen. And as browsers get faster, the baby&#8217;s stride grows.</p>
<p>Originally developed by Apple, Canvas is now part of the HTML5 draft specification and is supported by most major browsers. IE8 is lacking native support (it works with <a href="http://code.google.com/p/explorercanvas/">this add-on</a>) but IE9 will fix that when it reaches the beta stage later this month.</p>
<p>Kevin&#8217;s demo has been around for a couple of months, but we&#8217;re revisiting it because the author has taken the original code and created a brand new <a href="http://www.kevs3d.co.uk/dev/asteroidsbench/">Canvas benchmark tool</a> to test how quickly and smoothly your browser can render HTML5 animations. Run his new test code and you&#8217;ll see a game simulation with more asteroids than your browser can handle.</p>
<p>Also, when playing the actual game, you can recreate this effect by pressing the &#8220;A&#8221; key as you fly around. This adds new asteroids to the playing field, so you can test your browser and your skills.</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/07/play-pac-man-in-html5/">Play Pac-Man in HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/09/google-shows-off-its-bouncy-balls/">Google Shows Off Its Bouncy Balls</a></li>
<li><a href="http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/">Tips and Tricks for Better HTML5 Canvas Animations</a></li>
<li><a href="http://www.webmonkey.com/2010/05/who-needs-flash/">Who Needs Flash?</a></li>
<li><a href="http://www.webmonkey.com/2009/09/turn_your_vector_art_into_canvas-based_animations_with_opacity/">Turn Your Vector Art Into Canvas-based Animations With Opacity</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/09/play-asteroids-in-html5/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    
    <item>
        <title>Write Your Name in Bouncy Google Balls</title>
        <link>http://www.webmonkey.com/2010/09/write-your-name-in-bouncy-google-balls/</link>
        <comments>http://www.webmonkey.com/2010/09/write-your-name-in-bouncy-google-balls/#comments</comments>
        <pubDate>Thu, 09 Sep 2010 21:13:13 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48640</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Bouncy]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Google]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/09/Bouncyballs.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/09/Bouncyballs.jpg" alt="Write Your Name in Bouncy Google Balls" /></div>First, there was the Google homepage experiment from Tuesday, which laid out the Google logo in bouncy balls you could click on, jiggle, and bounce. It was done in JavaScript and CSS &#8212; contrary to popular belief, it was not HTML5. Then there was Rob Hawkes&#8217; hack, written in HTML5 canvas. And now, this: a [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/09/Bouncyballs.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/09/Bouncyballs.jpg" alt="" title="Bouncyballs" /></a></p>
<p>First, there was the <a href="http://www.webmonkey.com/2010/09/google-shows-off-its-bouncy-balls/">Google homepage experiment</a> from Tuesday, which laid out the Google logo in bouncy balls you could click on, jiggle, and bounce. It was done in JavaScript and CSS &#8212; contrary to popular belief, it was <a href="http://www.aregooglesbouncingballshtml5.com/">not HTML5</a>.</p>
<p>Then there was <a href="http://rawkes.com/experiments/google-bouncing-balls-canvas/">Rob Hawkes&#8217; hack</a>, written in HTML5 canvas.</p>
<p><a href="http://dotty-dots.appspot.com/?h=53555252454e444552204d4f4e4b4559">And now, this</a>: a website where you can post whatever message you want (within the character count limit) and make your own interactive bouncing balls animation. It&#8217;s written using <a href="http://github.com/robhawkes/google-bouncing-balls">Rob&#8217;s code</a>.</p>
<p>Long live the web.</p>
<p><em>Updated: This post originally said Rob&#8217;s code was SVG &#8212; that was a mistake, it&#8217;s HTML5 canvas. Our <a href="http://www.webmonkey.com/2010/09/google-shows-off-its-bouncy-balls/">original post</a> even got it correct. Sleeping at the wheel!</em></p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/09/write-your-name-in-bouncy-google-balls/feed/</wfw:commentRss>
        <slash:comments>7</slash:comments>

        
    </item>
    
    <item>
        <title>Tips and Tricks for Better HTML5 Canvas Animations</title>
        <link>http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/</link>
        <comments>http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/#comments</comments>
        <pubDate>Wed, 25 Aug 2010 19:11:05 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48444</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[canvas]]></category>
        <description><![CDATA[If the latest flashy HTML5 experiments have you fired up to experiment with HTML5&#8242;s canvas element yourself, one seasoned developer has some advice for newcomers &#8212; particularly those coming from Flash backgrounds. Hakim El Hattab, whose experiments with HTML5 were featured in our round up here on Webmonkey earlier this week, has a short, instructional [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2010/05/329371420_c575f85760-207x300.jpg" alt="HTML5" />If the latest <a href="http://www.webmonkey.com/2010/08/flashy-html5-experiments-point-to-webs-future/">flashy HTML5 experiments</a> have you fired up to experiment with HTML5&#8242;s canvas element yourself, one seasoned developer has some advice for newcomers &#8212; particularly those coming from Flash backgrounds.</p>
<p>Hakim El Hattab, whose experiments with HTML5 were featured in our <a href="http://www.webmonkey.com/2010/08/flashy-html5-experiments-point-to-webs-future/">round up</a> here on Webmonkey earlier this week, has a short, instructional write up on the Canvas tag that includes some tricks to <a href="http://www.kontain.com/fi/entries/94636/">make your JavaScript experiments run smoother and faster</a>.</p>
<p>Perhaps the most useful tidbit in the article is that &#8220;bitmap operations are very processing expensive,&#8221; and whenever possible you should reduce and reuse as many pixels as you can between frames. While browsers are getting faster, optimization will always be key (the same is true of Flash animations).</p>
<p>Another thing Hakim recommends you keep in mind if you&#8217;re coming from a Flash background is that, &#8220;unlike the Flash Player&#8217;s redraw regions, this management of &#8216;dirty rectangles&#8217; needs to be done manually for canvas.&#8221; Think of it as garbage collection &#8212; like C or C++, you&#8217;re in charge of cleaning up after your code when it comes to redrawing in Canvas.</p>
<p>Along the same lines is his tip for clearing your canvas: just reset the width and height. This is also good know if you want to avoid clearing your canvas.</p>
<p>The advice is good for those who have some experience drawing with JavaScript in canvas tags, but if you&#8217;re totally new to the animation possibilities in HTML5, we&#8217;d recommend starting with Mark Pilgrim&#8217;s online book <a href="http://diveintohtml5.org/">Dive into HTML5</a>, which has an <a href="http://diveintohtml5.org/canvas.html">entire section devoted to Canvas</a>. Once you&#8217;ve mastered the basics, this handy <a href="http://simon.html5.org/dump/html5-canvas-cheat-sheet.html">HTML5 Canvas cheat sheet</a> is good to keep on hand for looking up the various methods and attributes available.</p>
<p><strong>See also:</strong></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/08/flashy-html5-experiments-point-to-webs-future/">Flashy HTML5 Experiments Point to Web&#8217;s Future</a></li>
<li><a href="http://www.webmonkey.com/2010/05/where-on-the-web-is-html5/">Where on the Web Is HTML5?</a></li>
<li><a href="http://www.webmonkey.com/2010/07/play-pac-man-in-html5/">Play Pac-Man in HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/07/conways-game-of-life-in-html5/">Conway’s Game of Life in HTML5</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/08/tip-and-tricks-for-better-html5-canvas-animations/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Play Pac-Man in HTML5</title>
        <link>http://www.webmonkey.com/2010/07/play-pac-man-in-html5/</link>
        <comments>http://www.webmonkey.com/2010/07/play-pac-man-in-html5/#comments</comments>
        <pubDate>Mon, 26 Jul 2010 22:25:18 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=48166</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Animation]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Pac-Man]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/07/pacmanHTML5.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/pacmanHTML5.png" alt="Play Pac-Man in HTML5" /></div>Programmer Dale Harvey has created a playable version of Pac-Man using only web standards. To rebuild the same gameplay found in the arcade classic using browser-native code, he&#8217;s relying on local storage, HTML5 audio, Canvas and @font-face. Harvey is sharing all the code on Github as well, so you can run it locally. Reminiscent of [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://arandomurl.com/2010/07/25/html5-pacman.html"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/pacmanHTML5.png" alt="" title="pacmanHTML5" width="580" height="467" class="aligncenter size-full wp-image-48167" /></a></p>
<p>Programmer Dale Harvey has created <a href="http://arandomurl.com/2010/07/25/html5-pacman.html">a playable version of <em>Pac-Man</em></a> using only web standards.</p>
<p>To rebuild the same gameplay found in the arcade classic using browser-native code, he&#8217;s relying on local storage, HTML5 audio, Canvas and @font-face. Harvey is sharing all the code on <a href="http://github.com/daleharvey/pacman">Github</a> as well, so you can run it locally.</p>
<p>Reminiscent of <a href="http://www.google.com/pacman/">Google&#8217;s recent <em>Pac-Man</em> port</a>, Harvey&#8217;s attempt is yet another example of web standards being used instead of Flash to create animated, interactive experiences in the browser.</p>
<p>The Flash plug-in is still the most popular platform choice for browser-based games, and it has some advantages over HTML5. Most notably, a Flash game would work in any browser that allows the plug-in, but to play Harvey&#8217;s game, you&#8217;ll need to use a browser that supports the elements he&#8217;s using &#8212; Firefox, Opera and Chrome work just fine, but IE8 is a no-go.</p>
<p>On his <a href="http://arandomurl.com/2010/07/25/html5-pacman.html">blog post about the project</a>, he notes some of the other stumbling blocks he encountered when porting the game. For instance, there&#8217;s no easy way to loop HTML5 audio, there isn&#8217;t a convenient tool for drawing Canvas shapes, and using Canvas/HTML5 for a game even this simple still puts more strain on your CPU than using Flash.</p>
<p>[via <a href="http://news.ycombinator.com/item?id=1549056">Hacker News</a>]</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/07/css3-pie-lets-you-have-your-css-and-ie-it-too/">CSS3 Pie Lets You Have Your CSS and IE It, Too</a></li>
<li><a href="http://www.webmonkey.com/2010/07/chrome-shows-off-some-fancy-html5-tricks/">Chrome Shows Off Some Fancy HTML5 Tricks</a></li>
<li><a href="http://www.webmonkey.com/2010/07/the-solar-system-rendered-in-css-and-html/">The Solar System, Rendered in CSS and HTML</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/07/play-pac-man-in-html5/feed/</wfw:commentRss>
        <slash:comments>26</slash:comments>

        
    </item>
    
    <item>
        <title>Chrome Shows Off Some Fancy HTML5 Tricks</title>
        <link>http://www.webmonkey.com/2010/07/chrome-shows-off-some-fancy-html5-tricks/</link>
        <comments>http://www.webmonkey.com/2010/07/chrome-shows-off-some-fancy-html5-tricks/#comments</comments>
        <pubDate>Mon, 12 Jul 2010 22:13:22 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47999</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[Webkit]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/07/Burn.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/Burn.jpg" alt="Chrome Shows Off Some Fancy HTML5 Tricks" /></div>Google&#8217;s Chrome browser has a well-established reputation for being not only extremely fast at rendering executing JavaScript, but also robust in its support of cutting-edge HTML5 technologies. Both of these capabilities are on display at Chrome Experiments, a site that Google set up to showcase some of the coolest demos on the web for JavaScript [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><a href="http://www.webmonkey.com/wp-content/uploads/2010/05/gchrome_2.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/05/gchrome_2.jpg" alt="" title="gchrome_2" width="164" height="163" class="alignright size-full wp-image-47404" /></a>
<p>Google&#8217;s Chrome browser has a well-established reputation for being not only extremely fast at <del datetime="2010-07-14T23:37:43+00:00">rendering</del> executing JavaScript, but also robust in its support of cutting-edge HTML5 technologies. </p>
<p>Both of these capabilities are on display at <a href="http://www.chromeexperiments.com/">Chrome Experiments</a>, a site that Google set up to showcase some of the coolest demos on the web for JavaScript apps, intricate CSS layouts and animations done with Canvas.</p>
<p>Chrome Experiments now has <a href="http://chrome.blogspot.com/2010/07/100-chrome-experiments-and-counting.html">over 100 demos on offer</a>, and we picked out some of our favorites for this little gallery.</p>
<p>Interest is exploding in <a href="http://www.webmonkey.com/2010/05/where-on-the-web-is-html5/">HTML5</a> and its companion technologies. The hope is that these emerging standards will be widely used to power new web apps, as well as for playing animations, songs and videos in the browser without any plug-ins. Developers and content providers <a href="http://www.webmonkey.com/2010/06/youtube-html5-video-is-no-match-for-flash/">continue to rely on plug-ins</a> like Flash or Silverlight for such multimedia playback tasks for now, but they are increasingly turning to HTML5, JavaScript and other web standards as browser makers continue to build the new capabilities into their latest releases.</p>
<p>We tested all of these experiments in multiple browsers, and almost all of them worked in Safari and Firefox, though they performed much better in the <a href="http://www.webmonkey.com/2010/07/firefox-4-beta-1-now-available-for-download/">latest beta of Firefox 4</a> than in the current stable Firefox 3.x builds. Some of them also work splendidly in the latest Microsoft pre-release, <a href="http://www.webmonkey.com/2010/06/new-hardware-accelerated-preview-of-ie9-arrives/">Internet Explorer 9 preview 3</a>.</p>
<p>Of course, a few of the Chrome demos on the Experiments site use Webkit-specific technologies and CSS prefixes, so those only work in Chrome and Safari. Some have <a href="http://www.alistapart.com/articles/stop-forking-with-css3/">poo-poohed vendor-specific prefixes</a>, and others see them as <a href="http://www.webmonkey.com/2010/07/advice-from-the-css-guru-embrace-prefixes/">a necessary step</a> to force browser makers to adopt the latest behaviors being used in the wild. Regardless of that debate, it&#8217;s encouraging to see the different browsers all improving their JavaScript capabilities, which all of these demos exploit.</p>
<p>In short, you don&#8217;t <em>need</em> Chrome to view these, but they will all be more impressive in Chrome than in other browsers.</p>
<p><span id="more-47999"></span></p>
<h3>Browser Pong</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/BrowserPong.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/BrowserPong.jpg" alt="" title="BrowserPong" width="580" height="329" class="alignnone size-full wp-image-48000" /></a></p>
<p>Turn off your pop-up blocker and <a href="http://www.chromeexperiments.com/detail/browser-pong/">give this game a spin</a>. It&#8217;s the console classic, Pong, but played with browser windows &#8212; talk about thinking outside the box. We also tried this one in Firefox 4 beta, and it runs great. It also seems a little easier to beat in Firefox than in Chrome for some reason. See more work from Stewart Smith at the <a href="http://stewdio.org/">Stewdio</a>.</p>
<h3>Destructive Video</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/videoblowup.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/videoblowup.jpg" alt="" title="videoblowup" width="580" height="349" class="alignnone size-full wp-image-48001" /></a></p>
<p>This <a href="http://www.chromeexperiments.com/detail/destructive-video/">demo by Sean Christmann</a> shows a short video. But when you click on it, the video breaks into tiny tiles that scatter across the screen. The video keeps playing inside the tiles as they tiles bounce around. After a few seconds, the tiles slide back into place so you can keep on clicking and blowing up the video to your destructive little heart&#8217;s content. This is the sort of canvas-based manipulation that HTML5&#8242;s native &lt;video> tags allow. Canvas can do this sort of animation with other page elements, but it&#8217;s especially impressive to see with video. <a href="http://www.craftymind.com/">Sean explains how he does it</a> on his own site. By the way, Firefox doesn&#8217;t like this demo very much.</p>
<h3>Entanglement</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/entanglement.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/entanglement.jpg" alt="" title="entanglement" width="580" height="465" class="alignnone size-full wp-image-48002" /></a></p>
<p>Derek Detweiler&#8217;s simple solitaire game <a href="http://www.chromeexperiments.com/detail/entanglement/">Entanglement</a> is an addictive and fun time waster, but it&#8217;s also beautifully crafted. It uses subtle canvas animations to spin the hexagonal tiles, and JavaScript to handle the mouse and keyboard controls. Derek has a few other games on <a href="http://gopherwoodstudios.com/game.asp">his personal site</a>.</p>
<h3>Ball Pool</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/Ballpool.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/Ballpool.jpg" alt="" title="Ballpool" width="580" height="465" class="alignnone size-full wp-image-48003" /></a></p>
<p>This one will conjure memories of playing in <a href="http://www.flickr.com/photos/joetron2030/3040403628/">the ball pit</a> at the local IKEA. <a href=http://www.chromeexperiments.com/detail/ball-pool/">Ball Pool</a> fills up a blank browser window with brightly colored balls. Drag them around, toss them and (this is extra cool) shake the browser to send them flying around. The demo uses <a href="http://box2d-js.sourceforge.net/">box2d-js</a> for all the physics. Ball Pool is one of the rare demos on Google&#8217;s site that works exceptionally well in Firefox 4. </p>
<p>The creator, <a href="http://mrdoob.com">Mr. Doob</a>, is a busy man. Check out the lo-fi and psychedelic <a href="http://www.chromeexperiments.com/detail/plane-deformations/">Plane Deformations</a>, and the bizarre <a href="http://www.chromeexperiments.com/detail/multiuser-sketchpad/">Multiuser Sketchpad</a>, where you can watch dozens of anonymous wannabe Picassos use JavaScript to draw crude penises in your browser.</p>
<h3>Canopy</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/canopy.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/canopy.jpg" alt="" title="canopy" width="580" height="350" class="alignnone size-full wp-image-48004" /></a></p>
<p>Fun with fractals! Ryan Alexander&#8217;s experiment takes you inside a vector-graphics tree as it grows. The trees in <a href="http://www.chromeexperiments.com/detail/canopy/">Canopy</a> can be zoomed in upon infinitely, and you can trigger mutations and blooming cycles, so you can watch leaves grow and fall off, and start new trees. The animation is slick and fast in Chrome, and it&#8217;s just as fast in our Firefox 4 beta. Be sure to check out Ryan&#8217;s massive JavaScript fractal zoomer on <a href="http://code.google.com/p/chrome-canopy/">Google Code</a>. And if you like watching computer-generated, canvas-animated trees and flowers bloom, check out <a href="http://openrise.com/lab/PlasmaTree/">PlasmaTree</a> and <a href="http://www.openrise.com/lab/FlowerPower/">FlowerPower</a>, both from  mhepekka at OpenRise.</p>
<h3>Wavy Scrollbars</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/WavyScroll.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/WavyScroll.jpg" alt="" title="WavyScroll" width="580" height="465" class="alignnone size-full wp-image-48005" /></a></p>
<p>Click on the scrollbars to set them in movement. It&#8217;s called <a href="http://www.chromeexperiments.com/detail/wavy-scrollbars/">Wavy Scrollbars</a> for a reason &#8212; the bars undulate like a desktop wave machine, smoothly growing and shrinking thanks to <a href="http://toxiclibs.org/docs/verletphysics/toxi/physics/VerletPhysics.html">toxi&#8217;s verletphysics library</a>. This one is by a Russian developer named Andrey. Check out some of his other JavaScript experiments at <a href="http://the389.com/">the389</a>, his personal site.</p>
<h3>Burn Canvas</h3>
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/Burn.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/Burn.jpg" alt="" title="Burn" width="580" height="427" class="alignnone size-full wp-image-48006" /></a></p>
<p>The <a href="http://www.chromeexperiments.com/detail/burn-canvas/">Burn Canvas</a> experiment by <a href="http://guciek.net">Krzysztof Pasek</a> utilizes the HTML5 canvas element to create a simple drawing app. The page will &#8220;burn&#8221; anywhere you point the mouse. If you leave it in one spot or move the mouse around slowly, the burn effect cycles through a series of bright, psychedelic colors. Things get even trippier when you hold down a mouse button, which causes the drawing to melt. Check out Pasek&#8217;s other experiments on his site, including a <a href="http://guciek.net/en/gpl/experiments/canvasmeye">canvas-based Magic Eye 3D image generator</a>. Packaged code for his various HTML5 experiments is available under the GPL free software license.</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/07/conways-game-of-life-in-html5/">Conway&#8217;s Game of Life in HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/05/handy-guide-to-detecting-support-for-html5/">Handy Guide to Detecting Support for HTML5</a></li>
<li><a href="http://www.webmonkey.com/2010/06/apples-html5-showcase-less-about-web-standards-more-about-apple/">Apple&#8217;s HTML5 Showcase Less About Web Standards, More About Apple</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/07/chrome-shows-off-some-fancy-html5-tricks/feed/</wfw:commentRss>
        <slash:comments>28</slash:comments>

        
    </item>
    
    <item>
        <title>Conway&#8217;s Game of Life in HTML5</title>
        <link>http://www.webmonkey.com/2010/07/conways-game-of-life-in-html5/</link>
        <comments>http://www.webmonkey.com/2010/07/conways-game-of-life-in-html5/#comments</comments>
        <pubDate>Thu, 08 Jul 2010 19:30:22 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47977</guid>
        		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[Conway's Game of Life]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/07/LifeHTML5-2.png" type="image/png" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/LifeHTML5-2.png" alt="Conway&#8217;s Game of Life in HTML5" /></div>We&#8217;ve seen several implementations of Conway&#8217;s Game of Life that run in the browser &#8212; probably because Dr. Conway&#8217;s exercise in generative, automated systems is both simple enough for programmers to reproduce easily and pretty enough to watch that it quickly captures one&#8217;s imagination. Here&#8217;s the latest: an HTML5 version of Life, as built by [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2010/07/LifeHTML5.png"><img src="http://www.webmonkey.com/wp-content/uploads/2010/07/LifeHTML5.png" alt="" title="LifeHTML5" width="580" height="301" class="alignnone size-full wp-image-47979" /></a></p>
<p>We&#8217;ve seen several implementations of <a href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Conway&#8217;s Game of Life</a> that run in the browser &#8212; probably because Dr. Conway&#8217;s exercise in generative, <a href="http://en.wikipedia.org/wiki/Cellular_automaton">automated systems</a> is both simple enough for programmers to reproduce easily and pretty enough to watch that it quickly captures one&#8217;s imagination.</p>
<p>Here&#8217;s the latest: <a href="http://sixfoottallrabbit.co.uk/gameoflife/">an HTML5 version of Life</a>, as built by British programmer Joseph Mansfield. He says he tackled the &#8220;mini-project&#8221; to have fun with the HTML5 <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html">canvas element</a>.</p>
<p>Here&#8217;s a <a href="http://www.math.com/students/wonders/life/life.html">primer on Life</a> from Math.com. Visit Mansfield&#8217;s site and try out some different patterns and see what evolves. The screenshot above is about a dozen generations into a game that started with the word &#8220;<a href="http://www.webmonkey.com/wp-content/uploads/2010/07/LifeHTML5-2.png">Webmonkey</a>&#8221; written on a 100&#215;20 grid.</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/03/conways-game-of-life-in-javascript/">Conway&#8217;s Game of Life in JavaScript</a></li>
<li><a href="http://www.webmonkey.com/2010/06/smokescreen-project-promises-flash-without-the-plug-in/">Smokescreen Project Promises &#8216;Flash Without the Plug-in&#8217;</a></li>
<li><a href="http://www.webmonkey.com/2010/05/handy-guide-to-detecting-support-for-html5/">Handy Guide to Detecting Support for HTML5</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/07/conways-game-of-life-in-html5/feed/</wfw:commentRss>
        <slash:comments>2</slash:comments>

        
    </item>
    
    <item>
        <title>New Hardware-Accelerated IE9 Preview Arrives</title>
        <link>http://www.webmonkey.com/2010/06/new-hardware-accelerated-preview-of-ie9-arrives/</link>
        <comments>http://www.webmonkey.com/2010/06/new-hardware-accelerated-preview-of-ie9-arrives/#comments</comments>
        <pubDate>Wed, 23 Jun 2010 21:30:30 +0000</pubDate>

                <dc:creator>Michael Calore</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=47800</guid>
        		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[video]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/06/Fish-100.jpeg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/06/Fish-100.jpeg" alt="New Hardware-Accelerated IE9 Preview Arrives" /></div>Microsoft has released Internet Explorer 9 platform preview 3, the latest pre-release version of the company&#8217;s next web browser. Curious developers running Windows can download platform preview 3 starting Wednesday afternoon. This version of IE9 features expanded support for specific HTML5 elements that can take advantage of the browser&#8217;s new hardware-acceleration abilities. &#8220;Most computing tasks [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_47801" class="wp-caption aligncenter" style="width: 590px"><a href="http://www.webmonkey.com/wp-content/uploads/2010/06/Fish-100.jpeg"><img src="http://www.webmonkey.com/wp-content/uploads/2010/06/Fish-100.jpeg" /></a><p class="wp-caption-text">Nothing fishy about IE9's hardware acceleration: This demo shows an animated fish tank rendered using Canvas.</p></div><br />
</p>
<p>Microsoft has released Internet Explorer 9 platform preview 3, the latest pre-release version of the company&#8217;s next web browser.</p>
<p>Curious developers running Windows can <a href="http://ie.microsoft.com/testdrive/">download platform preview 3</a> starting Wednesday afternoon. This version of IE9 features expanded support for specific HTML5 elements that can take advantage of the browser&#8217;s new hardware-acceleration abilities.</p>
<p>&#8220;Most computing tasks on the web only take up 10 percent of the PC&#8217;s capabilities,&#8221; Microsoft&#8217;s Ryan Gavin said at a press event Wednesday. &#8220;We want to unlock that other 90 percent.&#8221;</p>
<p>The new IE9 platform preview has expanded support for HTML5&#8242;s native video and audio capabilities, as well as expanded support for the <a href="http://en.wikipedia.org/wiki/Canvas_element">Canvas element</a>.</p>
<p>&#8220;Showing how well we handle these HTML5 elements is the point of this release,&#8221; says Microsoft&#8217;s Rob Mauceri.</p>
<p>Microsoft has taken a fair bit of heat in the browser world for being slow to adopt HTML5. Though not yet finalized, the emerging specification is already widely supported by Chrome, Firefox, Opera and Safari. Microsoft&#8217;s current version of Internet Explorer, IE8, is woefully behind these other browsers when it comes to support for HTML5 and other standards like CSS 3.</p>
<p>With IE9, due around the end of the year, the company hopes to get back on the right path.</p>
<p>Microsoft has engineered this version of the browser to take advantage of the latest multicore processors and GPU chips shipping in the newest hardware. Several of Microsoft&#8217;s hardware partners &#8212; AMD, Asus, NVidia and Dell &#8212; were on hand with their newest, fastest machines at the press event to show the browser preview running through <a href="http://ie.microsoft.com/testdrive/">some Microsoft-built demos</a>.</p>
<p>The company first showed off a hardware-accelerated preview of IE9 at a developer event last year, and then upped those capabilities with the <a href="http://www.webmonkey.com/2010/05/new-ie9-preview-features-more-speed-standards-support/">second platform preview</a> in May. But Wednesday&#8217;s release of IE9 has some updated code to access the hardware and an updated JavaScript engine to make scripted animations smoother.<br />
<span id="more-47800"></span></p>
<p>Microsoft&#8217;s hardware acceleration tools, which rely on Direct2D and DirectWrite, are built into Windows 7, and the company is making them available to Windows Vista users (but not XP).</p>
<p>The frame-per-second rates in the new IE9 preview release were impressive. We saw animations, as well as some native video playback (H.264 video &#8212; IE will support open source <a href="http://www.webmproject.org/">WebM video</a> if the user has the <a href="http://www.webmonkey.com/2010/05/on-web-video-support-safari-now-stands-alone/">correct codecs installed</a> on Windows). From the looks of the demos, IE9 is shaping up to be one fast browser. It easily smoked Firefox and fared quite well against Chrome. Microsoft&#8217;s demos don&#8217;t contain any vendor-specific HTML code <a href="http://www.webmonkey.com/2010/06/apples-html5-showcase-less-about-web-standards-more-about-apple/">and they don&#8217;t block other browsers</a>, so you can run your own tests in several different browsers. Microsoft is using vendor-specific prefixes on its CSS 3 demos, however.</p>
<p>It&#8217;s admirable that Internet Explorer is supporting so much of HTML5 in the next release (&#8220;We&#8217;re all in on HTML5,&#8221; Mauceri says) but Microsoft is taking their level of commitment up a whole extra notch by building a hardware-accelerated browser that can access the GPU for native animations and native media playback.</p>
<p>&#8220;Canvas, audio and video are the perfect match for hardware acceleration,&#8221; says Mauceri.</p>
<p>It&#8217;s a growing trend. Mozilla is <a href="http://hacks.mozilla.org/2010/04/mozilla-developer-preview-4-ready-for-testing/">adding hardware acceleration to Firefox 4</a>, and Google is <a href="http://www.neowin.net/forum/topic/908454-chromechromium-hardware-acceleration/">building it into Chrome</a>.</p>
<p>Apple&#8217;s Safari browser already uses hardware acceleration for some animations, but Microsoft is confident the new IE9 still performs better. Earlier this month, Brandon LeBlanc from the IE team posted <a href="http://windowsteamblog.com/windows/b/bloggingwindows/archive/2010/06/07/internet-explorer-9-and-safari-5.aspx">a video of Safari 5 and IE9</a> running side by side. The video shows IE outperforming Safari.</p>
<p>A bonus for designers &#8212; the new IE9 includes support for the new <a href="http://www.w3.org/Submission/2010/03/">Web Open Font Format</a> (WOFF) for displaying fancy fonts on webpages.</p>
<p><b>See Also:</b></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/05/new-ie9-preview-features-more-speed-standards-support/">New IE9 Preview Features More Speed, Standards Support</a></li>
<li><a href="http://www.webmonkey.com/2010/03/microsoft-to-double-down-on-html5-with-internet-explorer-9/">Microsoft to Double Down on HTML5 With Internet Explorer 9</a></li>
<li><a href="http://www.webmonkey.com/2010/05/on-web-video-support-safari-now-stands-alone/">On Web Video Support, Safari Now Stands Alone</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/06/new-hardware-accelerated-preview-of-ie9-arrives/feed/</wfw:commentRss>
        <slash:comments>28</slash:comments>

        
    </item>
    </channel>
</rss>