<?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; Furqan Habib</title>
	<atom:link href="http://legacy.iaacblog.com/mai2012-2013-programming/category/students/furqan-habib/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>Computer-Vision-Drawing-motion</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/#comments</comments>
		<pubDate>Mon, 26 Nov 2012 17:01:05 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=867</guid>
		<description><![CDATA[The aim of this exercise was to use computer vision. Computer vision is a complete field in itself. It has the power to take information from images or videos by complex methods of pixel analysis and etc. It has produced works ranging from art like display to automated robots. The xbox kinetic is an application [...]]]></description>
				<content:encoded><![CDATA[<p>The aim of this exercise was to use computer vision. Computer vision is a complete field in itself. It has the power to take   information from images or videos by complex methods of pixel analysis and etc. It has produced works ranging from art like display to automated robots. The xbox kinetic is an application of computer vision.</p>
<p><a href="http://en.wikipedia.org/wiki/Computer_vision">http://en.wikipedia.org/wiki/Computer_vision</a><br />
<a href="http://szeliski.org/Book/">http://szeliski.org/Book/</a></p>
<p>So my idea was to use computer vision to draw and trace the motion of a wheels on a canvas. I was already doing an exercise in fabrication class, to use laser cutter and make various wheels, and then look at their motion. So my intention was to capture the motion of these wheels and draw it by using a computer vision sketch in processing .  Below are few ideas that i sketched to see how the drawing should look like.</p>
<p><a class="wpGallery mceItem" title="gallery" href="http://legacy.iaacblog.com/&lt;img src="></a><img class="alignnone size-medium wp-image-884" title="IMG_3054" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3054-300x224.jpg" alt="" width="300" height="224" /><a href="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3053.jpg"><img class="alignnone size-medium wp-image-889" title="IMG_3053" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3053-300x240.jpg" alt="" width="300" height="240" /></a></p>
<p><a href="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_29611.jpg"><img class="alignnone size-medium wp-image-878" title="IMG_2961" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_29611-300x297.jpg" alt="" width="300" height="297" /></a> <a href="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_2965.jpg"><img class="alignnone size-medium wp-image-879" title="IMG_2965" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_2965-300x216.jpg" alt="" width="300" height="216" /></a></p>
<p>Lucky i come across an sketch in open processing (<a href="http://www.openprocessing.org/sketch/41106">link</a>) that tracks a specific selected color from camera input.</p>
<p><iframe width="500" height="281" frameborder="0" src="http://player.vimeo.com/video/54141267?badge=0"></iframe></p>
<p><a href="http://vimeo.com/54141267">color selecting</a> from <a href="http://vimeo.com/user14069088">Arfurqan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Now all i needed to do is to modify the code so that it tracks and it draws at the same time and does it according to required display.</p>
<p><iframe width="500" height="281" frameborder="0" src="http://player.vimeo.com/video/54286426?badge=0"></iframe></p>
<p><a href="http://vimeo.com/54286426">video 1</a> from <a href="http://vimeo.com/user14069088">Arfurqan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p><a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/img_2961-2/' title='IMG_2961'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_29611-150x150.jpg" class="attachment-thumbnail" alt="IMG_2961" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/img_2965/' title='IMG_2965'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_2965-150x150.jpg" class="attachment-thumbnail" alt="IMG_2965" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/img_3054/' title='IMG_3054'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3054-150x150.jpg" class="attachment-thumbnail" alt="IMG_3054" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/img_3053/' title='IMG_3053'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3053-150x150.jpg" class="attachment-thumbnail" alt="IMG_3053" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/5-4/' title='5'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/53-150x150.jpg" class="attachment-thumbnail" alt="5" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/img_3048/' title='IMG_3048'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3048-150x150.jpg" class="attachment-thumbnail" alt="IMG_3048" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/3-2/' title='3'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/31-150x150.jpg" class="attachment-thumbnail" alt="3" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/1-3/' title='1'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/15-150x150.jpg" class="attachment-thumbnail" alt="1" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/4-2/' title='4'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/41-150x150.jpg" class="attachment-thumbnail" alt="4" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/computer-vision-drawing-motion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>on computer vision-paik-times-five-by-flightphase</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/on-computer-vision-paik-times-five-by-flightphase/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/on-computer-vision-paik-times-five-by-flightphase/#comments</comments>
		<pubDate>Wed, 21 Nov 2012 15:22:07 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>
		<category><![CDATA[References]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=804</guid>
		<description><![CDATA[I Really like the concept to turning a solid wall into something more then it is. In this case the wall is an interactive canvas on which you use your body to create or animate a random objects. For more info here is the link]]></description>
				<content:encoded><![CDATA[<p>               I Really like the concept to turning a solid wall into something more then it is. In this case the wall is an interactive canvas on which you use your body to create or animate a random objects. </p>
<p>For more info here is the <a href="http://www.creativeapplications.net/openframeworks/paik-times-five-by-flightphase/">link</a></p>
<p><iframe src="http://player.vimeo.com/video/43218015?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/on-computer-vision-paik-times-five-by-flightphase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sounds of Journey</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/#comments</comments>
		<pubDate>Tue, 20 Nov 2012 03:13:09 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>
		<category><![CDATA[Lucas De Sordi]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=628</guid>
		<description><![CDATA[The idea is simple to translate the journey of a person into a continuous stimulation of moods and emotion. Sounds the resultant of this stimulation is produced by changing speed, direction,relative distance to A &#038; B and the compass “look direction” to produce a multitrack “song” that with time, the user can play with it’s [...]]]></description>
				<content:encoded><![CDATA[<p>
        The  idea is simple to translate the journey of a person into a continuous stimulation of moods and emotion. Sounds the resultant of this stimulation is produced  by changing speed, direction,relative distance to A &#038; B and the compass “look direction” to produce a multitrack “song” that with time, the user can play with it’s composition.</p>
<p>       This is done by using an app called <a href="http://theantimap.com/">antimap</a>, which captures your position, speed, direction  to the compass, while you are rooming in the city. Processing is use to make a sketch which uses these data and translates it into  into a visual &#038; sound experiences. So you not only see put also hear <strong>his or her journey</strong>.  </p>
<p>       So with a this basic concept we went to drawing board and started sketching how the display would look like and what kind of environment the object would be. The object is just a representation of a persons journey. </p>
<p>       So We (Lucas De Sordi &#038; me) found a somehow similar sketch in open processing website (<a href="http://www.openprocessing.org/sketch/43125">link here</a>). We used this sketch as a reference for our idea because it uses the potions of mouse to produce a certain kind of sound. we liked the idea of a certain kind of sound.</p>
<p>       We first made a sketch that visualizes the movement of mouse to produce sound. This was to test the variation and range of sounds that can be produced. Later this movement of mouse would be replaced be the movement of humans in the city. </p>
<p><iframe src="http://player.vimeo.com/video/53912334?badge=0" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><a href="http://vimeo.com/53912334">Untitled</a> from <a href="http://vimeo.com/user14069088">Arfurqan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>       In next step (major coding)  the data from antimap, the visual display and the production of sound. All these happen  written into a simple code. Here are a few screen shots. </p>
<p><strong>Screen Shots</strong></p>
<p><a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/sounds-of-journey-1/' title='sounds-of-journey-1'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/sounds-of-journey-1-150x150.jpg" class="attachment-thumbnail" alt="sounds-of-journey-1" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/sounds-of-journey-1-2/' title='sounds-of-journey-1'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/sounds-of-journey-11-150x150.jpg" class="attachment-thumbnail" alt="sounds-of-journey-1" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/sounds-of-journey-2/' title='sounds-of-journey-2'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/sounds-of-journey-2-150x150.jpg" class="attachment-thumbnail" alt="sounds-of-journey-2" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/sounds-of-journey-3/' title='sounds-of-journey-3'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/sounds-of-journey-3-150x150.jpg" class="attachment-thumbnail" alt="sounds-of-journey-3" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/img_3023/' title='IMG_3023'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3023-150x150.jpg" class="attachment-thumbnail" alt="IMG_3023" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/img_3024/' title='IMG_3024'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/IMG_3024-150x150.jpg" class="attachment-thumbnail" alt="IMG_3024" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/1-2/' title='1'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/13-150x150.jpg" class="attachment-thumbnail" alt="1" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/attachment/2/' title='2'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/2-150x150.jpg" class="attachment-thumbnail" alt="2" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/untitled-2/' title='Untitled-2'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/Untitled-2-150x150.jpg" class="attachment-thumbnail" alt="Untitled-2" /></a></p>
<p>Since the sketch would not upload to the blog with its data (for now). we made a video. </p>
<p><iframe src="http://player.vimeo.com/video/53912335?badge=0" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><a href="http://vimeo.com/53912335">final</a> from <a href="http://vimeo.com/user14069088">Arfurqan</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>ok from start we wanted to have a more zen like peaceful melodies sounds, Since the example for the sound was not the right example it was hard for u the change it at this moment, secondly the sound was going to be produced by the direction of once head and this event would  also be shown on the display. </p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/sounds-of-journey/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Moving Point and Line</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-moving-point-and-line/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-moving-point-and-line/#comments</comments>
		<pubDate>Tue, 13 Nov 2012 02:47:40 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=368</guid>
		<description><![CDATA[The aim of this exercise was to take an existing code, which was a black background on which a point danced around the while leaving its teases. We had to convert this dancing single point into a dancing single line. I added a red to blue &#038; blue to red gradient to it.To make it [...]]]></description>
				<content:encoded><![CDATA[<p>The aim of this exercise was to take an existing code, which was a black background on which a point danced around the while leaving its teases. </p>
<p> We had to convert this dancing single point into a dancing single line.  I added a red to blue &#038; blue to red gradient to it.To make it more interesting. </p>
<p><strong>Code Given</strong><br />
<canvas width="400" height="400" data-processing-sources="http://legacy.iaacblog.com/intprocessing/furqanhabib/ex-5-twoloversline/TwoLoversPendulumexisting.pde"></canvas></p>
<p><strong>Code Modified</strong><br />
<canvas width="400" height="400" data-processing-sources="http://legacy.iaacblog.com/intprocessing/furqanhabib/ex-5-twoloversline/TwoLoversline.pde"></canvas></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-moving-point-and-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Loop</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/using-loop/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/using-loop/#comments</comments>
		<pubDate>Tue, 13 Nov 2012 02:28:13 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=363</guid>
		<description><![CDATA[The aim of second Exercise was to use an Iteration function. An Iteration function is a function which keeps on repeating as long a statement is correct. There are two types of iteration functions &#8220;for&#8221; &#038; &#8220;while&#8221;. (http://processing.org/reference/for.html).]]></description>
				<content:encoded><![CDATA[<p>     The aim of second Exercise was to use an Iteration function.<br />
      An Iteration function is a function which keeps on repeating as long a statement is correct. There are two types of iteration functions &#8220;for&#8221; &#038; &#8220;while&#8221;. (http://processing.org/reference/for.html). </p>
<p><canvas width="400" height="400" data-processing-sources="http://legacy.iaacblog.com/intprocessing/furqanhabib/ex-2-using-loop/ex1.pde"></canvas></p>
<p><canvas width="400" height="400" data-processing-sources="http://legacy.iaacblog.com/intprocessing/furqanhabib/ex-2-using-loop/ex3.pde"></canvas></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/using-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Perspective Clock</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-perspective-clock/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-perspective-clock/#comments</comments>
		<pubDate>Tue, 13 Nov 2012 02:03:41 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=341</guid>
		<description><![CDATA[The basic aim of this exercise was to represent time in a different graphical ways. so the idea with this clock is to see hours, minutes and the seconds as a square frames which starts from a square in the center, which is far away and as the time progresses these frames come out. Hence [...]]]></description>
				<content:encoded><![CDATA[<p>         The basic aim of this exercise was to represent time in a different graphical ways. so the  idea with this clock is to see hours, minutes and the seconds as a square frames which starts from a square in the center, which is far away and as the time progresses these frames come out. Hence giving it a corridor like feel.</p>
<p>	 The second&#8217;s frame changes it color from blue to red as it progresses. The hour frame is vise versa to the second frame. The minute frames is  represented by green. </p>
<p><strong>Display</strong></p>
<p><a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-perspective-clock/9-2/' title='2:40:15'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/91-150x150.jpg" class="attachment-thumbnail" alt="2:40:15" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-perspective-clock/8-2/' title='18:23:50'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/81-150x150.jpg" class="attachment-thumbnail" alt="18:23:50" /></a><br />
<a href='http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-perspective-clock/7-2/' title='23:45:40'><img width="150" height="150" src="http://legacy.iaacblog.com/mai2012-2013-programming/files/2012/11/71-150x150.jpg" class="attachment-thumbnail" alt="23:45:40" /></a></p>
<p><strong>The Perspective Clock</strong><br />
<canvas width="600" height="600" data-processing-sources="http://legacy.iaacblog.com/intprocessing/furqanhabib/ex-3-prespective-clock\the_perspestive_clock_demo_3.pde"></canvas></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/the-perspective-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Flags</title>
		<link>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/329/</link>
		<comments>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/329/#comments</comments>
		<pubDate>Tue, 13 Nov 2012 00:48:08 +0000</pubDate>
		<dc:creator>habib.furqan@iaac.net</dc:creator>
				<category><![CDATA[Exercises]]></category>
		<category><![CDATA[Furqan Habib]]></category>
		<category><![CDATA[Int Programming]]></category>

		<guid isPermaLink="false">http://legacy.iaacblog.com/mai2012-2013-programming/?p=329</guid>
		<description><![CDATA[The first exercise of Int Programming was to make 8 flags by using Processing ( http://processing.org/). The whole exercise revolved around how to make shapes (rectangle, circle &#8211; ellipse &#038; various polygon) with the right color, size and putting it at the correct location of our canvas. So that in the end we have a [...]]]></description>
				<content:encoded><![CDATA[<p>The first exercise of Int Programming was to make 8 flags by using Processing ( http://processing.org/). </p>
<p>The whole exercise revolved around how to make shapes (rectangle, circle &#8211; ellipse &#038; various  polygon) with the right color, size and  putting it at the correct location of our canvas. So that in the end we have a flags drawn by the computer using processing to type the instruction.  </p>
<p>Below are the few basic instruction that we used, of cause you can find about it more form processing library. (http://processing.org/reference/)</p>
<p>size(width, height);&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;the size of your canvas<br />
fill(red value, green value2, blue value3,);&#8212;&#8212;&#8211;the color of the object<br />
rect(x, y, width, height);&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; draw a  rectangle<br />
ellipse(x, y, width, height);&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-draw an ellipse or circle</p>
<p>Bahrain<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/bahrain.pde"></canvas></p>
<p>Catalonia<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/catalonia_flag.pde"></canvas></p>
<p>Greece<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/greece.pde"></canvas></p>
<p>Guyana<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/guyana_pde.pde"></canvas></p>
<p>Iceland<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/iceland.pde"></canvas></p>
<p>Kuwait<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/kuwait.pde"></canvas></p>
<p>Maldive<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/maldive.pde"></canvas></p>
<p>Bahams<br />
<canvas width="190" height="120" data-processing-sources="http://legacy.iaacblog.com/intprocessing//furqanhabib/ex1-making-flags/the_bahams.pde"></canvas></p>
]]></content:encoded>
			<wfw:commentRss>http://legacy.iaacblog.com/mai2012-2013-programming/2012/11/329/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
