<?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: Exercise 1-4</title>
	<atom:link href="http://www.learningprocessing.com/exercises/chapter-1/exercise-1-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/exercises/chapter-1/exercise-1-4/comment-page-1/#comment-17278</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Thu, 06 Jan 2011 14:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=1173#comment-17278</guid>
		<description>@Brittany.   This is a useful comment.  It&#039;s good practice to specify the stroke() and fill() for every shape.  In this case, the result is identical b/c the earlier call to stroke(0) will apply to all shapes after it.</description>
		<content:encoded><![CDATA[<p>@Brittany.   This is a useful comment.  It&#8217;s good practice to specify the stroke() and fill() for every shape.  In this case, the result is identical b/c the earlier call to stroke(0) will apply to all shapes after it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brittany</title>
		<link>http://www.learningprocessing.com/exercises/chapter-1/exercise-1-4/comment-page-1/#comment-17240</link>
		<dc:creator>Brittany</dc:creator>
		<pubDate>Wed, 05 Jan 2011 22:30:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=1173#comment-17240</guid>
		<description>Is your answer missing the stroke for the grey rectangle?

Shouldn&#039;t it read:

size(200,200);
background(255);
stroke(0);
fill(0);
rect(0,0,100,100);
storke(0);
fill(150);
rect(100,100,100,100);</description>
		<content:encoded><![CDATA[<p>Is your answer missing the stroke for the grey rectangle?</p>
<p>Shouldn&#8217;t it read:</p>
<p>size(200,200);<br />
background(255);<br />
stroke(0);<br />
fill(0);<br />
rect(0,0,100,100);<br />
storke(0);<br />
fill(150);<br />
rect(100,100,100,100);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.learningprocessing.com/exercises/chapter-1/exercise-1-4/comment-page-1/#comment-736</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 03 Feb 2009 16:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=1173#comment-736</guid>
		<description>The rectangle is defined by:

(top left x, top left y, width, height)

your code would be correct if you used rectMode(CORNERS), which would define the rectangle by

(top left x, top left y, bottom right x, bottom right y)

For more: http://www.processing.org/reference/rectMode_.html</description>
		<content:encoded><![CDATA[<p>The rectangle is defined by:</p>
<p>(top left x, top left y, width, height)</p>
<p>your code would be correct if you used rectMode(CORNERS), which would define the rectangle by</p>
<p>(top left x, top left y, bottom right x, bottom right y)</p>
<p>For more: <a href="http://www.processing.org/reference/rectMode_.html" rel="nofollow">http://www.processing.org/reference/rectMode_.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Wright</title>
		<link>http://www.learningprocessing.com/exercises/chapter-1/exercise-1-4/comment-page-1/#comment-724</link>
		<dc:creator>Joel Wright</dc:creator>
		<pubDate>Mon, 02 Feb 2009 15:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/?page_id=1173#comment-724</guid>
		<description>I understand the dimension parameters for the upper left square (rect), but it seems like the lower right should be: 

rect(100, 100, 200, 200);

I know I&#039;m wrong because I loaded the code and it draws exactly as you have laid it out:

rect(100,100,100,100);

What did I miss?

Best Regards</description>
		<content:encoded><![CDATA[<p>I understand the dimension parameters for the upper left square (rect), but it seems like the lower right should be: </p>
<p>rect(100, 100, 200, 200);</p>
<p>I know I&#8217;m wrong because I loaded the code and it draws exactly as you have laid it out:</p>
<p>rect(100,100,100,100);</p>
<p>What did I miss?</p>
<p>Best Regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>

