<?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: Example 3-4: Drawing a Continuous Line</title>
	<atom:link href="http://www.learningprocessing.com/examples/chapter-3/example-3-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.learningprocessing.com</link>
	<description>A Beginner's Guide to Programming Images, Animation, and Interaction by Daniel Shiffman</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel Shiffman</title>
		<link>http://www.learningprocessing.com/examples/chapter-3/example-3-4/comment-page-1/#comment-8113</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Mon, 04 Jan 2010 19:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/wp/?page_id=297#comment-8113</guid>
		<description>Processing always initializes the mouse location at 0,0 for the first frame.  You could check and make sure the values are not 0,0 before you draw:

&lt;pre&gt;
  if (!(pmouseX == 0 &amp;&amp; pmouseY == 0)) {
    line(pmouseX, pmouseY, mouseX, mouseY);
  }
&lt;/pre&gt;

And even use your own variable to set up another starting point for when the values are 0,0.</description>
		<content:encoded><![CDATA[<p>Processing always initializes the mouse location at 0,0 for the first frame.  You could check and make sure the values are not 0,0 before you draw:</p>
<pre>
  if (!(pmouseX == 0 &#038;&#038; pmouseY == 0)) {
    line(pmouseX, pmouseY, mouseX, mouseY);
  }
</pre>
<p>And even use your own variable to set up another starting point for when the values are 0,0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rupert</title>
		<link>http://www.learningprocessing.com/examples/chapter-3/example-3-4/comment-page-1/#comment-8100</link>
		<dc:creator>Rupert</dc:creator>
		<pubDate>Sun, 03 Jan 2010 23:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/wp/?page_id=297#comment-8100</guid>
		<description>What would be the easiest way to get the line to start from a default point that was different from (0,0)?</description>
		<content:encoded><![CDATA[<p>What would be the easiest way to get the line to start from a default point that was different from (0,0)?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

