<?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>Programming Fundamentals &#187; iaac</title>
	<atom:link href="http://legacy.iaacblog.com/mai2012-2013-programming/tag/iaac/feed/" rel="self" type="application/rss+xml" />
	<link>http://legacy.iaacblog.com/mai2012-2013-programming</link>
	<description>Programming Fundamentals</description>
	<lastBuildDate>Tue, 18 Dec 2012 18:15:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>flags</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/10/flags/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/10/flags/#comments</comments>
		<pubDate>Fri, 19 Oct 2012 22:11:22 +0000</pubDate>
		<dc:creator>antanaityte.gerda@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Gerda Antanaityte]]></category>
		<category><![CDATA[Int Programming]]></category>
		<category><![CDATA[Students]]></category>
		<category><![CDATA[flags]]></category>
		<category><![CDATA[gerda antanaityte]]></category>
		<category><![CDATA[iaac]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=97</guid>
		<description><![CDATA[The first exercise of programming fundamentals (together with Cristobal Castilla) was to code flags, which introduced us what processing and programming is and how to get images out of range of numbers and letters. There were 16 flags to make. For example, that&#8217;s how Catalan flag looks like in code: void setup() { size (190, [...]]]></description>
				<content:encoded><![CDATA[<p>The first exercise of programming fundamentals (together with Cristobal Castilla) was to code flags, which introduced us what processing and programming is and how to get images out of range of numbers and letters. There were 16 flags to make. For example, that&#8217;s how Catalan flag looks like in code:</p>
<p>void setup() {<br />
  size (190, 120);<br />
}<br />
void draw(){<br />
noStroke();<br />
 fill(255,223,58);<br />
 rect(0, 0, 190, 120);<br />
  fill(255,12,13);<br />
 rect(0,13,190,14);<br />
  fill(255,12,13);<br />
 rect(0,40,190,14);<br />
   fill(255,12,13);<br />
 rect(0,67,190,14);<br />
    fill(255,12,13);<br />
 rect(0,94,190,14);<br />
}</p>
<p>And these are all flags made by Processing:</p>
<p><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/Bahrain_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/catalunia_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/greece_flag.pde"></canvas><br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/greenland_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/guyana_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/ieland_flag.pde"></canvas><br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/kuwait_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/Macedonia_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/malawi_flag.pde"></canvas><br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/maldives_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/saint_lucia_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/saint_vincent_and_the_grenadines.pde"></canvas><br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/seychelles_flag.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/south_africa.pde"></canvas><canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing/antanaitytegerda/flags/bahamas_flag.pde"></canvas></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/10/flags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
