<?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>Josh Netherton</title>
	<atom:link href="http://joshnetherton.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshnetherton.com</link>
	<description>I&#039;m a front-end developer and designer based in Atlanta, GA. I&#039;m passionate about web standards and clean markup and really dig code and design.</description>
	<lastBuildDate>Thu, 25 Feb 2010 21:39:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Thrilling Space Adventure</title>
		<link>http://joshnetherton.com/2010/02/thrilling-space-adventure/</link>
		<comments>http://joshnetherton.com/2010/02/thrilling-space-adventure/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 21:39:55 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshnetherton.com/?p=98</guid>
		<description><![CDATA[
Just for the fun of it, I decided to make a quick entry for the Bearskinrug &#8220;Draw Your Own Thrilling Space Adventure&#8221; contest. I decided to use all of the &#8220;how to draw&#8221; elements in this family adventure. Though, I did add the Zippy Pop.  After all&#8230;nothing says adventure like Zippy Pop!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://joshnetherton.com/site/wp-content/uploads/2010/02/zippypop.jpg"><img class="alignleft size-full wp-image-99" style="border: 2px solid #ccc;" title="zippypop" src="http://joshnetherton.com/site/wp-content/uploads/2010/02/zippypop.jpg" alt="" width="432" height="264" /></a></p>
<p>Just for the fun of it, I decided to make a quick entry for the Bearskinrug <a href="http://www.bearskinrug.co.uk/_articles/2010/02/03/space_adventure/">&#8220;Draw Your Own Thrilling Space Adventure&#8221;</a> contest. I decided to use all of the &#8220;how to draw&#8221; elements in this family adventure. Though, I did add the Zippy Pop.  After all&#8230;nothing says adventure like Zippy Pop!</p>
]]></content:encoded>
			<wfw:commentRss>http://joshnetherton.com/2010/02/thrilling-space-adventure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using CSS Animations To Enhance Information Graphics</title>
		<link>http://joshnetherton.com/2010/02/using-css-animations-to-enhance-information-graphics/</link>
		<comments>http://joshnetherton.com/2010/02/using-css-animations-to-enhance-information-graphics/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 12:46:51 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://joshnetherton.com/?p=32</guid>
		<description><![CDATA[Lately, there have been a slew of great tutorials and examples for using CSS3 to enhance designs and experiences on the web.  For a great overview of them I&#8217;d suggest checking out Meagan Fisher&#8217;s round up. Here I&#8217;m going to walk through a technique for enhancing the content of a site using CSS3 animations [...]]]></description>
			<content:encoded><![CDATA[<p>Lately, there have been a slew of great tutorials and examples for using CSS3 to enhance designs and experiences on the web.  For a great overview of them I&#8217;d suggest checking out <a href="http://owltastic.com/2010/01/a-collection-of-css3-awesomeness/">Meagan Fisher&#8217;s round up</a>. Here I&#8217;m going to walk through a technique for enhancing the content of a site using CSS3 animations in an information graphic. The key is that we&#8217;ll be enhancing it so that users of browsers that don&#8217;t support the needed CSS properties will still get the normal figure and information. </p>
<p><em><strong>Note:</strong> To view the animation, you&#8217;ll need to be using one of the latest versions of Safari or Chrome.</em></p>
<h3>What We&#8217;re Building</h3>
<p>In this example, we&#8217;ll be enhancing a typical chemistry figure showing the structure of a Hydrogen atom. We&#8217;ll be adding a simple animation that shows the electron revolving around the proton, without the electron path and structure labeling in the animation, when you hover over the figure. </p>
<div id="cssAnimationExample">
<div class="figure">
<div class="figureImage">
<div id="hydrogen">
				<img src="images/hydrogen.png" width="150" height="150" alt="Hydrogen atom" id="hydrogenAtomImage" /></p>
<div id="proton"></div>
<div id="pathCharge"></div>
<div id="electron"></div>
</p></div>
<p><!-- end #hydrogen -->
		</div>
<p><!-- end .figureImage --></p>
<div class="figureCaption">
<p><span>Fig. 1:</span> A Hydrogen atom consists of 1 negatively charged electron (e-) that revolves around 1 positively charged proton (P+).</p>
</p></div>
<p><!-- end .figureCaption -->
	</div>
<p><!-- end .figure -->
</div>
<p>It&#8217;s probably a good idea to plan out the animation so that we can tackle it in steps. This is what we&#8217;d like to happen: when the reader hovers over the figure we&#8217;d like the electron path and labels to fade away and then for the electron to start it&#8217;s revolution. Now that we have a plan, let&#8217;s get started.</p>
<h3>Step 1: Images</h3>
<p>There are three images used in this example: the proton, the electron path and labels, and the electron. The proton is static. The electron path and text will fade away as the animation begins. The electron will revolve around the proton.</p>
<div class="imageGroup">
<img src="http://joshnetherton.com/site/wp-content/uploads/2010/02/proton.png" alt="" title="proton" width="150" height="150" class="alignnone size-full wp-image-77" /><img src="http://joshnetherton.com/site/wp-content/uploads/2010/02/pathCharge.png" alt="" title="pathCharge" width="150" height="150" class="alignnone size-full wp-image-76" /><img src="http://joshnetherton.com/site/wp-content/uploads/2010/02/electron.png" alt="" title="electron" width="150" height="150" class="alignnone size-full wp-image-75" /></p>
<div class="clearLeft"></div>
</div>
<h3>Step 2: HTML</h3>
<p>Next, we&#8217;ll code our HTML. Notice that we&#8217;ve added an image &#8220;hydrogen.png.&#8221; This is the regular figure with no animation and this will be served up when styles are not active. We&#8217;ll use CSS to hide this image. There are also three empty divs that will be the containers for each of our three images. They&#8217;ll be added as background images in the CSS.</p>
<pre>
&lt;div class="figure"&gt;

   &lt;div class="figureImage"&gt;

      &lt;div id="hydrogen"&gt;

         &lt;img src="images/hydrogen.png" width="150" height="150"
alt="Hydrogen atom" id="hydrogenAtomImage" /&gt;

         &lt;div id="proton"&gt;&lt;/div&gt;

         &lt;div id="pathCharge"&gt;&lt;/div&gt;

         &lt;div id="electron"&gt;&lt;/div&gt;

      &lt;/div&gt;&lt;!-- end #hydrogen --&gt;

   &lt;/div&gt;&lt;!-- end .figureImage --&gt;

   &lt;div class="figureCaption"&gt;

      &lt;p&gt;&lt;span&gt;Fig. 1:&lt;/span&gt; A Hydrogen atom consists
of 1 negatively charged electron (e-) that revolves around 1 positively
charged proton (P+).&lt;/p&gt;

   &lt;/div&gt;&lt;!-- end .figureCaption --&gt;

&lt;/div&gt;&lt;!-- end .figure --&gt;
</pre>
<h3>Step 3: Static Figure Styles</h3>
<p>Now onto styling our content. We&#8217;ve used absolute positioning to layer the three images for our animation and set the main figure image to not display. Other styling for the container and caption are also included here.</p>
<pre>
.figure {
	width: 275px;
}

.figureImage {
	background-color: #fff;
	border: 1px solid #ccc;
}

#hydrogen {
	display: block;
	height: 150px;
	margin: 20px auto;
	position: relative;
	width: 150px;
}

#hydrogen img#hydrogenAtomImage {
	display: none;
}

#proton {
	background: url('images/proton.png') left top no-repeat;
}

#pathCharge {
	background: url('images/pathCharge.png') left top no-repeat;
}

