<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Bouncing a Ball Around with HTML5 and JavaScript</title>
	<atom:link href="http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 00:49:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: akash</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-150658</link>
		<dc:creator>akash</dc:creator>
		<pubDate>Fri, 15 Jun 2012 06:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-150658</guid>
		<description>hello,,i want some balls to be moving in a box but if someone moves the cursor to one of the ball then it should stop moving automatically and if we click on that ball then it should open some specified link.But it should be purely using javascript,css,html5 and jquery..
can anyone help?</description>
		<content:encoded><![CDATA[<p>hello,,i want some balls to be moving in a box but if someone moves the cursor to one of the ball then it should stop moving automatically and if we click on that ball then it should open some specified link.But it should be purely using javascript,css,html5 and jquery..<br />
can anyone help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hitu</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-150655</link>
		<dc:creator>Hitu</dc:creator>
		<pubDate>Fri, 15 Jun 2012 05:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-150655</guid>
		<description>Nice Article</description>
		<content:encoded><![CDATA[<p>Nice Article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dovid G.</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-134687</link>
		<dc:creator>Dovid G.</dc:creator>
		<pubDate>Tue, 08 Nov 2011 14:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-134687</guid>
		<description>@Jesse (If you&#039;re still watching the comments)

What&#039;s happening is this, suppose dx = 5.
If I were to declare x = -dx, that would mean x = -5.
Now if I declare x = -x, it&#039;s like saying x equals negative negative 5 (x = - -5) which reverses the negative to a positive. So now x = 5. If I do x = -x again, then it&#039;s back to negative 5, if I do it again then it&#039;s positive 5.

So when the ball hits the wall dx reverses it self from positive to negative, or negative to positive, and it&#039;s all accomplished by dx=-dx. For either it&#039;s a true negative -dx or a positive -(-dx).</description>
		<content:encoded><![CDATA[<p>@Jesse (If you&#8217;re still watching the comments)</p>
<p>What&#8217;s happening is this, suppose dx = 5.<br />
If I were to declare x = -dx, that would mean x = -5.<br />
Now if I declare x = -x, it&#8217;s like saying x equals negative negative 5 (x = &#8211; -5) which reverses the negative to a positive. So now x = 5. If I do x = -x again, then it&#8217;s back to negative 5, if I do it again then it&#8217;s positive 5.</p>
<p>So when the ball hits the wall dx reverses it self from positive to negative, or negative to positive, and it&#8217;s all accomplished by dx=-dx. For either it&#8217;s a true negative -dx or a positive -(-dx).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gauss11</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-133121</link>
		<dc:creator>gauss11</dc:creator>
		<pubDate>Tue, 25 Oct 2011 21:31:01 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-133121</guid>
		<description>Really cool.

Thanks</description>
		<content:encoded><![CDATA[<p>Really cool.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John L</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-125172</link>
		<dc:creator>John L</dc:creator>
		<pubDate>Tue, 27 Sep 2011 02:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-125172</guid>
		<description>Your article was very helpful. Thanks.</description>
		<content:encoded><![CDATA[<p>Your article was very helpful. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Intizar</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-119704</link>
		<dc:creator>Intizar</dc:creator>
		<pubDate>Thu, 08 Sep 2011 12:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-119704</guid>
		<description>really nice one. very helpful I was searching such type of tutorial</description>
		<content:encoded><![CDATA[<p>really nice one. very helpful I was searching such type of tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nithin</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-110236</link>
		<dc:creator>nithin</dc:creator>
		<pubDate>Wed, 27 Jul 2011 05:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-110236</guid>
		<description>nice one really helpfull..</description>
		<content:encoded><![CDATA[<p>nice one really helpfull..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-109642</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Sun, 17 Jul 2011 21:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-109642</guid>
		<description>if( x280) dx=-dx;
if( y280) dy=-dy;
x+=dx;
y+=dy;

sorry meant this one</description>
		<content:encoded><![CDATA[<p>if( x280) dx=-dx;<br />
if( y280) dy=-dy;<br />
x+=dx;<br />
y+=dy;</p>
<p>sorry meant this one</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-109641</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Sun, 17 Jul 2011 21:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-109641</guid>
		<description>can someone please explain the logic behind the boundary logic..it works, but for some reason it doesn&#039;t make sense...once x or y hits a wall dx becomes -dx or -dy..it&#039;s supposed to stay negative then forever right?!


if( x280) dx=-dx;
if( y280) dy=-dy;
x+=dx;
y+=dy;</description>
		<content:encoded><![CDATA[<p>can someone please explain the logic behind the boundary logic..it works, but for some reason it doesn&#8217;t make sense&#8230;once x or y hits a wall dx becomes -dx or -dy..it&#8217;s supposed to stay negative then forever right?!</p>
<p>if( x280) dx=-dx;<br />
if( y280) dy=-dy;<br />
x+=dx;<br />
y+=dy;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JS</title>
		<link>http://sixrevisions.com/html/bouncing-a-ball-around-with-html5-and-javascript/#comment-103931</link>
		<dc:creator>JS</dc:creator>
		<pubDate>Sun, 05 Jun 2011 19:22:12 +0000</pubDate>
		<guid isPermaLink="false">http://sixrevisions.com/?p=4034#comment-103931</guid>
		<description>Great tutorial thanks! How would I go about replacing those balls with actual images (jpg/png)?</description>
		<content:encoded><![CDATA[<p>Great tutorial thanks! How would I go about replacing those balls with actual images (jpg/png)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
