<?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; Alex</title>
	<atom:link href="http://www.highlander.co.uk/blog/author/alex/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>JavaScript animation &#8211; using EaselJS</title>
		<link>http://www.highlander.co.uk/blog/2011/12/21/javascript-animation-using-easeljs/</link>
		<comments>http://www.highlander.co.uk/blog/2011/12/21/javascript-animation-using-easeljs/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 22:55:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2642</guid>
		<description><![CDATA[Animating with JavaScript is relatively easy, however if you are used to ActionScript 3 it can be particularly painful to go back to learn how JavaScript does things, compared to how AS3 does things. Enter EaselJS. This is a new JavaScript library that aims to make animating and controlling objects within a web page easy <a href='http://www.highlander.co.uk/blog/2011/12/21/javascript-animation-using-easeljs/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Animating with JavaScript is relatively easy, however if you are used to ActionScript 3 it can be particularly painful to go back to learn how JavaScript does things, compared to how AS3 does things. Enter EaselJS. This is a new JavaScript library that aims to make animating and controlling objects within a web page easy &#8211; particularly if you are used to AS3.</p>
<p>It is built by Grant Skinner and can be found here…</p>
<p><a target="_blank" href="http://easeljs.com/" rel="nofollow" target="_blank">http://easeljs.com/</a></p>
<p>In this series of tutorials I aim to investigate  JavaScript animation using EaselJS and see just exactly how easy it is to use and what it can do. At the moment my development environment is AptanaStudio3, but you can of course use DreamWeaver or any other IDE that you wish.</p>
<p>First download EaselJS and find the easel.js file (it should be in the lib folder) and install that in the directory of your choice. Then create a new html file and open it up. I will be creating html5 pages, and using the canvas tag, so all my animation and drawing will be done within a canvas tag with the id of canvas. For today&#8217;s post I will just create some text and insert it into my element, but in further posts I will bring in graphics and start to animate them. Bear in mend that EaselJS is built to deliberately mimic (loosely) ActionScript&#8217;s display list.</p>
<p>Within your html page link to the easel.js file…</p>
<p><span style="color: #339966">&lt;script src<strong>=</strong>&#8220;easel.js&#8221;&gt;&lt;/script&gt;</span></p>
<p>Within your html add the following…</p>
<p><span style="color: #339966">&lt;canvas id<strong>=</strong>&#8220;canvas&#8221; width<strong>=</strong>&#8220;1024&#8243; height<strong>=</strong>&#8220;768&#8243;&gt;&lt;/canvas&gt;</span></p>
<p>Now, when I first started playing around with this, I initially put a css rule like so…</p>
<p><span style="color: #339966">#canvas</span><br />
<span style="color: #339966"> <strong>{<br />
</strong>  background-color<strong>:</strong> rgba(235<strong>,</strong>217<strong>,</strong>118<strong>,</strong>0.3)<strong>;<br />
</strong>  width:1024px;</span><br />
<span style="color: #339966">  height:768px;</span><br />
<span style="color: #339966"> <strong>}</strong></span></p>
<p>…and I left out the inline styling. This had the unfortunate effect of scaling all the canvas elements and making them look awful. So put your width and height inline and your objects will display fine.</p>
<p>Once you have set your html page you just have to write something like…</p>
<p><span style="color: #339966">&lt;script&gt; </span></p>
<p><span style="color: #339966"><strong>function </strong>init<strong>()<br />
</strong>{</span><br />
<span style="color: #339966"><strong>  var </strong>canvas = document.getElementById(&#8220;canvas&#8221;);</span><br />
<span style="color: #339966"><strong>  var </strong>text = new Text(&#8220;Hello!&#8221;,&#8221;bold 12pt Courier&#8221;,&#8221;#fff&#8221;);</span><br />
<span style="color: #339966"><strong>  var </strong>stage = new Stage(canvas);</span><br />
<span style="color: #339966">  stage.addChild(text);</span><br />
<span style="color: #339966">  text.y = 50.5;</span><br />
<span style="color: #339966">  text.x = 10.5;</span><br />
<span style="color: #339966">  stage.update();</span><br />
<span style="color: #339966">} </span></p>
<p><span style="color: #339966">&lt;/script&gt;</span></p>
<p>This function I called from the body using onload…</p>
<p><span style="color: #339966">&lt;body onload<strong>=</strong>&#8220;init();&#8221;&gt;</span></p>
<p>…and here is the result…</p>
<div id="attachment_2722" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/?attachment_id=2722" rel="attachment wp-att-2722" class="broken_link"><img class="size-medium wp-image-2722" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/12/easel-test1-300x138.png" alt="easel test1" width="300" height="138" /></a><p class="wp-caption-text">easel test1</p></div>
<p>Nothing complicated, but very easy to create. Just a couple of points though…</p>
<p>1] We are creating pixels, not vectors<br />
2] As a result this is not text, it is not selectable and they are not objects that we can control &#8211; it is just one block of pixels.</p>
<p>Looking at the JavaScript code you can see how similar it is to AS3. First we have to get the element that we are writing in using getElementById, and then we create a new Text object. Again the options are very straightforward. For the full documentation check here…</p>
<p><a target="_blank" href="http://easeljs.com/docs/Text.html" rel="nofollow" target="_blank">http://easeljs.com/docs/Text.html </a></p>
<p>As you can see the Text object has three [optional] arguments &#8211; the text to display, the font to display, and the colour to use. What is nice is that you can use standard CSS for the font and colour arguments. Once you have set up the Text object, just create a stage, and pass it the canvas id, telling EaselJS that the stage is the canvas element. Once all that is done you display the Text object by using addChild(). The stage before means add the child to the stage, and within the parentheses is the object to add, our text object. Obviously you can do this multiple times and you can also position the text object by using its x and y properties.</p>
<p>All-in-all I find this library very easy to use, particularly as I have a lot of AS3 experience and it quite often drives me nuts trying to find a way in JavaScript to do what I normally do in AS3. The library is easy to use, and, especially when we come to animation, fun. Later on in this series we will also cover SoundJS and TweenJS, two sister libraries for playing with sounds and tweening.</p>
<p>In the next post of this series I will show you how to load graphics into the canvas element and animate them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/12/21/javascript-animation-using-easeljs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Landscapes created in Blender</title>
		<link>http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/</link>
		<comments>http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 11:20:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Blender]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Blender 2.5]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Landscapes]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2468</guid>
		<description><![CDATA[Just a quick post to show you some of the landscapes that I have been creating in Blender recently. I have been going through the Nature Academy series of courses (which you have to pay for, it is closed now but I believe it will re-open soon), created by Andrew Price (at blenderguru.com). Andrew Price <a href='http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick post to show you some of the landscapes that I have been creating in Blender recently. I have been going through the Nature Academy series of courses (which you have to pay for, it is closed now but I believe it will re-open soon), created by Andrew Price (at <a target="_blank" href="http://www.blenderguru.com/" rel="nofollow">blenderguru.com</a>).</p>
<p>Andrew Price has created some fantastic tutorials, and I would heartily recommend that you check out his web site. His latest offering, the Nature Academy series, is all about creating natural landscapes &#8211; rocks, trees, grass, lakes, mountains, and so on. Each tutorial (and I am only half way through so far) is chock full of interesting techniques. I have found it invaluable going through the process several times in order to create landscapes in Blender &#8211; even though each landscape is different.</p>
<p>So here are some of my efforts so far…</p>
<p>&nbsp;</p>
<div class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/grass20/" rel="attachment wp-att-2472"><img class="size-medium wp-image-2472" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/10/grass20-300x168.png" alt="Grass landscape in Blender" width="300" height="168" /></a></dt>
</dl>
<dl>
<dt><p class="wp-caption-text">Grass landscape</p></div>
<div id="attachment_2474" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/rock10/" rel="attachment wp-att-2474"><img class="size-medium wp-image-2474" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/10/rock10-300x168.png" alt="Rock landscape in Blender" width="300" height="168" /></a><p class="wp-caption-text">Rock landscape</p></div>
<p>&nbsp;</p>
<div id="attachment_2473" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/plant31/" rel="attachment wp-att-2473"><img class="size-medium wp-image-2473" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/10/plant31-300x168.png" alt="Plant landscape" width="300" height="168" /></a><p class="wp-caption-text">Plant landscape</p></div>
<div id="attachment_2475" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/tree22/" rel="attachment wp-att-2475"><img class="size-medium wp-image-2475" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/10/tree22-300x168.png" alt="Tree example" width="300" height="168" /></a><p class="wp-caption-text">Tree example</p></div>
<p>The only downside is that I keep on tweaking and tweaking, and saying to myself just a little change here, add some more there &#8211; it takes a real effort for me to say Stop! &#8211; scene finished <img src='http://www.highlander.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/10/15/landscapes-created-in-blender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which web technologies?</title>
		<link>http://www.highlander.co.uk/blog/2011/10/03/which-web-technologies/</link>
		<comments>http://www.highlander.co.uk/blog/2011/10/03/which-web-technologies/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 10:00:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[HTML5 apps]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[WebGL]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2388</guid>
		<description><![CDATA[In a flash class recently I was asked which technologies some one needs to be aware of and competent with when dealing with web design. In answer I quickly knocked a simple ideas chart to showcase which web technologies you need to know, and also some notes about where things are/were and where they are <a href='http://www.highlander.co.uk/blog/2011/10/03/which-web-technologies/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>In a flash class recently I was asked which technologies some one needs to be aware of and competent with when dealing with web design. In answer I quickly knocked a simple ideas chart to showcase which web technologies you need to know, and also some notes about where things are/were and where they are going…</p>
<div id="attachment_2389" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/10/03/which-web-technologies/web-tech/" rel="attachment wp-att-2389"><img class="size-medium wp-image-2389" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/12/web-tech-300x164.png" alt="Which web technologies" width="300" height="164" /></a><p class="wp-caption-text">Which web technologies</p></div>
<p>The big thing of course is html5 and Flash. As you can see from the diagram, everything Flash can do (broadly speaking) can be done in HTML5, with the caveat that HTML5 covers CSS3/JavaScript/HTML5 and things like WebGL.</p>
<p>The main sticking point at the moment is that Flash is a GUI and there really is no GUI that covers the things in HTML5, however, things are changing! The next year or so is going to be very interesting as regards HTML5 and web design I feel.</p>
<p>To show just how, here are some links to some of the newcomers that will help you animate and draw using HTML5 technologies…</p>
<p style="padding-left: 30px">Adobe Edge (beta) - <a target="_blank" href="http://labs.adobe.com/" rel="nofollow">http://labs.adobe.com/</a></p>
<p style="padding-left: 30px">Wallaby &#8211; for converting your Flash files into html &#8211; very basic, but interesting - <a target="_blank" href="http://labs.adobe.com/" rel="nofollow">http://labs.adobe.com/</a></p>
<p>The following are not HTML5 specific, but I think are well worth mention in their own right as they make life very easy for design and sketching out your web pages…</p>
<p style="padding-left: 30px">Balsamiq - <a target="_blank" href="http://balsamiq.com/" rel="nofollow">http://balsamiq.com/</a></p>
<p style="padding-left: 30px">Napkee - <a target="_blank" href="http://www.napkee.com/" rel="nofollow">http://www.napkee.com/</a></p>
<p>Do not forget of course that we are also talking about using HTML5 to creating some fantastic tablet and smartphone apps, so do not think of just web pages, but also iPad and iPhone apps as well. Have a look at these web-based apps…</p>
<p style="padding-left: 30px">scribd - <a target="_blank" href="http://www.scribd.com/" rel="nofollow">http://www.scribd.com/</a></p>
<p style="padding-left: 30px">aviary - <a target="_blank" href="http://www.aviary.com/" rel="nofollow">http://www.aviary.com/</a></p>
<p style="padding-left: 30px">google body - <a target="_blank" href="http://bodybrowser.googlelabs.com/" rel="nofollow">http://bodybrowser.googlelabs.com/</a></p>
<p style="padding-left: 30px">CSS3maker - <a target="_blank" href="http://www.css3maker.com/" rel="nofollow">http://www.css3maker.com/</a></p>
<p>…and so on. There are many apps out there, with more coming. Let me know if you have come across any interesting ones and I will add them to the list.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</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=1d8b8cee-15ea-46e6-a307-260c2a2abae3" alt="Enhanced by Zemanta" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/10/03/which-web-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning three.js</title>
		<link>http://www.highlander.co.uk/blog/2011/09/23/learning-three-js/</link>
		<comments>http://www.highlander.co.uk/blog/2011/09/23/learning-three-js/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 17:01:45 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Three.js]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[WebGL]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2335</guid>
		<description><![CDATA[In my foray into the world of WebGL, I came across three.js, a JavaScript library for doing 3D in a web browser, with no plug-ins needed. It can render in three types &#8211; WebGL, SVG, or directly into the canvas. So I thought I would go through Three.js and see how easy it is to <a href='http://www.highlander.co.uk/blog/2011/09/23/learning-three-js/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>In my foray into the world of WebGL, I came across three.js, a JavaScript library for doing 3D in a web browser, with no plug-ins needed. It can render in three types &#8211; WebGL, SVG, or directly into the canvas. So I thought I would go through Three.js and see how easy it is to create a 3D scene. So, in this my first post into learning Three.js I will just create a simple shape &#8211; a sphere.</p>
<p>In the first few examples I will stick to very simple code, so as to make it easy to concentrate on the actual important stuff &#8211; Three.js. So I will not be using JQuery, and I will not be using any other libraries  - just Three.js. Eventually I will introduce some more libraries for particular purposes, but for now, all you need is to care a simple html page, and download the three.js library and link to it. You can download the library from here…</p>
<p><a target="_blank" href="https://github.com/mrdoob/three.js" rel="nofollow">https://github.com/mrdoob/three.js</a></p>
<p>You will also need a WebGL enabled browser &#8211; basically the latest version of Chrome, Safari, or FireFox should do. If you are not sure if your browser can run WebGL, go to this website…</p>
<p><a target="_blank" href="http://webglreport.sourceforge.net/" rel="nofollow">http://webglreport.sourceforge.net/</a></p>
<p>…this will tell if you can run WebGL. Once you have a browser that can run WebGL, load up a simple web page and get ready to code. This is what we are going to create…</p>
<div id="attachment_2368" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/09/23/learning-three-js/simple-sphere/" rel="attachment wp-att-2368"><img class="size-medium wp-image-2368" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/12/simple-sphere-300x298.png" alt="simple sphere" width="300" height="298" /></a><p class="wp-caption-text">simple sphere</p></div>
<p>Here is a simple html setup for this example…</p>
<p><span style="color: #ff0000">&lt;!DOCTYPE HTML&gt;</span><br />
<span style="color: #ff0000"> &lt;html lang<strong>=</strong>&#8220;en&#8221;&gt;</span><br />
<span style="color: #ff0000"> &lt;head&gt;</span><br />
<span style="color: #ff0000"> &lt;title&gt;Three js example 1&lt;/title&gt;</span><br />
<span style="color: #ff0000"> &lt;meta charset<strong>=</strong>&#8220;utf-8&#8243;&gt;</span></p>
<p><span style="color: #ff0000">&lt;script type<strong>=</strong>&#8220;text/javascript&#8221; src<strong>=</strong>&#8220;js/libs/Three.js&#8221;&gt;&lt;/script&gt;</span></p>
<p><span style="color: #ff0000">&lt;/head&gt;</span><br />
<span style="color: #ff0000"> &lt;body&gt;</span><br />
<span style="color: #ff0000"> &lt;div id<strong>=</strong>&#8220;myshape&#8221;&gt;&lt;/div&gt;</span><br />
<span style="color: #ff0000"> &lt;script&gt;&lt;/script&gt;</span></p>
<p><span style="color: #ff0000">&lt;/body&gt;</span><br />
<span style="color: #ff0000"> &lt;/html&gt;</span></p>
<p>…it is HTML5, but any simple html code will do. We have linked at the top to the Three.js library, and we will be writing our code in the script tag lower down the page. There are a lot of very good examples (much more advanced) at the Three.js site, so have a look and see exactly what it is capable of, but at the moment we will start very simply. I have adapted this example from various sources, and simplified it to make it more understandable. So, on to the JavaScript.</p>
<p>First we need to set up some variables…</p>
<p><span style="color: #ff0000"><strong>var </strong>myworld;//this holds the element that we will use to draw in</span><br />
<span style="color: #ff0000"> //this sets the canvas size.</span><br />
<span style="color: #ff0000"> <strong>var </strong>WIDTH = 1200, HEIGHT = 500;</span></p>
<p><span style="color: #ff0000">// camera attributes</span><br />
<span style="color: #ff0000"> <strong>var </strong>VIEW_ANGLE = 45, ASPECT = WIDTH / HEIGHT, NEAR = 0.1, FAR = 10000;</span></p>
<p>These variables set the width and height of the drawing area (our world you might say), the camera details (viewing angle, aspect, etc) Next we populate the variable my world…</p>
<p><span style="color: #ff0000">myworld = document.getElementById(&#8220;myshape&#8221;);</span></p>
<p>Now, if you look at the html, you will see that I had already created a div element with the id of myshape. It is this that we will draw into. However, you could also do this…</p>
<p><span style="color: #ff0000">myworld =document.createElement(&#8220;div&#8221;);</span><br />
<span style="color: #ff0000"> document.body.appendChild(myworld);</span></p>
<p>This creates a brand new element and then appends it to the current document body. Both will work, however a word of warning. Create a div element, not a canvas element, as Three.js creates a new canvas element to draw into inside the created element. So if the created element is a canvas element, you then get another canvas element inside, and then nothing gets rendered.</p>
<p>Next we need to create a renderer, a camera, and a scene…</p>
<p><span style="color: #ff0000"><strong>var </strong>renderer = new THREE.WebGLRenderer();<br />
//I am choosing the WebGL renderer here, but you have others to choose from</span><br />
<span style="color: #ff0000"><strong>var </strong>camera = new THREE.Camera(VIEW_ANGLE, ASPECT, NEAR, FAR);<br />
//these variables have been set at the top of  our script</span><br />
<span style="color: #ff0000"><strong>var </strong>scene = new THREE.Scene(); //create a new scene</span><br />
<span style="color: #ff0000">// the camera starts at 0,0,0 so we need to pull back</span><br />
<span style="color: #ff0000">camera.position.z = 200;</span><br />
<span style="color: #ff0000">// start the renderer</span><br />
<span style="color: #ff0000">renderer.setSize(WIDTH, HEIGHT);</span></p>
<p>Next we need to set up a material to use with our shape. I will use a MeshLambertMaterial, but check out what happens when you use a MeshBasicMaterial! Looks completely flat!</p>
<p><span style="color: #ff0000">//create materials<br />
</span><span class="Apple-style-span" style="color: #ff0000"><strong>var </strong>material = new THREE.MeshLambertMaterial({color: 0xCC0000});<br />
</span><span class="Apple-style-span" style="color: #ff0000">//var material = new THREE.MeshBasicMaterial({color: 0xCC0000});  //gives you just a flat colour &#8211; ugly</span></p>
<p>Next we need a new mesh, and we will use a spherical geometry. In future posts I will try out the different geometries and eventually I will get on to load complete 3D scenes created in Blender.</p>
<p><span style="color: #ff0000">// create a new mesh with sphere geometry<br />
</span><span class="Apple-style-span" style="color: #ff0000"><strong>var </strong>radius = 50, segments = 16, rings = 16;<br />
</span><span class="Apple-style-span" style="color: #ff0000"><strong>var </strong>mesh = new THREE.Mesh( new THREE.SphereGeometry( radius, segments, rings ), material );<br />
</span><span class="Apple-style-span" style="color: #ff0000">scene.addChild(mesh);</span></p>
<p>Now we need to add our scene into our DOM element…</p>
<p><span style="color: #ff0000"> // attach the render-supplied DOM element</span><br />
<span style="color: #ff0000">myworld.appendChild(renderer.domElement);</span></p>
<p>If you were to load this file now you wold see nothing. There is one more thing that we need and that is a light source.</p>
<p><span style="color: #ff0000"><strong>var </strong>pointLight = new THREE.PointLight( 0xFFFFFF );</span><br />
<span style="color: #ff0000">// set its position</span><br />
<span style="color: #ff0000">pointLight.position.x = 50;</span><br />
<span style="color: #ff0000">pointLight.position.y = 50;</span><br />
<span style="color: #ff0000">pointLight.position.z = 130;</span><br />
<span style="color: #ff0000">// add to the scene</span><br />
<span style="color: #ff0000">scene.addLight(pointLight);</span><br />
<span style="color: #ff0000">// render our scene</span><br />
<span style="color: #ff0000">renderer.render(scene, camera);</span></p>
<p>All you see is a simple red and black sphere. Nothing terribly exciting, but now try changing the pointLight position, the radius, colour, and camera position. This will give you a good idea of how  to setup a simple WebGL (or whatever renderer you use) scene.</p>
<p>In the next tutorial I plan to add more shapes, along with buttons to allow you to choose which shapes to draw.</p>
<p><a href="http://www.highlander.co.uk/blog/2011/09/23/learning-three-js/threejs1-2/" rel="attachment wp-att-2361">threejs1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/09/23/learning-three-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More JavaScript libraries</title>
		<link>http://www.highlander.co.uk/blog/2011/09/16/more-javascript-libraries/</link>
		<comments>http://www.highlander.co.uk/blog/2011/09/16/more-javascript-libraries/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 14:56:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=2284</guid>
		<description><![CDATA[Just a quick update to my JavaScript libraries collection. Here are some more JavaScript libraries &#8211; things just seem to be getting better and better as far as JavaScript and HTML5 and the web are concerned! three.js &#8211; A brilliant lightweight 3D engine (works with WebGL, amongst other things) https://github.com/mrdoob/three.js/  newton.js &#8211; box2d plus raphael <a href='http://www.highlander.co.uk/blog/2011/09/16/more-javascript-libraries/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick update to my JavaScript libraries collection. Here are some more JavaScript libraries &#8211; things just seem to be getting better and better as far as JavaScript and HTML5 and the web are concerned!</p>
<p>three.js &#8211; A brilliant lightweight 3D engine (works with WebGL, amongst other things)</p>
<p style="padding-left: 30px"><a target="_blank" href="https://github.com/mrdoob/three.js/" rel="nofollow">https://github.com/mrdoob/three.js/ </a></p>
<p>newton.js &#8211; box2d plus raphael (does not seem to be released yet, but looks fantastic)</p>

<div class="tubepress_single_video">
        <div class="tubepress_embedded_title">Dmitry Baranovskiy: newton.js: box2d + Raphael</div>
    <iframe class="youtube-player" type="text/html" width="425" height="350" src="http://www.youtube.com/embed/bJ_ONON90fo?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">5:48</dd>
    <dt class="tubepress_meta tubepress_meta_views">Views</dt><dd class="tubepress_meta tubepress_meta_views">2,809</dd>
</dl>
</div>

<p>paper.js -  The Swiss Army Knife of Vector Graphics Scripting (looks like great fun)</p>
<p style="padding-left: 30px"><a target="_blank" href="http://paperjs.org/about/" rel="nofollow">http://paperjs.org/about/</a></p>
<p>processingjs - Processing.js is the sister project of the popular processing visual programming language, designed for the web &#8211; superb for data visualisations</p>
<p style="padding-left: 30px"><a target="_blank" href="http://processingjs.org/" rel="nofollow">http://processingjs.org/</a></p>
<p>box2d js - a JavaScript port of  the box2d physics engine</p>
<p style="padding-left: 30px"><a target="_blank" href="http://box2d-js.sourceforge.net/" rel="nofollow">http://box2d-js.sourceforge.net/</a></p>
<p>scene.js &#8211; a WebGL scene graph library &#8211; some lovely examples on the web site</p>
<p style="padding-left: 30px"><a target="_blank" href="http://scenejs.org/" rel="nofollow">http://scenejs.org/</a></p>
<p>Anyone got anymore?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/09/16/more-javascript-libraries/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>Modelling a vehicle within Blender &#8211; final result</title>
		<link>http://www.highlander.co.uk/blog/2011/06/22/modelling-a-vehicle-within-blender-final-result/</link>
		<comments>http://www.highlander.co.uk/blog/2011/06/22/modelling-a-vehicle-within-blender-final-result/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 11:46:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Blender]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[Blender 2.5]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=1638</guid>
		<description><![CDATA[I am a big fan of the web site blendercookie.com, and they recently came out with a lovely tutorial series by Jonathan Williamson (using artwork from David Revoy), the Vehicle Modelling Series. There are over 15 hours of movies, taking you through the process of modelling a Gyrocopter, from a series of pictures. It took we <a href='http://www.highlander.co.uk/blog/2011/06/22/modelling-a-vehicle-within-blender-final-result/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I am a big fan of the web site <a target="_blank" href="http://www.blendercookie.com/" rel="nofollow">blendercookie.com</a>, and they recently came out with a lovely tutorial series by Jonathan Williamson (using artwork from <a target="_blank" href="http://www.davidrevoy.com/portfolio.html" rel="nofollow">David Revoy</a>), the <a target="_blank" href="http://cgcookie.com/vehicle-series/" rel="nofollow">Vehicle Modelling Series</a>.</p>
<p>There are over 15 hours of movies, taking you through the process of modelling a Gyrocopter, from a series of pictures. It took we a while to go through all the videos, but it was well worth it. Here is a still of my final result…</p>
<div id="attachment_1750" class="wp-caption alignnone" style="width: 310px"><a href="http://www.highlander.co.uk/blog/2011/06/22/modelling-a-vehicle-within-blender-final-result/final/" rel="attachment wp-att-1750"><img class="size-medium wp-image-1750" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/final-300x168.png" alt="Final gyrocoptor render" width="300" height="168" /></a><p class="wp-caption-text">Final gyrocoptor render</p></div>
<p>The series goes through a lot of modelling, and at the end of it I came away with a much better appreciation of Blender, its tools, and how to model. I would recommend this series to anyone who wishes to become a better modeller.</p>
<p>I now have a few more techniques to use when modelling, and also a better understanding of the steps I need to go through when modelling.</p>
<p>The model is far from perfect, I made loads of mistakes <img src='http://www.highlander.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . But at least now I can see what the problems are and I can have a good go at fixing them. After going through this series it has me wanting go back to other series that I have bought and finish them to see just how well I do. In the ensuing months I will do just that and I will post the results. Here is the timelapse movie, along with the final render&#8230;</p>

<div class="tubepress_single_video">
        <div class="tubepress_embedded_title">Modelling a Vehicle with Blender</div>
    <iframe class="youtube-player" type="text/html" width="425" height="350" src="http://www.youtube.com/embed/iBJSIi7MnqM?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:33</dd>
    <dt class="tubepress_meta tubepress_meta_views">Views</dt><dd class="tubepress_meta tubepress_meta_views">300</dd>
</dl>
</div>

<p>All in all I am quite happy with the result.</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=ef10f182-1a60-4635-bc31-f4a99119d8f4" alt="Enhanced by Zemanta" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/06/22/modelling-a-vehicle-within-blender-final-result/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Latest Blender 2.5 tutorials and DVDs</title>
		<link>http://www.highlander.co.uk/blog/2011/06/11/latest-blender-2-5-tutorials-and-dvds/</link>
		<comments>http://www.highlander.co.uk/blog/2011/06/11/latest-blender-2-5-tutorials-and-dvds/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 09:26:49 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Blender]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Blender 2.5]]></category>
		<category><![CDATA[Open source]]></category>

		<guid isPermaLink="false">http://www.highlander.co.uk/blog/?p=1547</guid>
		<description><![CDATA[Here is a round-up of some of the latest Blender 2.5 tutorials and DVDs that I have come across. I am slowly going through them, and when I finish them I will upload the final renders and .blend files to share with you, but it will take me a while to get through them all. <a href='http://www.highlander.co.uk/blog/2011/06/11/latest-blender-2-5-tutorials-and-dvds/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Here is a round-up of some of the latest Blender 2.5 tutorials and DVDs that I have come across. I am slowly going through them, and when I finish them I will upload the final renders and .blend files to share with you, but it will take me a while to get through them all.</p>
<p>In the meantime, here is the list, and below some of them is the current render that I have created after going through the tutorial.</p>
<p>Blenderella (<a target="_blank" href="http://www.blender3d.org/e-shop/product_info_n.php?products_id=133" rel="nofollow">http://www.blender3d.org/e-shop/product_info_n.php?products_id=133</a>)</p>
<p>Creating realistic outdoor lighting (<a target="_blank" href="http://www.blenderguru.com/how-to-create-realistic-outdoor-lighting/" rel="nofollow">http://www.blenderguru.com/how-to-create-realistic-outdoor-lighting/</a>)</p>
<div id="attachment_1661" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/files/2011/06/Environment63.png"><img class="size-medium wp-image-1661" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/Environment63-300x168.png" alt="Environment still 63" width="300" height="168" /></a><p class="wp-caption-text">Environment still 63</p></div>
<p>Blender Cookie Vehicle Modelling Series (<a target="_blank" href="http://cgcookie.com/vehicle-series/" rel="nofollow">http://cgcookie.com/vehicle-series/</a>)</p>
<div id="attachment_1657" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.highlander.co.uk/blog/files/2011/06/v38.png"><img class="size-medium wp-image-1657" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/v38-300x168.png" alt="vehicle stille 38" width="300" height="168" /> </a></dt>
<dd>vehicle still 38</dd>
</dl>
</div>
<div class="mceTemp mceIEcenter">
<dl>
<dt><a href="http://www.highlander.co.uk/blog/files/2011/06/v39.png"><img class="size-medium wp-image-1658 aligncenter" src="http://www.highlander.co.uk/blog/wp-content/uploads/2011/07/v39-300x168.png" alt="vehicle still 39" width="300" height="168" /></a><p class="wp-caption-text">vehicle still 39</p></div>
<p style="text-align: left">cgmasters.net &#8211; Rigging your ninja &#8211; (<a target="_blank" href="http://www.cgmasters.net/training-dvds/character-creation-rigging/" rel="nofollow">http://www.cgmasters.net/training-dvds/character-creation-rigging/</a>) n.b. due out in July</p>
<p style="text-align: left">cmifx.com &#8211; Rigging your mammoth (<a target="_blank" href="http://cmivfx.com/tutorials/view/302/Blender+Massive+Mammoth+Masterclass%3A+Rigging+V1" rel="nofollow">http://cmivfx.com/tutorials/view/302/Blender+Massive+Mammoth+Masterclass%3A+Rigging+V1</a>)</p>
<p>Have fun!</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=332ad264-f8fb-4f54-a0eb-45d60d5a7455" alt="Enhanced by Zemanta" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.highlander.co.uk/blog/2011/06/11/latest-blender-2-5-tutorials-and-dvds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