#electron {
	background: url('images/electron.png') left top no-repeat;
}

#proton, #pathCharge, #electron {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 150px;
	width: 150px;
}

.figureCaption {
	padding: 0 5px;
}

.figureCaption p {
	font-family: Georgia, serif;
	font-size: 12px;
        font-style: italic;
}

.figureCaption p span {
	font-weight: bold;
}
</pre>
<h3>Step 4: Fade Out Animation</h3>
<p>Now, we can start on the first part of our animation. This will create the fade out and fade in animation when we hover over and leave the figure. The opacity is set at 1 initially and changes to .5 on :hover. <code>-webkit-transition-duration: 500ms;</code> sets the fade to occur over 500ms and <code>-webkit-transition-timing-function: linear;</code> keeps the rate of change constant over the duration.</p>
<pre>
div.figure #pathCharge {
	opacity: 1;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: linear;
	-webkit-transition-duration: 500ms;
}

div.figure:hover #pathCharge{
	opacity: .0;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: linear;
	-webkit-transition-duration: 500ms;
}
</pre>
<h3>Step 5: Electron Revolution</h3>
<p>We&#8217;ve created an animation for the electron revolution. <code>-webkit-animation-name: revolution;</code> calls the animation named <code>revolution</code> that we&#8217;ve defined below. <code>-webkit-animation-iteration-count: infinite;</code> keeps the animation running the whole time the user hovers over the figure. If it was set to <code>1</code> then the electron would revolve once and then stop. We&#8217;ve also added <code>-webkit-animation-delay: 0.25s;</code> to give the electron path image time to start fading away before this animation begins.</p>
<pre>
div.figure:hover #electron {
	-webkit-animation-name: revolution;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-webkit-animation-duration: 1.25s;
	-webkit-animation-delay: 0.25s;
}	

