<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"> <channel><title>CreativeJS</title> <link>http://creativejs.com</link> <description>The very best of creative JavaScript and HTML5</description> <lastBuildDate>Wed, 22 Feb 2012 09:00:11 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Creativejs" /><feedburner:info uri="creativejs" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Analog or digital</title><link>http://feedproxy.google.com/~r/Creativejs/~3/I5KIIEUKnEg/</link> <comments>http://creativejs.com/2012/02/analog-or-digital/#comments</comments> <pubDate>Wed, 22 Feb 2012 09:00:11 +0000</pubDate> <dc:creator>Paul King</dc:creator> <category><![CDATA[Audio]]></category> <category><![CDATA[DOM]]></category> <category><![CDATA[Music]]></category> <guid isPermaLink="false">http://creativejs.com/?p=3011</guid> <description><![CDATA[You may have noticed that we&#8217;re fond of a bit of retro, so it was hard to resist this pixelated music video from Wildlife Control&#8230; from their blog: We were tinkering around with the SoundCloud API late one night several &#8230; <a
href="http://creativejs.com/2012/02/analog-or-digital/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://analogordigital.wildlifectrl.com"><img
src="http://creativejs.com/wp-content/uploads/2012/02/analog_or_digital-1.png" /></a></p><p>You may have noticed that we&#8217;re fond of a bit of retro, so it was hard to resist this pixelated music video from Wildlife Control&#8230; from <a
href="http://wildlifectrl.com">their blog</a>:</p><blockquote><p>We were tinkering around with the SoundCloud API late one night several weeks ago and realized we could use the timing events and track comments to make something cool. At the time, we were thinking it would be a quick little animated ASCII thing. After digging in a little more, we decided to go way bigger.</p></blockquote><p>Each jumbo pixel in the grid is a plain old &lt;div&gt; with a coloured background, while scenes are broken down into reusable sprites to keep things snappy.</p><p>Cute 8-bit dinosaurs, robots &amp; zombie dogs all make an appearance, with SoundCloud comments embedded at the correct time-index &#8211; a nice touch.</p><p>I strongly suspect there&#8217;s some nice tooling behind this, if the large arrays of data in the source are anything to go by. Perhaps they&#8217;ll let us know!</p><p>The song isn&#8217;t half bad, either <img
src='http://creativejs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><a
href="http://analogordigital.wildlifectrl.com">Analog or digital &#8211; Wildlife control</a></p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/I5KIIEUKnEg" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/analog-or-digital/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/analog-or-digital/</feedburner:origLink></item> <item><title>Loop waveform visualizer</title><link>http://feedproxy.google.com/~r/Creativejs/~3/Py9ymDBQrwo/</link> <comments>http://creativejs.com/2012/02/loop-waveform/#comments</comments> <pubDate>Mon, 20 Feb 2012 14:54:16 +0000</pubDate> <dc:creator>Val Head</dc:creator> <category><![CDATA[Audio]]></category> <category><![CDATA[WebGL]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2990</guid> <description><![CDATA[Loop Waveform Visualizer is a seemingly simple realtime audio analyzer built with Three.js and Chrome&#8217;s new Web Audio API. Drag an mp3 over and watch the 3D graphic equalizer style visualization liven up your browser window. It&#8217;s mesmerizing and quite &#8230; <a
href="http://creativejs.com/2012/02/loop-waveform/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://airtightinteractive.com/demos/js/reactive/"><img
src="http://creativejs.com/wp-content/uploads/2012/02/loopVizSmall.jpg" alt="" class="alignnone size-full wp-image-2992" /></a></p><p>Loop Waveform Visualizer is a seemingly simple realtime audio analyzer built with <a
href="http://mrdoob.github.com/three.js/">Three.js</a> and <a
href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html">Chrome&#8217;s new Web Audio API</a>. Drag an mp3 over and watch the 3D graphic equalizer style visualization liven up your browser window. It&#8217;s mesmerizing and quite performant.</p><p>The visuals are made up of 160 loops with their geometry and colour modified based on the audio data:</p><blockquote><p>The current time slice is rendered in the center, then displaced outwards over time. The level determines the brightness, thickness and Z scale of the loops. The Z displacement gives a nice ‘bounce to the beat’ effect. The waveform shape is drawn into the loop which means you can almost ‘see’ the sound.</p></blockquote><p>It probably goes without saying, but this experiment doesn&#8217;t work everywhere. You&#8217;ll need a current version of Chrome to play along. <a
href="https://twitter.com/felixturner">Felix</a> notes that it&#8217;s especially pretty when using a track with a wide range of volume changes, so pick something especially dramatic<a
href="http://airtightinteractive.com/demos/js/reactive/"> and go try it out</a>. And if you want to find out more, he&#8217;s provided a <a
href="http://www.airtightinteractive.com/2012/01/loop-waveform-visualizer/">nicely detailed write up on his blog</a> too.</p><p><a
href="http://airtightinteractive.com/demos/js/reactive/">Loop Waveform Visualizer</a> by <a
href="https://twitter.com/felixturner">Felix Turner</a></p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/Py9ymDBQrwo" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/loop-waveform/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/loop-waveform/</feedburner:origLink></item> <item><title>Escapes.js – Retro ANSI art in JavaScript</title><link>http://feedproxy.google.com/~r/Creativejs/~3/c7i_7CN2y7c/</link> <comments>http://creativejs.com/2012/02/ansi-escapes-js/#comments</comments> <pubDate>Fri, 17 Feb 2012 12:40:51 +0000</pubDate> <dc:creator>Paul Neave</dc:creator> <category><![CDATA[Canvas (2D)]]></category> <category><![CDATA[JS Library]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2950</guid> <description><![CDATA[We explored creative uses of ASCII art a few months ago and again more recently, but we haven&#8217;t yet covered its lesser known and even more geeky cousin until now: ANSI art. ANSI art originates from the late &#8217;80s and early &#8217;90s, back &#8230; <a
href="http://creativejs.com/2012/02/ansi-escapes-js/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://atdt.github.com/escapes.js/"><img
src="http://creativejs.com/wp-content/uploads/2012/02/ansi-art.png" alt="" width="640" height="443" /></a></p><p>We explored creative uses of ASCII art <a
href="/2011/08/animated-characters/">a few months ago</a> and again <a
href="/2012/02/fluid-ascii-animation/">more recently</a>, but we haven&#8217;t yet covered its lesser known and even more geeky cousin until now: ANSI art.</p><p><a
href="http://en.wikipedia.org/wiki/ANSI_art">ANSI art</a> originates from the late &#8217;80s and early &#8217;90s, back when the internet was merely a collection of a few thousand computers and before the World Wide Web even existed. Back then, geeks &#8211; sorry! &#8211; people used <a
href="http://en.wikipedia.org/wiki/Bulletin_board_system">Bulletin Board Systems</a> to communicate, share information and download files. To do this you would need to <em>dial a phone number</em> to connect to another computer over a modem. Be thankful you don&#8217;t have to do <em>that</em> any more!</p><p>These modems were <em>slooow</em>. So slow that only text could be displayed. And typically in the early &#8217;90s computer screens could only display a maximum of 16 colours at the same time. Born of this limitation was ANSI art. It was a way to display pictures, graphics and logos using nothing but text characters &#8211; technically the higher <a
href="http://en.wikipedia.org/wiki/Extended_ASCII">extended set of ASCII characters</a>, which looked something like this:</p><p><a
href="http://creativejs.com/wp-content/uploads/2012/02/ascii-dos.jpeg"><img
class="aligncenter size-full wp-image-2959" title="ANSI characters" src="http://creativejs.com/wp-content/uploads/2012/02/ascii-dos.jpeg" alt="" width="256" height="198" /></a></p><p>Some characters were solid blocks, some half blocks, some shaded blocks, some parallel lines and some other weird shapes. To create an image from these characters you would need to type special key code combinations into MS-DOS Edit, or later, using a program called <a
href="http://en.wikipedia.org/wiki/TheDraw">TheDraw</a>.</p><p>Here&#8217;s a <a
href="http://www.youtube.com/watch?v=r_cYOi3pnhA">great little video</a> exploring ANSI art in a modern context:</p><p><iframe
src="http://www.youtube.com/embed/r_cYOi3pnhA" frameborder="0" width="640" height="360"></iframe></p><p>OK, enough with the history lesson! This brings me to <a
href="http://atdt.github.com/escapes.js/">Escapes.js</a> made by Ori Livneh (<a
href="http://twitter.com/scatterblot">@scatterblot</a>). It&#8217;s simply a small JavaScript library for rendering ANSI art. The source code is <a
href="https://github.com/atdt/escapes.js/">available on GitHub</a>.</p><p>It works by loading an external ANSI art file, generated via one of the editors mentioned above.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">escapes<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'path/to/file.ans'</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendTo</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'body'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Escapes.js parses this file and converts the characters into their original old-skool MS-DOS equivalent font. The modern ASCII set isn&#8217;t quite the same, so this script redraws each character from a <a
href="https://github.com/atdt/escapes.js/blob/master/escapes.js#L426">font map</a>.</p><p>Once that&#8217;s done, it&#8217;s a simple case of drawing those characters into a &lt;canvas&gt; context one character block at a time, and colouring each block appropriately. The above code will add the canvas to the &lt;body&gt; element, but there&#8217;s also an option to create an image from the canvas element (using canvas.toDataURL) with this handy function:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">this</span>.<span style="color: #660066;">toImageTag</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Have a look at the <a
href="https://github.com/atdt/escapes.js/blob/master/escapes.js">main file</a> to see how it&#8217;s done, or simply <a
href="http://atdt.github.com/escapes.js/">go to the demo page</a> and try out the super retro geeky examples!</p><p><a
href="http://atdt.github.com/escapes.js/">Play with Escapes.js</a></p><p><strong>Also:</strong> Guillermo Rauch <a
href="http://twitter.com/rauchg/status/170515549716103169">pointed out</a> another cool <a
href="https://github.com/TooTallNate/ansi.js">ANSI formatting tool for Node.js</a>. Check it out too!</p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/c7i_7CN2y7c" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/ansi-escapes-js/feed/</wfw:commentRss> <slash:comments>7</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/ansi-escapes-js/</feedburner:origLink></item> <item><title>GPU Lightmapping</title><link>http://feedproxy.google.com/~r/Creativejs/~3/fo1u3rQkEp0/</link> <comments>http://creativejs.com/2012/02/gpu-lightmapping/#comments</comments> <pubDate>Thu, 16 Feb 2012 16:44:57 +0000</pubDate> <dc:creator>Paul Lewis</dc:creator> <category><![CDATA[GLSL]]></category> <category><![CDATA[WebGL]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2929</guid> <description><![CDATA[Evan Wallace is a very clever chap. He brought us the WebGL water experiment, and he&#8217;s done several other high-quality experiments that are among the best I&#8217;ve seen. He particularly excels at demos that do the heavy lifting with shaders, &#8230; <a
href="http://creativejs.com/2012/02/gpu-lightmapping/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://evanw.github.com/lightgl.js/tests/gpulightmap.html"><img
class="alignnone size-full wp-image-2932" title="gpu-lightmap" src="http://creativejs.com/wp-content/uploads/2012/02/gpu-lightmap.png" alt="" width="600" height="200" /></a></p><p><a
title="Evan Wallace's site" href="http://madebyevan.com/">Evan Wallace</a> is a very clever chap. He brought us <a
title="WebGL water" href="http://creativejs.com/2011/08/webgl-water/">the WebGL water</a> experiment, and he&#8217;s done several <a
title="Evan's Experiments" href="http://madebyevan.com/">other high-quality experiments</a> that are among the best I&#8217;ve seen. He particularly excels at demos that do the heavy lifting with shaders, and here&#8217;s the latest : <a
title="GPU Lightmap" href="http://evanw.github.com/lightgl.js/tests/gpulightmap.html">a GPU Lightmap</a>! The gist of the demo is that he makes a load of 3D planes and creates realistic soft shadows based on the positions and orientations of the planes.</p><p>To achieve the effect a virtual light is shone at each plane &#8211; if the light hits the plane it&#8217;s (perhaps obviously!) lit, if the light hits something else first then the plane is in shadow. This information is used to lighten or darken every plane&#8217;s material as needed.</p><p>The light is passed over the planes several times, from a different direction each time. The shadow map information from each pass is averaged with the previous passes. The quality improves over time as more information is picked up. The net effect of this is that you get lovely soft shadows.</p><p>Whether or not you love getting your head into these kind of heavier-duty graphics techniques I&#8217;m pretty sure you&#8217;ll enjoy the final effect.</p><p>The demo is one of several from his <a
title="LightGL Library" href="https://github.com/evanw/lightgl.js">LightGL library</a>, which is designed to provide extra capabilities to the WebGL API to make it more like its older sibling, OpenGL. If you like getting your hands dirty with raw or near-raw WebGL it&#8217;s well worth a look.</p><p><a
title="GPU Lightmap" href="http://evanw.github.com/lightgl.js/tests/gpulightmap.html">GPU Lightmap</a> by <a
title="Evan Wallace's site" href="http://madebyevan.com/">Evan Wallace</a></p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/fo1u3rQkEp0" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/gpu-lightmapping/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/gpu-lightmapping/</feedburner:origLink></item> <item><title>1024 bytes of love</title><link>http://feedproxy.google.com/~r/Creativejs/~3/XkeNs3GgVBM/</link> <comments>http://creativejs.com/2012/02/js1k-love/#comments</comments> <pubDate>Mon, 13 Feb 2012 14:31:39 +0000</pubDate> <dc:creator>Hakim El Hattab</dc:creator> <category><![CDATA[General]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2900</guid> <description><![CDATA[Everyone&#8217;s favorite byte-crunching extravaganza is back! This is the fourth installment of the js1k challenge and this time around the theme is love. For those of you who are unfamiliar with js1k; it&#8217;s a competition that was first started in &#8230; <a
href="http://creativejs.com/2012/02/js1k-love/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://js1k.com/2012-love/"><img
class="alignnone size-full wp-image-2922" title="js1k-love-trails" src="http://creativejs.com/wp-content/uploads/2012/02/js1k-love-trails1.png" alt="" width="600" height="200" /></a></p><p>Everyone&#8217;s favorite byte-crunching extravaganza is back! This is the fourth installment of the js1k challenge and this time around the theme is <strong>love</strong>.</p><p>For those of you who are unfamiliar with <a
href="http://js1k.com">js1k</a>; it&#8217;s a competition that was first started in 2010 by <a
href="http://qfox.nl/">Peter van der Zee</a> (<a
href="http://twitter.com/kuvos">@kuvos</a>) that challenges web developers to write an impressive JavaScript demo in 1024 bytes or less. Participants are not allowed to make use of any externals but the <a
href="http://js1k.com/2012-love/shim.html">demo page template</a> provides you with access to a canvas element.</p><p>Enforcing limits can really cultivate creativity. Other <a
href="http://10k.aneventapart.com">similar competitions</a> have already proven this and over the past two years, so has js1k. Below are the incredible winning demos for each previous round of the competition.</p><p><strong>2010<br
/> </strong><a
href="http://js1k.com/2010-first/demo/635"><img
class="alignnone  wp-image-2902" title="js1k-bouncing" src="http://creativejs.com/wp-content/uploads/2012/02/js1k-bouncing.png" alt="" width="600" height="113" /><br
/> </a><a
href="http://js1k.com/2010-first/demo/635">Legend Of The Bouncing Beholder</a> by <a
href="http://twitter.com/marijnjh" target="_blank">@marijnjh</a></p><p><strong>2010: Xmas</strong><br
/> <a
href="http://js1k.com/2010-xmas/demo/856"><img
class="alignnone  wp-image-2908" title="js1k-xmastree" src="http://creativejs.com/wp-content/uploads/2012/02/js1k-xmastree3.png" alt="" width="600" height="251" /></a><br
/> <a
href="http://js1k.com/2010-xmas/demo/856">Christmas Tree</a> by <a
href="http://twitter.com/romancortes" target="_blank">@romancortes</a></p><p><strong>2011: Oregon Trail</strong><br
/> <a
href="http://js1k.com/2011-dysentery/demo/984"><img
class="alignnone  wp-image-2907" title="js1k-flexidroid" src="http://creativejs.com/wp-content/uploads/2012/02/js1k-flexidroid1.png" alt="" width="600" height="249" /></a><br
/> <a
href="http://js1k.com/2011-dysentery/demo/984">FlexiDR↻ID</a> by <a
href="http://twitter.com/keenblaze">@keenblaze</a></p><p>This competition just began and entries will remain open till March 14.</p><p><a
href="http://js1k.com/2012-love/">http://js1k.com/2012-love/</a></p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/XkeNs3GgVBM" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/js1k-love/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/js1k-love/</feedburner:origLink></item> <item><title>Fluid ascii animation</title><link>http://feedproxy.google.com/~r/Creativejs/~3/RVF8w9bABGY/</link> <comments>http://creativejs.com/2012/02/fluid-ascii-animation/#comments</comments> <pubDate>Fri, 10 Feb 2012 13:24:56 +0000</pubDate> <dc:creator>Seb Lee-Delisle</dc:creator> <category><![CDATA[DOM]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2891</guid> <description><![CDATA[We&#8217;ve already featured posts on fluid dynamics and ascii animation but here&#8217;s a very pleasing demo that combines the two. Nick Kwiatek, a web designer and developer in New York took Oliver Hunt&#8216;s excellent JS fluid solver and rendered it &#8230; <a
href="http://creativejs.com/2012/02/fluid-ascii-animation/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://nkwiatek.com"><img
src="http://creativejs.com/wp-content/uploads/2012/02/ascifluidgreen.png" alt="" title="ascifluidgreen" width="600" height="200" class="alignnone size-full wp-image-2892" /></a></p><p>We&#8217;ve already featured posts on <a
href="http://creativejs.com/2011/08/fluid-dynamics/" title="Fluid dynamics">fluid dynamics</a> and <a
href="http://creativejs.com/2011/08/animated-characters/" title="Animated characters">ascii animation</a> but here&#8217;s a very pleasing demo that combines the two. <a
href="http://twitter.com/nkwiatek">Nick Kwiatek</a>, a web designer and developer in New York took <a
href="http://nerget.com/">Oliver Hunt</a>&#8216;s excellent <a
href="http://nerget.com/fluidSim/">JS fluid solver</a> and <a
href="http://nkwiatek.com/">rendered it in ascii</a>.</p><p>We recommend switching on hacker mode. Let&#8217;s face it, everything looks better in green on black.</p><p><a
href="http://twitter.com/nkwiatek">Nick Kwiatek</a>&#8216;s JS <a
href="http://nkwiatek.com/">ascii fluid</a></p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/RVF8w9bABGY" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/fluid-ascii-animation/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/fluid-ascii-animation/</feedburner:origLink></item> <item><title>Seriously real-time video effects</title><link>http://feedproxy.google.com/~r/Creativejs/~3/TN96Wa8DeE8/</link> <comments>http://creativejs.com/2012/02/seriously-real-time-video-effects/#comments</comments> <pubDate>Wed, 08 Feb 2012 09:00:14 +0000</pubDate> <dc:creator>Paul King</dc:creator> <category><![CDATA[Canvas (2D)]]></category> <category><![CDATA[JS Library]]></category> <category><![CDATA[Video]]></category> <category><![CDATA[WebGL]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2817</guid> <description><![CDATA[Seriously.js is seriously cool (heh) client-side realtime compositor for video and images by Brian Chirls. The demo video, courtesy of Ok Go, provides a fun showcase of its abilities (gotta love the nightvision/Modern Warfare effect!) and demonstrates the realtime transitions &#8230; <a
href="http://creativejs.com/2012/02/seriously-real-time-video-effects/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://seriouslyjs.org/"><img
src="http://creativejs.com/wp-content/uploads/2012/02/seriouslyjs.jpg" /></a></p><p>Seriously.js is seriously cool <em>(heh)</em> client-side realtime compositor for video and images by Brian Chirls.</p><p>The demo video, courtesy of Ok Go, provides a fun showcase of its abilities (gotta love the nightvision/Modern Warfare effect!) and demonstrates the realtime transitions made possible by a <a
href="http://en.wikipedia.org/wiki/Digital_compositing#Node-based_and_layer-based_compositing">node-based</a> compositing approach.</p><p>Having not played with this kind of library before, I was pleasantly surprised how quick and easy it is to pull something together.  As usual, the demo source is worth a poke around <img
src='http://creativejs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>The <a
href="https://github.com/brianchirls/Seriously.js/wiki/Tutorial">tutorial</a> is easy to follow and will give a good starting point for your own experiments. You can pick up the <a
href="https://github.com/brianchirls/Seriously.js">source</a> on Github.</p><p><a
href="http://seriouslyjs.org/">Seriously.js by Brian Chirls</a></p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/TN96Wa8DeE8" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/seriously-real-time-video-effects/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/seriously-real-time-video-effects/</feedburner:origLink></item> <item><title>The good, the bad, and the ugly of scrolling animation sites</title><link>http://feedproxy.google.com/~r/Creativejs/~3/ptQaEwX9G8w/</link> <comments>http://creativejs.com/2012/02/scrolling-animation-sites/#comments</comments> <pubDate>Tue, 07 Feb 2012 16:14:02 +0000</pubDate> <dc:creator>Val Head</dc:creator> <category><![CDATA[General]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2856</guid> <description><![CDATA[If you&#8217;ve spent any amount of time on the internet lately, you&#8217;ll have seen this latest fad in web design popping up every few weeks. Love them or hate them, they don&#8217;t seem to be going away anytime soon. Sometimes &#8230; <a
href="http://creativejs.com/2012/02/scrolling-animation-sites/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>If you&#8217;ve spent any amount of time on the internet lately, you&#8217;ll have seen this latest fad in web design popping up every few weeks. Love them or hate them, they don&#8217;t seem to be going away anytime soon. Sometimes it&#8217;s done creatively and adds a nice effect and surprise to site. But most of the time it&#8217;s overdone and is disorienting.</p><h4>How it&#8217;s all done</h4><p>At the core of it, the effect is created by manipulating DOM elements to have their size, position, or other properties change in relation to the scroll position of the page. You don&#8217;t even have to do it all yourself, there&#8217;s at least <a
href="https://github.com/johnpolacek/scrollorama">one handy jQuery plug-in</a> and <a
href="http://www.ianlunn.co.uk/demos/recreate-nikebetterworld-parallax/">plenty</a> <a
href="http://www.richardshepherd.com/smashing/parallax/background.html">of</a> <a
href="http://www.netmagazine.com/tutorials/building-parallax-scrolling-storytelling-framework">tutorials</a> available to help you out.</p><p>But before you&#8217;re off to the races, we need to talk.</p><h4>The good</h4><p><a
href="http://slaveryfootprint.org/"><img
src="http://creativejs.com/wp-content/uploads/2012/02/slaveryIndex.jpg" alt="" title="slaveryIndex" class="alignnone size-full wp-image-2866"  /></a></p><p>Let&#8217;s start on a positive note. Yes, there are some good ones out there. Really! The trick seems to be having good style and taste. (How&#8217;s that for easier said than done?)  Sites like <a
href="http://slaveryfootprint.org/">The Slavery Footprint</a> and <a
href="http://www.dangersoffracking.com/">Dangers of Fracking</a> keep the effects to a minimum and combine them with a playful illustration.</p><p><a
href="http://slaveryfootprint.org/">The Slavery Footprint </a> steps it up just a bit by adding in some easing. But they still pull it off with style and use the effect to keep things interesting, not annoying.</p><p>The same goes for this little demo, <a
href="http://cargo.andrewohlmann.com/2407226/Parallax-Error-Beheads-You">Parallax error beheads you</a>, by <a
href="http://cargo.andrewohlmann.com">Andrew Ohlmann</a>. Just enough there to make it fun and interesting.</p><p><a
href="http://cargo.andrewohlmann.com/2407226/Parallax-Error-Beheads-You"><img
src="http://creativejs.com/wp-content/uploads/2012/02/parallaxerror.jpg" alt="" title="parallaxerror" class="alignnone size-full wp-image-2866"   /></a></p><h4>The bad and the ugly</h4><p>Unfortunately, things can get bad. Very very bad. Taken to the extreme this effect does more than just get in the way. It make sites nearly un-useable and gives you a nice dose of motion sickness or the internet version of roadrage.</p><p>Some of the worst offenders include the <a
href="http://www.artofflightmovie.com/">Art of Flight</a> site and <a
href="http://beetle.de/">beetle.de</a>. Art of flight not only hijacks your scroll bar, it tosses common convention aside and takes you in all directions with what seems to be a complete lack of consistency or rules. Oh, and just try and get to any of the content besides the video. It&#8217;s pretty much impossible.</p><p><a
href="http://beetle.de/">Beetle.de</a> might have seemed cute at first, but it&#8217;s biggest offense is a drastic overuse of the effect and sluggish speed. It&#8217;s second biggest offense is awkward jerky easing. Actually, that&#8217;s a pretty common offense of these types of sites. Nothing ruins a site like huge images slowly jerking or skipping into place.</p><h4>So, if you&#8217;re going to do it</h4><p>I&#8217;ve just spend the last few paragraphs complaining about it, but, trust me, I&#8217;m  happy when I see it done well! Just remember, a little goes a long way. The best examples use the effect sparingly and in a way that&#8217;s fitting for their content and concept.</p><p>Restraint and style can help with performance too. Shorter, less dramatic easing tends to work best in these situations. Overdoing it just makes things feel broken and sluggish.</p><p>Also, remember that scrolling is a basic browser behaviour. The best of these sites stick close to the &#8220;scrolling down means moving downward&#8221; metaphor that&#8217;s been ingrained in us all. Mess with this too much and people will be paying more attention to how mad you&#8217;ve made them than to any experience you&#8217;ve tried to create!</p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/ptQaEwX9G8w" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/scrolling-animation-sites/feed/</wfw:commentRss> <slash:comments>7</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/scrolling-animation-sites/</feedburner:origLink></item> <item><title>CreativeJS workshops in UK and Amsterdam</title><link>http://feedproxy.google.com/~r/Creativejs/~3/pfHxUjPOGW0/</link> <comments>http://creativejs.com/2012/02/creativejs-workshops-in-uk-and-amsterdam/#comments</comments> <pubDate>Mon, 06 Feb 2012 17:10:30 +0000</pubDate> <dc:creator>Seb Lee-Delisle</dc:creator> <category><![CDATA[Workshops]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2883</guid> <description><![CDATA[My latest workshops in Brighton and Amsterdam have just been announced, including a brand new course aimed at people with no programming experience! If you know any code-curious designers please let them know. Here&#8217;s a little video to show how &#8230; <a
href="http://creativejs.com/2012/02/creativejs-workshops-in-uk-and-amsterdam/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>My latest workshops in Brighton and Amsterdam have just been announced, including a brand new course aimed at people with no programming experience! If you know any code-curious designers please let them know. <img
src='http://creativejs.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><p>Here&#8217;s a little video to show how easy it can be to get started with CreativeJS.</p><p><iframe
src="http://player.vimeo.com/video/36278748?title=0&amp;byline=0&amp;portrait=0" width="601" height="338" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p><p>There&#8217;s also an extended 3 day version of the original CreativeJS workshops in Brighton, and a 2 day in Amsterdam.</p><p>For booking and information go to the <a
href="http://seb.ly/training">CreativeJS workshops page</a>, tickets on sale tomorrow at 12 midday. They usually sell out quick so don&#8217;t hang around if you&#8217;d like to come!</p><p><strong>[UPDATE]</strong> Brighton and Amsterdam courses sold out within a couple of days. Still space on the <a
href="http://seb.ly/training">non-coders course</a>.</p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/pfHxUjPOGW0" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/creativejs-workshops-in-uk-and-amsterdam/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/creativejs-workshops-in-uk-and-amsterdam/</feedburner:origLink></item> <item><title>Morphing particles</title><link>http://feedproxy.google.com/~r/Creativejs/~3/lqZ1g3gWI1I/</link> <comments>http://creativejs.com/2012/02/morphing-particles/#comments</comments> <pubDate>Wed, 01 Feb 2012 16:38:44 +0000</pubDate> <dc:creator>Paul Lewis</dc:creator> <category><![CDATA[WebGL]]></category> <guid isPermaLink="false">http://creativejs.com/?p=2745</guid> <description><![CDATA[Legendary Swede OutsideOfSociety is back again, and this time he&#8217;s armed with just over 20,000 morphing particles. The idea is simple: morph from one particle-based shape to another. The end effect, however, is mesmerising, which just confirms that particles are &#8230; <a
href="http://creativejs.com/2012/02/morphing-particles/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
title="Morphing Particles" href="http://oos.moxiecode.com/js_webgl/particles_morph/index.html"><img
class="alignnone size-full wp-image-2746" title="morphing-particles" src="http://creativejs.com/wp-content/uploads/2012/02/morphing-particles.png" alt="" width="599" height="200" /></a></p><p>Legendary Swede <a
href="http://twitter.com/oosmoxiecode">OutsideOfSociety</a> is back again, and this time he&#8217;s armed with just over 20,000 morphing particles. The idea is simple: morph from one particle-based shape to another. The end effect, however, is mesmerising, which just confirms that particles are always a winner. You simply can&#8217;t go wrong. Well you probably can, but you have to really try.</p><p>What&#8217;s interesting about this approach is that it uses JavaScript for the shape morphing; each particle is passed an updated position by JavaScript on every frame. But there is an interesting alternative approach to this: the tweening equations could be implemented on the GPU as part of the shader. From there the JavaScript&#8217;s involvement would be to pass a tween value between 0 and 1 to the vertex shader which would then be responsible for updating the position of the vertices accordingly. While the latter approach is more complex it could significantly improve performance since the GPU is now handling virtually everything to do with the particle motion.</p><p>That said, it&#8217;s a testament to <a
title="Three.js on GitHub" href="https://github.com/mrdoob/three.js/">Three.js</a> (which is used for the rendering), JavaScript and of course OutsideOfSociety that 20,000 particles can be moved around the screen at 60 frames per second. Welcome to the future, I love it.</p><p>OutsideOfSociety actually sent this update:</p><blockquote><p>There are 85k particles, 65k are the model and 20k are the extra ones spread out within a sphere.</p></blockquote><p>So actually there are a ton more particles than I&#8217;d noticed in the source code, which only goes to show how impressive the work here is! Also the easing is done in JavaScript, but the actual particle positions <em>are </em>updated in the vertex shader rather than in the JS. Couple of corrections there, folks! <img
src='http://creativejs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><a
title="Morphing Particles" href="http://oos.moxiecode.com/js_webgl/particles_morph/index.html">Morphing Particles</a> by <a
title="OutsideOfSociety" href="http://oos.moxiecode.com/">OutsideOfSociety</a> [via <a
title="OutsideOfSociety on Twitter" href="http://twitter.com/oosmoxiecode">@oosmoxiecode</a>]</p> <img src="http://feeds.feedburner.com/~r/Creativejs/~4/lqZ1g3gWI1I" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://creativejs.com/2012/02/morphing-particles/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://creativejs.com/2012/02/morphing-particles/</feedburner:origLink></item> </channel> </rss>

