<?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 1-3: RGB Color</title>
	<atom:link href="http://www.learningprocessing.com/examples/chapter-1/example-1-3/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-1/example-1-3/comment-page-1/#comment-19083</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Wed, 16 Feb 2011 21:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/wp/?page_id=204#comment-19083</guid>
		<description>static is without setup() and draw().  active is with setup() and draw().  static can only produce a static image since there&#039;s no flow over time (setup() just once, draw() looping over and over)</description>
		<content:encoded><![CDATA[<p>static is without setup() and draw().  active is with setup() and draw().  static can only produce a static image since there&#8217;s no flow over time (setup() just once, draw() looping over and over)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Rawkins</title>
		<link>http://www.learningprocessing.com/examples/chapter-1/example-1-3/comment-page-1/#comment-19076</link>
		<dc:creator>Terry Rawkins</dc:creator>
		<pubDate>Wed, 16 Feb 2011 16:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/wp/?page_id=204#comment-19076</guid>
		<description>Thanks for that, I can&#039;t reproduce my error but the message was :-

It looks like you&#039;re mixing &quot;active&quot; and &quot;static&quot; modes.

I wanted to get more than one colour of text in the draw command and only one colour would show.

If possible could you explain &quot;active&quot; and &quot;static&quot; modes.  I ended up writing a simple sketch without the setup &amp; draw functions saving the output as a jpg file and loading that in to the game.</description>
		<content:encoded><![CDATA[<p>Thanks for that, I can&#8217;t reproduce my error but the message was :-</p>
<p>It looks like you&#8217;re mixing &#8220;active&#8221; and &#8220;static&#8221; modes.</p>
<p>I wanted to get more than one colour of text in the draw command and only one colour would show.</p>
<p>If possible could you explain &#8220;active&#8221; and &#8220;static&#8221; modes.  I ended up writing a simple sketch without the setup &amp; draw functions saving the output as a jpg file and loading that in to the game.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Shiffman</title>
		<link>http://www.learningprocessing.com/examples/chapter-1/example-1-3/comment-page-1/#comment-19057</link>
		<dc:creator>Daniel Shiffman</dc:creator>
		<pubDate>Wed, 16 Feb 2011 01:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/wp/?page_id=204#comment-19057</guid>
		<description>your code would look like:

&lt;pre&gt;
void setup() {
  size(200,200);
  smooth();
}

void draw() {
  background(255);
  noStroke();

  // Bright red
  fill(255,0,0);
  ellipse(20,20,16,16);

  // Dark red
  fill(127,0,0);
  ellipse(40,20,16,16);

  // Pink (pale red)
  fill(255,200,200);
  ellipse(60,20,16,16);
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>your code would look like:</p>
<pre>
void setup() {
  size(200,200);
  smooth();
}

void draw() {
  background(255);
  noStroke();

  // Bright red
  fill(255,0,0);
  ellipse(20,20,16,16);

  // Dark red
  fill(127,0,0);
  ellipse(40,20,16,16);

  // Pink (pale red)
  fill(255,200,200);
  ellipse(60,20,16,16);
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Rawkins</title>
		<link>http://www.learningprocessing.com/examples/chapter-1/example-1-3/comment-page-1/#comment-18886</link>
		<dc:creator>Terry Rawkins</dc:creator>
		<pubDate>Thu, 10 Feb 2011 12:28:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.learningprocessing.com/wp/?page_id=204#comment-18886</guid>
		<description>But how do I do this within draw()

?</description>
		<content:encoded><![CDATA[<p>But how do I do this within draw()</p>
<p>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

