<?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>The Highlander Blog &#187; animation</title>
	<atom:link href="http://www.highlander.co.uk/blog/tag/animation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.highlander.co.uk/blog</link>
	<description>Thoughts and musing from within Highlander</description>
	<lastBuildDate>Thu, 02 Feb 2012 12:05:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JavaScript animation – using EaselJS pt 2</title>
		<link>http://www.highlander.co.uk/blog/2012/01/06/javascript-animation-using-easeljs-pt-2/</link>
		<comments>http://www.highlander.co.uk/blog/2012/01/06/javascript-animation-using-easeljs-pt-2/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 16:07:36 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[easeljs]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[web animation]]></category>
		<category><![CDATA[web banners]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2667</guid>
		<description><![CDATA[In this post I am continuing my foray into Easel.js. Here I am now actually displaying and animating pictures. So this post is about JavaScript animation &#8211; using EaselJS pt 2. We will be making this… &#160; …and it will be the car that is moving across the screen. Again you need to make up <a href='http://www.highlander.co.uk/blog/2012/01/06/javascript-animation-using-easeljs-pt-2/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>In this post I am continuing my foray into Easel.js. Here I am now actually displaying and animating pictures. So this post is about JavaScript animation &#8211; using EaselJS pt 2. We will be making this…</p>
<div id="attachment_2681" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2012/01/06/javascript-animation-using-easeljs-pt-2/easljs_animation1/" rel="attachment wp-att-2681"><img class="size-medium wp-image-2681" src="http://www.highlander.co.uk/blog/wp-content/uploads/2012/01/easljs_animation1-300x141.png" alt="EaselJS animation v1" width="300" height="141" /></a><p class="wp-caption-text">EaselJS animation v1</p></div>
<p>&nbsp;</p>
<p>…and it will be the car that is moving across the screen.</p>
<p>Again you need to make up a simple html5 page and link to the easljs library…</p>
<p><span style="color: #ffcc00">&lt;script src=&#8221;easel.js&#8221;&gt;&lt;/script&gt;</span></p>
<p>First you need to create a stage and link it to your canvas element…</p>
<p><span style="color: #ffcc00">var page = document.getElementById(&#8220;canvas&#8221;);</span><br />
<span style="color: #ffcc00"> var stage = new Stage(page);</span></p>
<div>Here my canvas element has an id of canvas. The stage variable will hold all of my items to view and animate, and it is linked to the canvas element by Stage(page). Now I can start adding images. The images I use , of course, can just be replaced by any image you wish. To use easeljs to show an image…</div>
<div></div>
<div><span style="color: #ffcc00">var sun= new Bitmap(&#8220;sun.png&#8221;);</span></div>
<div></div>
<div>Just create a new variable and make it a new Bitmap object, with the url of your image inside. Once you have your image you can adjust its x and y properties, and its scale properties…</div>
<div>
<p><span style="color: #ffcc00">tree1.scaleX = tree1.scaleY = 0.4;</span><br />
<span style="color: #ffcc00"> tree1.x = 100;</span><br />
<span style="color: #ffcc00"> tree1.y = 100;</span></p>
<p>again, this will be familiar to those of you who know ActionScript 3. To finally see the image we need to use addChild()…</p>
<p><span style="color: #ffcc00">stage.addChild(sun);</span></p>
<div> …this last is vital, as without it we have setup our image, position, size, etc, but we will not see it until we use addChild().</div>
<div>We can then repeat this as many times as we like for each image we wish. However, before we run this we need to do a couple more things. First we need to set the frame rate, and also we need to tell easeljs to update the canvas as we are moving objects.</div>
<div>This is done like so…</div>
<div>
<p><span style="color: #ffcc00">Ticker.setFPS(60);</span><br />
<span style="color: #ffcc00"> Ticker.addListener(window);</span></p>
<div> The last line tells easeljs to look for a function called tick, and it is within this function that we update our canvas…</div>
<div>
<p><span style="color: #ffcc00">function tick()</span><br />
<span style="color: #ffcc00"> {</span><br />
<span style="color: #ffcc00"> stage.update();</span><br />
<span style="color: #ffcc00"> carMan.x-=1;</span><br />
<span style="color: #ffcc00"> }</span></p>
<p>I am not doing anything fancy with the animation, just changing x by 1 pixel, but it looks pretty good. In further posts I will discuss more advanced movement, easing, etc, but for now I think it works pretty well. You do not have to write too much code, and it all fits together very nicely. Here is the full code for the example…</p>
<p><span style="color: #ffcc00">&lt;!DOCTYPE html&gt;</span><br />
<span style="color: #ffcc00"> &lt;html lang=&#8221;en&#8221;&gt;</span><br />
<span style="color: #ffcc00"> &lt;head&gt;</span><br />
<span style="color: #ffcc00"> &lt;meta charset=&#8221;utf-8&#8243; /&gt;</span><br />
<span style="color: #ffcc00"> &lt;title&gt;easel_test&lt;/title&gt;</span><br />
<span style="color: #ffcc00"> &lt;meta name=&#8221;description&#8221; content=&#8221;" /&gt;</span><br />
<span style="color: #ffcc00"> &lt;meta name=&#8221;author&#8221; content=&#8221;alex&#8221; /&gt;</span><br />
<span style="color: #ffcc00"> &lt;script src=&#8221;easel.js&#8221;&gt;&lt;/script&gt;</span><br />
<span style="color: #ffcc00"> &lt;script&gt;</span></p>
<p><span style="color: #ffcc00">var stage;</span><br />
<span style="color: #ffcc00"> var page;</span><br />
<span style="color: #ffcc00"> var carMan;</span></p>
<p><span style="color: #ffcc00">function init()</span><br />
<span style="color: #ffcc00"> {</span><br />
<span style="color: #ffcc00"> page = document.getElementById(&#8220;canvas&#8221;);</span><br />
<span style="color: #ffcc00"> stage = new Stage(page);</span></p>
<p><span style="color: #ffcc00">var sun= new Bitmap(&#8220;sun.png&#8221;);</span><br />
<span style="color: #ffcc00"> sun.scaleX = sun.scaleY = 0.15;</span><br />
<span style="color: #ffcc00"> stage.addChild(sun);</span></p>
<p><span style="color: #ffcc00">var  tree1= new Bitmap(&#8220;tree1.png&#8221;);</span><br />
<span style="color: #ffcc00"> tree1.scaleX = tree1.scaleY = 0.4;</span></p>
<p><span style="color: #ffcc00">tree1.regY = tree1.image.height;</span><br />
<span style="color: #ffcc00"> tree1.y = 300;</span></p>
<p><span style="color: #ffcc00">stage.addChild(tree1);</span></p>
<p><span style="color: #ffcc00">var  tree2= new Bitmap(&#8220;tree2.png&#8221;);</span><br />
<span style="color: #ffcc00"> tree2.scaleX = tree2.scaleY = 0.4;</span></p>
<p><span style="color: #ffcc00">tree2.regY = tree2.image.height;</span><br />
<span style="color: #ffcc00"> tree2.y = 305;</span><br />
<span style="color: #ffcc00"> tree2.x = 300;</span><br />
<span style="color: #ffcc00"> stage.addChild(tree2);</span></p>
<p><span style="color: #ffcc00">carMan= new Bitmap(&#8220;carman.png&#8221;);</span><br />
<span style="color: #ffcc00"> carMan.scaleX = carMan.scaleY = 0.1;</span><br />
<span style="color: #ffcc00"> carMan.regY = carMan.image.height;</span><br />
<span style="color: #ffcc00"> carMan.y = 308;</span><br />
<span style="color: #ffcc00"> carMan.x = 1000;</span><br />
<span style="color: #ffcc00"> stage.addChild(carMan);</span></p>
<p><span style="color: #ffcc00">Ticker.setFPS(60);</span><br />
<span style="color: #ffcc00"> Ticker.addListener(window);</span><br />
<span style="color: #ffcc00"> //looking for a function called Tick</span><br />
<span style="color: #ffcc00"> }</span></p>
<p><span style="color: #ffcc00">function tick()</span></p>
<p><span style="color: #ffcc00">{</span><br />
<span style="color: #ffcc00"> stage.update();</span><br />
<span style="color: #ffcc00"> carMan.x-=1;</span><br />
<span style="color: #ffcc00"> }</span></p>
<p><span style="color: #ffcc00">&lt;/script&gt;</span></p>
<p><span style="color: #ffcc00">&lt;style&gt;</span><br />
<span style="color: #ffcc00"> body</span><br />
<span style="color: #ffcc00"> {</span><br />
<span style="color: #ffcc00"> background-color: rgba(209,146,95,1);</span><br />
<span style="color: #ffcc00"> }</span></p>
<p><span style="color: #ffcc00">#canvas</span><br />
<span style="color: #ffcc00"> {</span><br />
<span style="color: #ffcc00"> background-color: rgba(235,217,118,0.3);</span><br />
<span style="color: #ffcc00"> border-color:rgba(200,146,95,1);</span><br />
<span style="color: #ffcc00"> border-style: solid;</span><br />
<span style="color: #ffcc00"> border-width: 1px;</span><br />
<span style="color: #ffcc00"> }</span><br />
<span style="color: #ffcc00"> &lt;/style&gt;</span><br />
<span style="color: #ffcc00"> &lt;/head&gt;</span></p>
<p><span style="color: #ffcc00">&lt;body onload=&#8221;init();&#8221;&gt;</span><br />
<span style="color: #ffcc00"> &lt;div&gt;</span><br />
<span style="color: #ffcc00"> &lt;header&gt;</span><br />
<span style="color: #ffcc00"> &lt;h1&gt;easel_test&lt;/h1&gt;</span><br />
<span style="color: #ffcc00"> &lt;/header&gt;</span><br />
<span style="color: #ffcc00"> &lt;nav&gt;</span><br />
<span style="color: #ffcc00"> &lt;p&gt;</span><br />
<span style="color: #ffcc00"> &lt;a href=&#8221;/&#8221;&gt;Home&lt;/a&gt;</span><br />
<span style="color: #ffcc00"> &lt;/p&gt;</span><br />
<span style="color: #ffcc00"> &lt;p&gt;</span><br />
<span style="color: #ffcc00"> &lt;a href=&#8221;/contact&#8221;&gt;Contact&lt;/a&gt;</span><br />
<span style="color: #ffcc00"> &lt;/p&gt;</span><br />
<span style="color: #ffcc00"> &lt;/nav&gt;</span></p>
<p><span style="color: #ffcc00">&lt;canvas id=&#8221;canvas&#8221; width=&#8221;1024&#8243; height=&#8221;300&#8243;&gt;&lt;/canvas&gt;</span></p>
<p><span style="color: #ffcc00">&lt;footer&gt;</span><br />
<span style="color: #ffcc00"> &lt;p&gt;</span><br />
<span style="color: #ffcc00"> ..by alexS</span><br />
<span style="color: #ffcc00"> &lt;/p&gt;</span><br />
<span style="color: #ffcc00"> &lt;/footer&gt;</span><br />
<span style="color: #ffcc00"> &lt;/div&gt;</span><br />
<span style="color: #ffcc00"> &lt;/body&gt;</span><br />
<span style="color: #ffcc00"> &lt;/html&gt;</span></p>
<div>Have a play with the code and see what you can come up with!</div>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2012/01/06/javascript-animation-using-easeljs-pt-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is WebGL?</title>
		<link>http://www.highlander.co.uk/blog/2011/09/09/what-is-webgl/</link>
		<comments>http://www.highlander.co.uk/blog/2011/09/09/what-is-webgl/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 09:16:18 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Blender]]></category>
		<category><![CDATA[Blender 2.5]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[WebGL]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2240</guid>
		<description><![CDATA[I have recently been taking an interest in WebGL, so I thought I would post some information about WebGL here, and also add some links to some of the examples that I have found. What is WebGL? WebGL is a graphics library that extends JavaScript to allow it to generate some truly spectacular 3D graphics, within <a href='http://www.highlander.co.uk/blog/2011/09/09/what-is-webgl/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I have recently been taking an interest in WebGL, so I thought I would post some information about WebGL here, and also add some links to some of the examples that I have found.</p>
<p>What is WebGL? WebGL is a graphics library that extends JavaScript to allow it to generate some truly spectacular 3D graphics, within the browser, with no plug-ins needed. It uses the computer&#8217;s GPU (Graphics Processing Unit), and as such is a fairly low-level language (read: complicated).</p>
<p><a target="_blank" href="http://www.youtube.com/watch?v=R0O_9bp3EKQ" rel="nofollow">WebGL interactive water example</a> / (<a target="_blank" href="http://madebyevan.com/webgl-water/" rel="nofollow">http://madebyevan.com/webgl-water/</a>)</p>

<div class="tubepress_single_video">
        <div class="tubepress_embedded_title">WebGL Water Simulation</div>
    <iframe class="youtube-player" type="text/html" width="425" height="350" src="http://www.youtube.com/embed/R0O_9bp3EKQ?rel=0&amp;autoplay=0&amp;loop=0&amp;fs=1&amp;showinfo=0&amp;wmode=transparent&amp;hd=1" frameborder="0"></iframe>
    <dl class="tubepress_meta_group" style="width: 425px">
    <dt class="tubepress_meta tubepress_meta_runtime">Runtime</dt><dd class="tubepress_meta tubepress_meta_runtime">1:14</dd>
    <dt class="tubepress_meta tubepress_meta_views">Views</dt><dd class="tubepress_meta tubepress_meta_views">83,693</dd>
</dl>
</div>

<p>It uses the canvas element (html5) and the webgl context  of that element (if you know anything about drawing with the canvas element, the context is how you access the particular api for drawing in either 2D or WebGL).</p>
<p>You can use WebGL now in Safari, Firefox, and Chrome. But not Opera or Internet Explorer, and not on smart phones or tablets yet.</p>
<p>Although the actual language looks daunting, not only can you create superb results, but there are various JavaScript libraries that will use WebGL to render their output…</p>
<ul>
<li>scenejs (WebGL scene library) <a target="_blank" href="http://scenejs.org/" rel="nofollow">http://scenejs.org/ </a></li>
<li>processingjs (An open programming language for creating animations etc without using Java or Flash) <a target="_blank" href="http://processingjs.org/" rel="nofollow"> http://processingjs.org/</a></li>
<li>threejs (A lightweight 3D JavaScript engine that can render using the &lt;canvas&gt; tag, WebGl, or sag) <a target="_blank" href="https://github.com/mrdoob/three.js/" rel="nofollow">https://github.com/mrdoob/three.js/</a></li>
</ul>
<p>Here are some examples of WebGL in action…</p>
<p>BioDigital Human</p>
<p style="padding-left: 30px"><a target="_blank" href="http://www.biodigitalhuman.com/default.html" rel="nofollow">(http://www.biodigitalhuman.com/default.html</a>)</p>
<p> HelloRacer (using three.js)</p>
<p style="padding-left: 30px">(<a target="_blank" href="http://helloracer.com/webgl/" rel="nofollow">http://helloracer.com/webgl/</a>)</p>
<p>Interactive water example</p>
<p style="padding-left: 30px">(<a target="_blank" href="http://madebyevan.com/webgl-water/" rel="nofollow">http://madebyevan.com/webgl-water/</a>)</p>
<p>WebGL filters</p>
<p style="padding-left: 30px">(<a target="_blank" href="http://evanw.github.com/webgl-filter/" rel="nofollow">http://evanw.github.com/webgl-filter/</a>)</p>
<p>There are many more (if you know of any please let me know).</p>
<p>You can even use Blender to create a scene and output it to something that can be used by scene.js and so basically create a 3D environment in Blender for use on a web page.</p>
<p>In future posts I am going to look into these topics and see what can be created and I will be posting the results here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/09/09/what-is-webgl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Animating with CSS and JavaScript using Adobe Edge</title>
		<link>http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/</link>
		<comments>http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 16:07:05 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Adobe Edge]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2141</guid>
		<description><![CDATA[With the advent of HTML5 and CSS3, it is possible to create lovely animations using these technologies, along with JavaScript. The problem is though, you basically have to hand code everything. There is, as yet, no application that gives you a graphical interface (á la Flash) that allows you to drag and drop items, animate <a href='http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>With the advent of HTML5 and CSS3, it is possible to create lovely animations using these technologies, along with JavaScript. The problem is though, you basically have to hand code everything. There is, as yet, no application that gives you a graphical interface (á la Flash) that allows you to drag and drop items, animate them just choosing options from a menu, and so on.</p>
<p>However, in the last year or so, new applications have been appearing, that are starting to give you a drag and drop environment that allows you to do just that. Adobe has recently released a new application called Edge (in beta from only) on their labs web site (<a target="_blank" href="http://labs.adobe.com/technologies/edge/" rel="nofollow">labs.adobe.com</a>).  So now you can start animating with CSS and JavaScript using Adobe Edge, and using an interface that is drag and drop, guy etc.</p>
<p>It is a very simple application, and is still in beta stage, but it is definitely worth downloading to have a look and see what Adobe are up to.</p>
<p>To get started, just download the application, double-click to install it and open it up. It has a simple interface, you can import items easily, and each item that you import or create has its own layer in the timeline which is nice. Here is the interface…</p>
<div id="attachment_2147" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/edge-1/" rel="attachment wp-att-2147"><img class="size-medium wp-image-2147 " src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/08/edge-1-300x184.png" alt="Edge interface" width="300" height="184" /></a><p class="wp-caption-text">Edge interface</p></div>
<p>Although the importing is basic (gif/png/jpg/svg), it covers the standard web formats, and the inclusion of svg is a very nice touch.</p>
<p>You can create items, but only rectangles and rectangles with round edges, and text. That is it.</p>
<div id="attachment_2152" class="wp-caption aligncenter" style="width: 135px"><a href="http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/edge-tools/" rel="attachment wp-att-2152"><img class="size-full wp-image-2152" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/08/edge-tools.png" alt="edge tools" width="125" height="30" /></a><p class="wp-caption-text">edge tools</p></div>
<p>However animating is very easy &#8211; you can have keyframes for opacity, scaling, width, height, rotation, skewing, position, etc. And once you have added the keyframes, you can just click on the animation in the timeline and set it to one of 28 types of easing. All very easy to select and choose. You have a properties panel…</p>
<div id="attachment_2155" class="wp-caption aligncenter" style="width: 229px"><a href="http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/edge-properties/" rel="attachment wp-att-2155"><img class="size-full wp-image-2155" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/08/edge-properties.png" alt="edge properties" width="219" height="140" /></a><p class="wp-caption-text">edge properties</p></div>
<div id="attachment_2156" class="wp-caption aligncenter" style="width: 182px"><a href="http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/edge-properties2/" rel="attachment wp-att-2156"><img class="size-medium wp-image-2156" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/08/edge-properties2-172x300.png" alt="edge properties2" width="172" height="300" /></a><p class="wp-caption-text">edge properties2</p></div>
<p>…and from here you can choose to insert your keyframes for your various properties. Once you have done that, selecting an animation in the timeline then allows you to assign an easing to to it very simply…</p>
<div id="attachment_2159" class="wp-caption aligncenter" style="width: 104px"><a href="http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/edge-easing/" rel="attachment wp-att-2159"><img class="size-medium wp-image-2159" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/08/edge-easing-94x300.png" alt="edge easing" width="94" height="300" /></a><p class="wp-caption-text">edge easing</p></div>
<p>All in all I would recommend anyone with an interest in using CSS/JavaScript/HTML to animate things to download this application and take it for a spin.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/08/31/animating-with-css-and-javascript-using-adobe-edge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating interactive documents with InDesign pt6</title>
		<link>http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/</link>
		<comments>http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 08:31:10 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[InDesign]]></category>
		<category><![CDATA[Adobe InDesign]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[indesign]]></category>
		<category><![CDATA[interactivity]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=1797</guid>
		<description><![CDATA[With this part of the series we move to InDesign&#8217;s new interactive features, specifically creating animations. Before starting an interactive document, it&#8217;s worth changing your workspace to Interactive. There are a number of new panels on display including Animation, Timing, Preview, Media and Object States. We&#8217;ll use each of these in the next couple of <a href='http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>With this part of the series we move to InDesign&#8217;s new interactive features, specifically creating animations.</p>
<p>Before starting an interactive document, it&#8217;s worth changing your workspace to <em><strong>Interactive</strong></em>. There are a number of new panels on display including Animation, Timing, Preview, Media and Object States. We&#8217;ll use each of these in the next couple of articles.</p>
<div id="attachment_1800" class="wp-caption alignnone" style="width: 172px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation01/" rel="attachment wp-att-1800"><img class="size-full wp-image-1800" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation01.png" alt="Indesign interactive workspace panels" width="162" height="277" /></a><p class="wp-caption-text">InDesign interactive workspace panels</p></div>
<p>When you open a document with animated objects you will notice a new icon. InDesign cannot display animation directly so it indicates where an animation has been applied by displaying the 3 bubbles icon. This spread already has three.</p>
<div id="attachment_1801" class="wp-caption alignnone" style="width: 242px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation02/" rel="attachment wp-att-1801"><img class="size-medium wp-image-1801" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation02-232x300.png" alt="InDesign animation icon" width="232" height="300" /></a><p class="wp-caption-text">InDesign animation icon</p></div>
<p>To animate an element, select it with the black arrow tool. I&#8217;m using the LIVE heading in this case. Open the Animation panel and choose a preset from the drop-down menu. The presets are exactly the same as those supplied in Flash Professional CS5 so you can easily start your animation in InDesign and transfer to Flash Pro later. You will notice the butterfly icon appear in the preview section of this panel following the preset you have chosen.</p>
<div id="attachment_1802" class="wp-caption alignnone" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation03/" rel="attachment wp-att-1802"><img class="size-medium wp-image-1802" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation03-300x177.png" alt="InDesign animation panel" width="300" height="177" /></a><p class="wp-caption-text">InDesign animation panel</p></div>
<p>Once you have settled on a preset, you can modify its timing, looping and other attributes via the checkboxes. You may also want to expand the properties icon to modify other attributes. The selected object will now display the animation icon as well as a green arrow indicating the direction of motion.</p>
<div id="attachment_1807" class="wp-caption alignnone" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation04/" rel="attachment wp-att-1807"><img class="size-medium wp-image-1807" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation04-300x228.png" alt="InDesign motion path" width="300" height="228" /></a><p class="wp-caption-text">InDesign motion path</p></div>
<p>The next step is to tell InDesign when and how you want to run your animations. The Timing panel shows a list of all the currently animated objects. The animations occur, sequentially in the order of this panel. Notice LIVE heading is at the bottom of the stack, meaning it will animate last. To change this simply drag the object to the a new place in the list &#8211; just like ordering layers.</p>
<div id="attachment_1809" class="wp-caption alignnone" style="width: 175px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation06/" rel="attachment wp-att-1809"><img class="size-medium wp-image-1809" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation06-165x300.png" alt="InDesign Timing panel" width="165" height="300" /></a><p class="wp-caption-text">InDesign Timing panel</p></div>
<p>There are three &#8216;Fly&#8217; objects on the list. These currently run one after another which can take quite a while. To run several animations at the same time, select the objects in the list and click the chain icon in the lower right. This links the objects together and tells them to run simultaneously.</p>
<div id="attachment_1810" class="wp-caption alignnone" style="width: 175px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation07/" rel="attachment wp-att-1810"><img class="size-medium wp-image-1810" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation07-165x300.png" alt="InDesign play together mode" width="165" height="300" /></a><p class="wp-caption-text">InDesign play together mode</p></div>
<p>&nbsp;</p>
<p>Although InDesign cannot directly show the animation it is possible to preview what the final effect will look like. This can be done by opening the Preview panel. InDesign will automatically render the current page in Flash and display all the animated elements. You may want to scale the panle for the best view of the effect. You can replay the animation at any time use the player controls at the left side of the panel.</p>
<div id="attachment_1815" class="wp-caption alignnone" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/idanimation05-2/" rel="attachment wp-att-1815"><img class="size-medium wp-image-1815" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/IDanimation051-300x258.png" alt="InDesign Preview panel" width="300" height="258" /></a><p class="wp-caption-text">InDesign Preview panel</p></div>
<p>The preview panel can be used to preview just the current spread, the whole document or individual objects as desired.</p>
<p>In the next part we will examine Multi-state objects.</p>
<div class="zemanta-pixie" style="margin-top: 10px;height: 15px"><a target="_blank" class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: none;float: right" src="http://img.zemanta.com/zemified_e.png?x-id=f19c041d-18ab-4e11-b1a7-19184f048d0c" alt="Enhanced by Zemanta" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/07/08/creating-interactive-documents-with-indesign-pt6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an asteroid in Blender 2.5</title>
		<link>http://www.highlander.co.uk/blog/2011/04/21/creating-an-asteroid-in-blender-2-5/</link>
		<comments>http://www.highlander.co.uk/blog/2011/04/21/creating-an-asteroid-in-blender-2-5/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 09:39:16 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Blender]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Blender 2.5]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=1315</guid>
		<description><![CDATA[Another website I keep an eye on is Andrew Price&#8217;s website at blenderguru.com. Recently he did a lovely tutorial on creating an asteroid in Blender 2.5 and animating it… http://www.blenderguru.com/how-to-make-a-realistic-asteroid/ I recommend you have a look at his site if you are at all interested in Blender and 3D work. And here is my asteroid, <a href='http://www.highlander.co.uk/blog/2011/04/21/creating-an-asteroid-in-blender-2-5/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Another website I keep an eye on is Andrew Price&#8217;s website at blenderguru.com. Recently he did a lovely tutorial on creating an asteroid in Blender 2.5 and animating it…</p>
<p><a target="_blank" href="http://www.blenderguru.com/how-to-make-a-realistic-asteroid/" rel="nofollow">http://www.blenderguru.com/how-to-make-a-realistic-asteroid/</a></p>
<p>I recommend you have a look at his site if you are at all interested in Blender and 3D work. And here is my asteroid, created by following his example…</p>
<p><a href="http://www.highlander.co.uk/blog/files/2011/04/asteroid30.png"><img class="aligncenter size-medium wp-image-1317" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/asteroid30-300x1681.png" alt="An asteroid created using Blender 2.5" width="300" height="168" /></a></p>
<p>…and here is the timelapse movie showing the steps that i took…</p>

<div class="tubepress_single_video">
        <div class="tubepress_embedded_title">Making an Asteroid</div>
    <iframe class="youtube-player" type="text/html" width="425" height="350" src="http://www.youtube.com/embed/xxpLBgyXcv0?rel=0&amp;autoplay=0&amp;loop=0&amp;fs=1&amp;showinfo=0&amp;wmode=transparent&amp;hd=1" frameborder="0"></iframe>
    <dl class="tubepress_meta_group" style="width: 425px">
    <dt class="tubepress_meta tubepress_meta_runtime">Runtime</dt><dd class="tubepress_meta tubepress_meta_runtime">0:58</dd>
    <dt class="tubepress_meta tubepress_meta_views">Views</dt><dd class="tubepress_meta tubepress_meta_views">123</dd>
</dl>
</div>

<p>… and here is the final animation (not perfect by any means) that I created…</p>

<div class="tubepress_single_video">
        <div class="tubepress_embedded_title">asteroid animation</div>
    <iframe class="youtube-player" type="text/html" width="425" height="350" src="http://www.youtube.com/embed/YR5ZFSnWEVg?rel=0&amp;autoplay=0&amp;loop=0&amp;fs=1&amp;showinfo=0&amp;wmode=transparent&amp;hd=1" frameborder="0"></iframe>
    <dl class="tubepress_meta_group" style="width: 425px">
    <dt class="tubepress_meta tubepress_meta_runtime">Runtime</dt><dd class="tubepress_meta tubepress_meta_runtime">0:13</dd>
    <dt class="tubepress_meta tubepress_meta_views">Views</dt><dd class="tubepress_meta tubepress_meta_views">64</dd>
</dl>
</div>

<p>I haven&#8217;t sorted out any collisions between the small asteroids and the large one, but overall I am quite pleased with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/04/21/creating-an-asteroid-in-blender-2-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive publications designed with InDesign CS5</title>
		<link>http://www.highlander.co.uk/blog/2011/03/28/interactive-publications-designed-with-indesign-cs5/</link>
		<comments>http://www.highlander.co.uk/blog/2011/03/28/interactive-publications-designed-with-indesign-cs5/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 08:31:43 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[InDesign]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[indesign]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=1305</guid>
		<description><![CDATA[As a companion to my series on creating Interactive documents with InDesign, I&#8217;m going to highlight some of the more interesting work being done commercially with InDesign. The first example is Born Presents created by designers Belle &#38; Wissell. Born Presents is an electronic publication celebrating 14 years of Born Magazine. The sample is located <a href='http://www.highlander.co.uk/blog/2011/03/28/interactive-publications-designed-with-indesign-cs5/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>As a companion to my series on creating Interactive documents with InDesign, I&#8217;m going to highlight some of the more interesting work being done commercially with InDesign.<br />
The first example is <a target="_blank" title="Born magazine" href="http://www.adobe.com/cfusion/showcase/index.cfm?event=casestudydetail&amp;casestudyid=1087920&amp;loc=en_us" target="_blank"><strong>Born Presents</strong></a> created by designers Belle &amp; Wissell.<br />
<strong>Born Presents</strong> is an electronic publication celebrating 14 years of Born Magazine. The sample is located in <a target="_blank" title="Adobe showcase area" href="http://www.adobe.com/cfusion/showcase/index.cfm" target="_blank">Adobe&#8217;s showcase gallery</a>.</p>
<div class="wp-caption alignnone" style="width: 492px"><img src="http://www.adobe.com/showcase/casestudies/bellewissell/screenshot2.jpg" alt="Image of Born Presents magazine" width="482" height="307" /><p class="wp-caption-text">Born Presents Magazine by Belle &amp; Wissell</p></div>
<p>Belle &amp; Wissell used InDesign CS5 to create an immersive, animated publication which is both beautiful to look at and intriguing and satisfying to read. The publication makes extensive use of InDesign&#8217;s animation features to make fade-ins, pop-ups, hovers, embedded video, buttons, hyperlinks and electronic navigation.</p>
<div class="wp-caption alignnone" style="width: 492px"><img src="http://www.adobe.com/showcase/casestudies/bellewissell/screenshot1.jpg" alt="Image of detail from Born Magazine" width="482" height="307" /><p class="wp-caption-text">Illustration detail from Born Presents</p></div>
<p>Perhaps the most interesting aspect of all this is that you can also download the source InDesign documents from the project. I use this in InDesign Interactivity training sessions and it&#8217;s always interesting to see how delegates take apart the source files to find out what techniques they can use in their own work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/03/28/interactive-publications-designed-with-indesign-cs5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive guide to InDesign CS5 shortcuts</title>
		<link>http://www.highlander.co.uk/blog/2011/02/27/interactive-guide-to-indesign-cs5-shortcuts/</link>
		<comments>http://www.highlander.co.uk/blog/2011/02/27/interactive-guide-to-indesign-cs5-shortcuts/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 10:32:19 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[InDesign]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[indesign]]></category>
		<category><![CDATA[interactivity]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=1245</guid>
		<description><![CDATA[As a brief interlude from my InDesign interactivity series, here&#8217;s a very timely example of just what you can do with InDesign CS5&#8242;s new interactivity features. Marijan Tompa has created this flash based utility which demonstrates all of InDesign&#8217;s keyboard shortcuts. Hover over a key to see a summary of the shortcuts attached. Click on <a href='http://www.highlander.co.uk/blog/2011/02/27/interactive-guide-to-indesign-cs5-shortcuts/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>As a brief interlude from my InDesign interactivity series, here&#8217;s a very timely example of just what you can do with InDesign CS5&#8242;s new interactivity features. Marijan Tompa has created this<a target="_blank" href="http://webarena.rs/InDesignShortcutsGuide/"> flash based utility </a>which demonstrates all of InDesign&#8217;s keyboard shortcuts.</p>
<div id="attachment_1246" class="wp-caption alignnone" style="width: 310px"><a href="http://www.highlander.co.uk/blog/files/2011/02/Screen-shot-2011-02-27-at-10.19.05.png"><img class="size-medium wp-image-1246" src="http://www.highlander.co.uk/blog/files/2011/02/Screen-shot-2011-02-27-at-10.19.05-300x141.png" alt="screen shot of indesign interactive keyboard by Marijan Tompa" width="300" height="141" /></a><p class="wp-caption-text">Indesign interactive keyboard</p></div>
<p>Hover over a key to see a summary of the shortcuts attached. Click on it to get a pop up screen showing more detailed information.</p>
<div id="attachment_1249" class="wp-caption alignnone" style="width: 310px"><a href="http://www.highlander.co.uk/blog/files/2011/02/Screen-shot-2011-02-27-at-10.20.04.png"><img class="size-medium wp-image-1249" src="http://www.highlander.co.uk/blog/files/2011/02/Screen-shot-2011-02-27-at-10.20.04-300x138.png" alt="Screenshopt of Indesign keyboard shortcut details screen" width="300" height="138" /></a><p class="wp-caption-text">Indesign keyboard shortcut details screen</p></div>
<p>The interesting point about this, quite apart from the impressive end result, is that all of this functionality (fade-ins, hovers, pop ups etc) can be generated from within InDesign CS5 without the need for Flash or Action script skills. I&#8217;ll be looking into these features in a future part of this series.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/02/27/interactive-guide-to-indesign-cs5-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The McGurk effect</title>
		<link>http://www.highlander.co.uk/blog/2010/12/07/the-mcgurk-effect/</link>
		<comments>http://www.highlander.co.uk/blog/2010/12/07/the-mcgurk-effect/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 15:11:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[illusions]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=885</guid>
		<description><![CDATA[The McGurk effect is basically when what you are seeing overrides what you are hearing. For example, you are hearing one sound, but the brain receives (at the same time) some visual information and decides to override the auditory information and your brain &#8216;hears&#8217; another sound. The sound itself never changes, it is just your <a href='http://www.highlander.co.uk/blog/2010/12/07/the-mcgurk-effect/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>The McGurk effect is basically when what you are seeing overrides what you are hearing.<br />
For example, you are hearing one sound, but the brain receives (at the same time) some visual information and decides to override the auditory information and your brain &#8216;hears&#8217; another sound. The sound itself never changes, it is just your brain making the change.<br />
Here is a great video showing you the effect. Watch this and see what you think, and also listen but close your eyes at the same time and you will see that the effect goes away &#8211; really amazing!<br />
This has implications for animation, but it is really fun to watch!</p>
No matching videos
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2010/12/07/the-mcgurk-effect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The World Construction Kit</title>
		<link>http://www.highlander.co.uk/blog/2010/09/23/the-world-construction-kit/</link>
		<comments>http://www.highlander.co.uk/blog/2010/09/23/the-world-construction-kit/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 09:27:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Box2DFlash]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Flash CS5]]></category>
		<category><![CDATA[wck]]></category>
		<category><![CDATA[World Construction Kit]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=446</guid>
		<description><![CDATA[In the past, when looking for physics simulations in Actionscript 3, I used Box2DFlash. Although it worked very well, the problem was the documentation.  It was terrible, and it would take me days to work something out and go through various examples, most of which didn&#8217;t apply to the latest version of Box2DFlash, but they <a href='http://www.highlander.co.uk/blog/2010/09/23/the-world-construction-kit/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>In the past, when looking for physics simulations in Actionscript 3, I used Box2DFlash. Although it worked very well, the problem was the documentation.  It was terrible, and it would take me days to work something out and go through various examples, most of which didn&#8217;t apply to the latest version of Box2DFlash, but they were the only examples around.</p>
<p>Eventually I managed get a simple structure together, various boxes moving, bouncing and being able to be controlled by a mouse. I will eventually blog about the example I created as I think it will be a useful exercise for people usingBox2DFlash and for people who wish to see just what is possible in Actionscript 3.</p>
<p>However, when I started to get into more involved structures, joints, pulleys, etc &#8211; things rapidly wnet from bad to worse.  I just did not have the time to go through the morass of outdated tutorials and incorrect information.</p>
<p>Recently I found the World Construction Kit (WCK) &#8211; this a Flash port. It is a component framework for the Box2D Flash Alchemy Port, which allows 2D physics simulations for games / websites to be authored entirely within the Flash IDE.  Whereas, previously I would do everything in Flash Builder, now I can use Flash CS5.</p>
<p>I would also be able to use this in Flash Builder I assume, but I will try that another time. For now I thought I would put together a little example in Flash CS5 and see how easy it is compared to what I did before.</p>
<p>First off a few links…</p>
<p>This is the overview of the World Construction Kit…</p>
<p style="padding-left: 30px"><a target="_blank" rel="nofollow" href="https://github.com/jesses/wck/wiki/world-construction-kit">http://wiki.github.com/jesses/wck/world-construction-kit</a></p>
<p>Download all the files from here…</p>
<p style="padding-left: 30px"><a target="_blank" rel="nofollow" href="https://github.com/jesses/wck">http://github.com/jesses/wck</a></p>
<p>Step by step guide for setting up a simple example here…</p>
<p style="padding-left: 30px"><a target="_blank" rel="nofollow" href="https://github.com/jesses/wck/wiki/step-by-step-wck-quick-start-guide">http://wiki.github.com/jesses/wck/step-by-step-wck-quick-start-guide</a></p>
<p>I basically followed the step-by-step guide, so I will not re-create the whole set of instructions, but what I will do is give you screenshots of what you need to create and what you end up with.</p>
<p>Firstly, this what you end up with when you download your source files…</p>
<div id="attachment_488" class="wp-caption aligncenter" style="width: 187px"><a href="http://www.highlander.co.uk/blog/files/2010/09/dl-files.jpg"><img class="size-medium wp-image-488" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/dl-files-177x300.jpg" alt="downloaded files" width="177" height="300" /></a><p class="wp-caption-text">These are the files you see when you download and uncompress the source files</p></div>
<p>Next create a project folder, and create a test fla &#8211; I am using Flash CS5.  Inside that create a wck-lib folder and copy over the following…</p>
<div id="attachment_490" class="wp-caption aligncenter" style="width: 196px"><a href="http://www.highlander.co.uk/blog/files/2010/09/project-folder.jpg"><img class="size-medium wp-image-490" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/project-folder-186x300.jpg" alt="project folder" width="186" height="300" /></a><p class="wp-caption-text">This is the test project folder with all the source files copied over</p></div>
<p>Once that is done, go back to Flash and look at your fla. You need to create the following…</p>
<div id="attachment_493" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/files/2010/09/wck-test-notes.jpg"><img class="size-medium wp-image-493" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/wck-test-notes-300x147.jpg" alt="wck test file setup" width="300" height="147" /></a><p class="wp-caption-text">World Construction Kit setup</p></div>
<p>Basically you have one MovieClip set up as your world…</p>
<div id="attachment_494" class="wp-caption aligncenter" style="width: 267px"><a href="http://www.highlander.co.uk/blog/files/2010/09/world-setup.jpg"><img class="size-medium wp-image-494" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/world-setup-257x300.jpg" alt="world setup" width="257" height="300" /></a><p class="wp-caption-text">World MovieClip setup</p></div>
<p>Then you create another MovieClip that you will use as your objects within your world. These will be draggable (or not) and can act as walls, etc.</p>
<div id="attachment_495" class="wp-caption aligncenter" style="width: 267px"><a href="http://www.highlander.co.uk/blog/files/2010/09/Rectangle1-setup.jpg"><img class="size-medium wp-image-495" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/Rectangle1-setup-257x300.jpg" alt="Rectangle1 setup" width="257" height="300" /></a></p>
<p><p class="wp-caption-text">Rectangle1 MovieClip setup</p></div>
<p>This MovieClip also needs to have its Component Definition set (just RMB click on the item within the Library)…</p>
<div id="attachment_497" class="wp-caption aligncenter" style="width: 293px"><a href="http://www.highlander.co.uk/blog/files/2010/09/Rectangle1-component-definition1.jpg"><img class="size-medium wp-image-497" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/Rectangle1-component-definition1-283x300.jpg" alt="Rectangle1 component definition" width="283" height="300" /></a><p class="wp-caption-text">Rectangle1 component definition</p></div>
<p>Once this is all done you will have a world created within your fla file, and inside it are your rectangles, one of which will act as your floor. If you were to save and test your file straight away, however, you will notice that both objects fall away &#8211; this is because both are set as dynamic objects.  The object acting as your floor (or wall, etc) needs to be set as a static object.  This is done through the Properties panel…</p>
<div id="attachment_499" class="wp-caption aligncenter" style="width: 91px"><a href="http://www.highlander.co.uk/blog/files/2010/09/instance-properties.jpg"><img class="size-medium wp-image-499" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/instance-properties-81x300.jpg" alt="instance properties" width="81" height="300" /></a><p class="wp-caption-text">Instance properties</p></div>
<p>At the bottom are where you set the types…</p>
<div id="attachment_500" class="wp-caption aligncenter" style="width: 119px"><a href="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/instance-types.jpg"><img class="size-full wp-image-500" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/instance-types.jpg" alt="instance types" width="109" height="86" /></a><p class="wp-caption-text">Instance types</p></div>
<p>Once set to static, if you then save and test your file you will see one rectangle fall to the floor, the floor stays where it is, and the object can then be moved and thrown with the mouse.</p>
<p>Overall, I found the experience of setting up and working with wck very easy and enjoyable.  I am very impressed with the setup, and the ease with which I could create things. It took maybe half-an-hour of reading and testing to get this simple example working.</p>
<p>The only thing I have noticed is that when I am throwing things around, they sometimes go through other objects, rather than properly colliding &#8211; but this I suspect is down to the values of my settings, things like gravity, friction, restitution, etc. These I will play around with in another post.</p>
<p>My next example will be to see how easy it will be to make various joints and pulleys etc.</p>
<p>A few points…</p>
<p style="padding-left: 30px">the document class is wck.WCK</p>
<p style="padding-left: 30px">you also need to set the following Source and Library paths…</p>
<p style="padding-left: 30px">
<div class="mceTemp mceIEcenter" style="padding-left: 30px">
<dl>
<dt><a href="http://www.highlander.co.uk/blog/files/2010/09/Library-path.jpg"><img class="size-medium wp-image-504" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/Library-path-225x300.jpg" alt="Library path" width="225" height="300" /></a></dt>
<dd>Library path</dd>
</dl>
</div>
<p style="padding-left: 30px">
<div class="mceTemp mceIEcenter" style="padding-left: 30px">
<dl>
<dt><a href="http://www.highlander.co.uk/blog/files/2010/09/Source-path.jpg"><img class="size-medium wp-image-505" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/Source-path-225x300.jpg" alt="Source path" width="225" height="300" /></a></dt>
<dd>Source path</dd>
</dl>
</div>
<p style="padding-left: 30px">
<p style="padding-left: 30px">
<p style="padding-left: 30px">When creating new symbols, make sure that the registration point is in the centre &#8211; Box2D uses the centre point of an object for its calculations</p>
<p style="padding-left: 30px">The world symbol has a Linkage set to wck.World &#8211; all your other objects should exist within an instance of this symbol on the stage</p>
<p style="padding-left: 30px">The box symbols (Rectangle1 in this example) have a Linkage set to shapes.Box</p>
<p style="padding-left: 30px">The Rectangle1 symbol in the Library also has its Component Definition class set to wck.BodyShape</p>
<p>The great thing about this setup is that I can drag out the requisite symbol as many times as I like and position them how I like and change their properties very easily.  Each symbol can also have its own class for me to add whatever behaviours I wish. Very easy.</p>
<p style="padding-left: 30px">
<p>Here are the source files for you to play around with- let me know what you think.</p>
<p><a href="http://www.highlander.co.uk/blog/files/2010/09/wck-test.zip">wck test files</a></p>
<p>Try adding some more walls etc and see what you can do just by throwing around your objects!</p>
<p>Here is the first example that I created…</p>
<p><a href="http://www.highlander.co.uk/blog/files/2010/09/wck-test.swf">wck test1</a></p>
<p>…and here is the second version, I have just added some walls and a ceiling and another object …</p>
<p><a href="http://www.highlander.co.uk/blog/files/2010/09/wck-test2.swf">wck test2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2010/09/23/the-world-construction-kit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing &#8211; come along for the ride</title>
		<link>http://www.highlander.co.uk/blog/2010/01/06/processing-come-along-for-the-ride/</link>
		<comments>http://www.highlander.co.uk/blog/2010/01/06/processing-come-along-for-the-ride/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 10:06:39 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[DreamWeaver]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[computational art]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=81</guid>
		<description><![CDATA[Like a lot of people, I suspect, I tend to buy books, download source files, and squirrel them away somewhere, saying to myself &#8211; I will read them, I will go through the files &#8211; and, inevitably, you don&#8217;t. However, this being a new year and all, I thought in order to push myself to <a href='http://www.highlander.co.uk/blog/2010/01/06/processing-come-along-for-the-ride/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Like a lot of people, I suspect, I tend to buy books, download source files, and squirrel them away somewhere, saying to myself &#8211; I will read them, I will go through the files &#8211; and, inevitably, you don&#8217;t.</p>
<p>However, this being a new year and all, I thought in order to push myself to learn something new, why not blog about it and take everybody along for the ride.</p>
<p>And for this purpose I have chosen to learn Processing &#8211; and I have also chosen to start with this book…</p>
<p>The Essential Guide to processing for Flash developers</p>
<p>By <a target="_blank" title="view Ira Greenberg’s biography" href="http://www.apress.com/9781430219798">Ira Greenberg</a></p>
<p>…I bought this book in pdf format from the <a target="_blank" rel="nofollow" href="http://www.apress.com/9781430219798" target="_blank">friendsofed</a> website recently and I will use it to to start the whole thing off &#8211; I plan to blog my experiments, problems, thoughts, etc for you all to see. I will be using an iMac 3.06 Intel Core 2 Duo, 4 Gb ram, running Snow Leopard (10.6.2).</p>
<p>Why did I choose to learn Processing? Because the artwork coming out from some people looks fantastic and it looks to be fun. Processing itself is free, and although I have yet to get to grips with the code for Processing, it is based on java, and actionscript/javascript are similar, so I am hoping it will not be too much of a headache to learn.</p>
<p>Here is the main processing website…</p>
<p><a target="_blank" rel="nofollow" href="http://processing.org/" target="_blank">http://processing.org/</a></p>
<p>Have a look around there and you will see what I mean.</p>
<p>Bye for now and expect to see my first experiment soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2010/01/06/processing-come-along-for-the-ride/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