@-webkit-keyframes revolution {
from {
	-webkit-transform: rotate(0deg);
	}

to {
	-webkit-transform: rotate(360deg);
	}
}
</pre>
<h3>The Finished Product</h3>
<div id="cssAnimationExample">
<div class="figure">
<div class="figureImage">
<div id="hydrogen">
				<img src="images/hydrogen.png" width="150" height="150" alt="Hydrogen atom" id="hydrogenAtomImage" /></p>
<div id="proton"></div>
<div id="pathCharge"></div>
<div id="electron"></div>
</p></div>
<p><!-- end #hydrogen -->
		</div>
<p><!-- end .figureImage --></p>
<div class="figureCaption">
<p><span>Fig. 1:</span> A Hydrogen atom consists of 1 negatively charged electron (e-) that revolves around 1 positively charged proton (P+).</p>
</p></div>
<p><!-- end .figureCaption -->
	</div>
<p><!-- end .figure -->
</div>
<p>This was just a simple example of how CSS animations can be used to enhance figures or diagrams. I&#8217;m currently working on two new examples requiring more advanced animations and will post those (with code and explaination) soon. And this was my first tutorial, so hope that you&#8217;ve been able to get one or two tidbits from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshnetherton.com/2010/02/using-css-animations-to-enhance-information-graphics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting Point</title>
		<link>http://joshnetherton.com/2010/02/starting-point/</link>
		<comments>http://joshnetherton.com/2010/02/starting-point/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 12:27:57 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://joshnetherton.com/site/?p=3</guid>
		<description><![CDATA[Rewind four years. I was a biology instructor, secure in my knowledge and the information that I was teaching. Why wouldn&#8217;t I be? I studied biology in undergrad and grad school and was a Teaching Assistant for three years during grad school. All this training led me down the path to the classroom and gave [...]]]></description>
			<content:encoded><![CDATA[<p>Rewind four years. I was a biology instructor, secure in my knowledge and the information that I was teaching. Why wouldn&#8217;t I be? I studied biology in undergrad and grad school and was a Teaching Assistant for three years during grad school. All this training led me down the path to the classroom and gave me the confidence I needed to succeed.</p>
<p>Four years into it I made a huge leap and moved into front-end development (that&#8217;s a longer post for another day). With the switch also came a change in my status from teacher back to being a student. As a student, I&#8217;ve learned from blogs, books, friends, people I&#8217;ve worked with and my own experiments and personal projects. What I haven&#8217;t done is engage with the larger web community. The drop in status back to student brought with it the insecurities of thinking everyone knows more than you, even after years of working and studying. And that change was much harder on me than I thought it would be. I was scared to put myself out there and try to add to the discussion.</p>
<p>During a conversation last week, I realized that it&#8217;s time for me to get past that feeling of just being a student and push my role forward again. I&#8217;m good at what I do and have ideas and thoughts I&#8217;d like to share and discuss. To do that, I need to start engaging with others in our field, experimenting more and sharing the results of those experiments.</p>
<p>So this is the starting point. A while back, I toyed with the idea of starting the blog (mainly because I felt like I had too). I worked on some designs but nothing was quite right. I didn&#8217;t want to put it up until I had a design I thought was perfect, so I punted. I&#8217;d just sit on it for a while and do it later. And I was happy to, because, as I&#8217;ve explained, I was a little scared to put myself out there and didn&#8217;t really want to do it anyway. Since I&#8217;ve finally made the decision to just let go, I decided to make a few quick modifications to a theme so it fits with my current site and start writing. I&#8217;ll be tweaking and modifying this design as I go, because it&#8217;s not perfect and there are a lot of things I&#8217;d like to change. If you see things that are a little out of whack (and there are bound to be some), let me know. I&#8217;m glad to finally be joining in and hope I can add a few interesting bits to the interwebs.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshnetherton.com/2010/02/starting-point/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
