<?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>ITPindia &#187; Processing</title>
	<atom:link href="http://itp.nyu.edu/~ia303/thunk/category/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://itp.nyu.edu/~ia303/thunk</link>
	<description>India’s ITP blog</description>
	<lastBuildDate>Fri, 10 Apr 2009 06:20:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Digital Graffiti Glove: Documentation</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 15:00:15 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=378</guid>
		<description><![CDATA[
Above is the PowerPoint slideshow that Diego made for our in-class presentation. There is also copious supporting material at the following locations:

Photos, with lots of chatty comments

Videos, interspersed with kittenage
Arduino code
Processing code

colors_highlight_new_swatch – this is the color palette module. It reads a text file containing all the colors in the appropriate Krylon spraypaint line and [...]]]></description>
			<content:encoded><![CDATA[<p><embed src="http://blip.tv/play/AeCfEI_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true" style="margin-left:30px;"></embed></p>
<p>Above is the PowerPoint slideshow that Diego made for our in-class presentation. There is also copious supporting material at the following locations:<span id="more-378"></span></p>
<ul>
<li>Photos, with lots of chatty comments<br />
<object width="400" height="300"><param name="flashvars" value="&#038;offsite=true&amp;lang=en-us&#038;page_show_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2F&#038;set_id=72157609600581342&#038;jump_to="></param><param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=63961"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=63961" allowFullScreen="true" flashvars="&#038;offsite=true&amp;lang=en-us&#038;page_show_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2Fshow%2F&#038;page_show_back_url=%2Fphotos%2Findiamos%2Fsets%2F72157609600581342%2F&#038;set_id=72157609600581342&#038;jump_to=" width="400" height="300"></embed></object></li>
<li><a href="http://itpindia.blip.tv/">Videos</a>, interspersed with kittenage</li>
<li><a href="http://itp.nyu.edu/~ia303/PhysComp/final/graffiti_glove_4_sensors.zip">Arduino code</a></li>
<li>Processing code
<ul>
<li><a href="http://itp.nyu.edu/~ia303/ICM/final/colors_highlight_new_swatch/applet/index.html">colors_highlight_new_swatch</a> – this is the color palette module. It reads a text file containing all the colors in the appropriate Krylon spraypaint line and outputs them as a grid of colored squares. The active swatch and rolled-over ones are highlighted with colored borders. It&#8217;s glitchy, as you can see if you look in the upper left corner, but basically it works.</li>
<li><a href="http://itp.nyu.edu/~ia303/ICM/final/spraycans/applet/index.html">spraycans</a> – I would like to make my own set of brushes, based on Diego&#8217;s, that are all the same style but in different sizes. These would then be mapped to the number of fingers being held up, with more fingers triggering a bigger spray cone. This would make it easier for users to get predictable, slightly repeatable results. Toward that end, I made a spraycan object whose spray cone, label number (for the size), and can color (for the paint) are variable. Epileptics should probably not view this sketch.</li>
<li><a href="http://itp.nyu.edu/~ia303/ICM/final/final_application_4/applet/index.html">Main application</a> – The &#8220;final&#8221; in &#8220;final_application_4&#8243; refers to the this being our final project for the semester, not to the code itself actually being final. For, verily, it is not. This is the wrapper into which all the other modules will eventually be rolled. It&#8217;s a whole lot of nested if statements and functions. This program doesn&#8217;t run unless the glove is plugged in; I should fix that, to make it easier to check code while programming.</a></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/12/12/digital-graffiti-glove-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Winter Garamondland</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/12/08/mr-frosty/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/12/08/mr-frosty/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 00:07:39 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[AfterEffects]]></category>
		<category><![CDATA[CommLab]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=359</guid>
		<description><![CDATA[ 
I had wanted to make an AfterEffects animation for my CommLab final project, but then I didn&#8217;t get around to playing with the program until the eleventh hour. The result is definitely not what I had in mind. (What I wanted to do was more like de Vicq de Cumptich&#8217;s Bembo&#8217;s Zoo animations.)
]]></description>
			<content:encoded><![CDATA[<p><embed src="http://blip.tv/play/Ad+wNI_feg" type="application/x-shockwave-flash" width="400" height="283" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<p>I had wanted to make an AfterEffects animation for my CommLab final project, but then I didn&#8217;t get around to playing with the program until the eleventh hour. The result is definitely not what I had in mind. (What I wanted to do was more like de Vicq de Cumptich&#8217;s <a href="http://www.bemboszoo.com/">Bembo&#8217;s Zoo</a> animations.)</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/12/08/mr-frosty/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mittenability</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/23/mittenability/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/23/mittenability/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 21:08:04 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[wearables]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=309</guid>
		<description><![CDATA[
Ever since we started putting the actual glove together, I&#8217;ve been thinking about how the software side of this project should take into account what I expect to be a pretty low-resolution input system.  When I was making a drawing interface for what was purely an ICM project, I was assuming an average level [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/venson/2109678779/"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/elephant_painting.jpg" alt="elephant painting" title="elephant painting" width="450" height="315" class="alignnone size-full wp-image-312" /></a></p>
<p>Ever since we started putting the actual glove together, I&#8217;ve been thinking about how the software side of this project should take into account what I expect to be a pretty low-resolution input system. <span id="more-309"></span> When I was making a drawing interface for what was purely an ICM project, I was assuming an average level of mouse dexterity. The <a href="/2008/11/21/sketching-sketch/">stroke-width picker</a> that I made last Wednesday, for instance, is obviously too small to be operated with our crude pointer.</p>
<p>So what kind of interface <em>would</em> work?</p>
<p>I did some Googling around, to get ideas of what kind of controls can be operated with little dexterity. In particular, I looked for things you can do while wearing mittens, since I figure that that&#8217;s approximately the level of control our hypothetical user will have. Some findings:</p>
<p>Some military radios are touted as being usable even while wearing Arctic mittens: &#8220;The desired frequency is set by four knobs on the side of the radio which can be operated even while the operator is wearing Arctic mittens, or in the dark by counting clicks from the end-stops&#8221; (&#8221;<a href="http://armyradio.com/arsc/customer/search.php?substring=&#038;in_category=&#038;page=2">Clansman PRC-349 / RT-349 VHF Transceiver</a>,&#8221; Armyradio.com). Its that idea of click feedback that I find interesting. If you&#8217;re choosing from a limited set of options&#8212;say, brush sizes&#8212; on a very small display, it&#8217;s not <em>too</em> annoying to cycle through them one at a time to get to what you want. This is the way my cell phone, toaster, and camera menus work. And they all provide beeps or clicks for feedback. What kind of feedback will we give to let our user know what&#8217;s going on?</p>
<p>Other physical controls that can be operated while wearing mittens include a camera&#8217;s zoom ring and aperture and shutter speed dials (Matthew G. Monroe, &#8220;<a href="http://digital-photography-school.com/blog/how-to-shoot-in-freezing-temperatures-and-keep-your-hands-toasty-warm/#more-1364">How to Shoot in Freezing Temperatures and Keep Your Hands Toasty Warm</a>,&#8221; digital-photography-school.com); Velcro closure tabs on outerwear; and KEYnetic&#8217;s <a href="http://www.youtube.com/watch?v=A9DBlolfZd4">rock</a> &#8216;n&#8217; <a href="http://www.hpl.hp.com/techreports/Compaq-DEC/WRL-2000-3.pdf">scroll</a> cell phone interface (via <a href="http://www.lytebyte.com/2008/03/12/rock-n-scroll-%E2%80%93-accelerometer-and-motion-based-input-application-for-nokia-n95/">LyteByte</a>).</p>
<p>On the screen side of things, some relevant input methods include Morse code and onscreen keyboards. Again, I like the simplicity of tapping, though I can also see uses for a matrix of a few very large buttons.</p>
<p>Obviously, with two weeks to go, I don&#8217;t have time to really get into learning interface design for this project, but I think where I&#8217;m going is toward a system that has a drawing mode and a tool selection mode. When you&#8217;re drawing, there&#8217;s nothing else onscreen except maybe one or two tools or hints&#8212;how to turn the drawing line off, how to activate the control menu. You can&#8217;t select these controls onscreen, because how would you do so without drawing a line all the way to the button? And whatever gesture you use to activate the menu must be able to be done without moving the drawing pointer.</p>
<p>The Rock &#8216;n&#8217; Scroll model is pretty good for us within one mode or another, but you have to be able to switch between the two without moving your drawing pointer. So that would involve .&nbsp;.&nbsp;. the thumb? It&#8217;s possible, though not necessarily easy, to move your thumb without moving the rest of your hand. So maybe as long as your thumb is tucked in, the pen is on, and if you stick it out, the pen is off.</p>
<p><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/lineon_lineoff_inverted.gif" title="line on/off" alt="line on/off" width="167" height="150" class="alignnone size-full wp-image-334" /></p>
<p>Once we&#8217;ve got a way to separate the two modes, I was thinking the control screen would be super-simple, with only one control editable at a time. So, something like this:</p>
<p><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/buttons.gif" alt="big buttons" title="big buttons" width="307" height="309" class="alignnone size-full wp-image-317" /></p>
<p><span style="font-size:smaller">Photo: <a href="http://www.flickr.com/photos/venson/2109678779/">Elephant Painting</a> by Venson Kuchipudi. <a href="http://creativecommons.org/licenses/by-nc/2.0/deed.en">Some rights reserved.</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/23/mittenability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sketching sketch</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/21/sketching-sketch/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/21/sketching-sketch/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 13:41:08 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[final project]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=288</guid>
		<description><![CDATA[
I decided to start my final ICM project with the drawing interface, because it&#8217;s a discrete program in itself, and because I could actually sort of picture what it might look like. So I made a list of components—stroke palette, color picker, eraser, eyedropper, transparency picker, etc.—and decided to build them one at a time. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/~ia303/ICM/final/draw_mouse_line_w_stroke_palette/applet/index.html"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/hand_sketch.gif" alt="" title="hand sketch" width="450" height="400" class="alignnone size-full wp-image-289" /></a></p>
<p>I decided to start my final ICM project with the drawing interface, because it&#8217;s a discrete program in itself, and because I could actually sort of picture what it might look like. <span id="more-288"></span>So I made a list of components—stroke palette, color picker, eraser, eyedropper, transparency picker, etc.—and decided to build them one at a time. At the same time, I joined forces on the Physcomp final with Diego, for his glove project that turned out to be a drawing tool, so I knew the interface might need to change, in order to work with that hardware.</p>
<p>It seemed like it had been weeks since I&#8217;d written sketch in Processing, so I started by rereading the chapters on objects and arrays from the book. Then I made the supersimple mouse-tracking line-drawer that we did at the beginning of the semester. And then I added a stroke-width selection palette to work with that. The first version is above. How it works:</p>
<p>The line turns on and off with a mouse click, so when the sketch opens, if you wave your mouse around, you get no line. Then you click once to turn the drawing tool&#8212;let&#8217;s call it a pencil&#8212;on, and you draw, draw, draw. You can click to turn off the pencil at any time, select a different stroke width, and click to start drawing again, from a new mouse position. The stroke that&#8217;s currently selected in the palette appears highlighted in green, with the line in black; all the inactive stroke sizes are gray.</p>
<p>What&#8217;s wrong with this interface:</p>
<ol>
<li>At program launch, it&#8217;s supposed to default to the thinnest line, in black. I forgot to set that up, so instead, if you turn on the pencil without selecting a stroke width first, you get the last line style that was drawn to make the palette, which is the 16-point version in gray. Oops.</li>
<li>There&#8217;s no indicator showing whether the pencil is on or off. So a couple of times when I thought it was off, I moved my mouse and found that it was on.</li>
<li>There&#8217;s no undo. If I could undo the previous stroke, problem 2 would be surmountable.</li>
<li>There&#8217;s no eraser. This would also help with problem 2.</li>
<li>The thicker lines are not smooth. I guess this is because I&#8217;ve got the stroke ends set to square, because it made the palette look neater; either round ends need to be turned back on for drawing, or I need to interpolate the pixels between the line segments.</li>
<li>The focus highlighting on the fattest stroke in the palette isn&#8217;t wide enough.</li>
<li>You shouldn&#8217;t be able to draw behind or over the palette.</li>
</ol>
<p>Questions:</p>
<ul>
<li>Clicking to turn the pencil on and off is a bit confusing, perhaps. Maybe it should be click-and-drag, instead?</li>
<li>This stroke selector is probably too difficult to operate when you&#8217;re using a glove-mounted LED that&#8217;s being tracked by a camera, instead of drawing directly with a mouse. Maybe it should be a single slider, instead, for the PComp version. You basically need to be able to use this interface with mittens on.</li>
</ul>
<p>So, obviously, I need to solve the various problems, of which #3 is probably the tricksiest. To make an undo command, I think I&#8217;ll probably save the drawing state every time the pencil is turned off. And &#8220;undo&#8221; should use the standard keyboard shortcut, of course, as well as having a button.</p>
<p>Once those issues are addressed, I think color is the next thing to deal with. The color picker may be so large as to have to be retractable, in which case saving the drawing state becomes even more essential.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/21/sketching-sketch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Painterly pixels</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/18/painterly-pixels/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/18/painterly-pixels/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 16:46:38 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[ICM]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[inspiration]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=277</guid>
		<description><![CDATA[
If you have trouble imagining how one might make expressive images using tools like Processing, take a look at the beautiful pixel-style art of Craig @ Superbrothers.

Of course, some of the loveliness of these illustrations comes from the fact that they&#8217;re not made of flat, pure-hued pixels—the colored rectangles are grainy, organic, and warm. But [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://illoz.com/superbrothers/?section=portfolios"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/superbrothers.gif" alt="" title="superbrothers" width="330" height="397" class="alignnone size-full wp-image-278" /></a></p>
<p>If you have trouble imagining how one might make expressive images using tools like Processing, take a look at the beautiful pixel-style art of <a href="http://www.superbrothers.ca/">Craig @ Superbrothers</a>.<br />
<span id="more-277"></span><br />
Of course, some of the loveliness of these illustrations comes from the fact that they&#8217;re <em>not</em> made of flat, pure-hued pixels—the colored rectangles are grainy, organic, and warm. But the greater part of their success comes, I think, from the concision of the shapes. So much information is conveyed by so few squares.</p>
<p>If you can channel that kind of economy, you can probably draw with anything.</p>
<p>Via <a href="http://illoz.com/superbrothers/?section=portfolios">illoz</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/18/painterly-pixels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Distributed Drawing</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/11/12/distributed-drawing/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/11/12/distributed-drawing/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 17:36:24 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[ICM]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[final project]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=248</guid>
		<description><![CDATA[
For the last three Novembers, I&#8217;ve coordinated a project called DrawMo!, whereby persons around the world, both known and unknown to each other, draw every day for a month. Some people post their work to Flickr, some blog it either on their own sites or on the group blog, some work only offline; but everybody [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/cow_diagram_450.jpg" alt="butchering diagram" width="450" height="326" class="alignnone size-full wp-image-251" /></p>
<p>For the last three Novembers, I&#8217;ve coordinated a project called <a href="http://drawmo.wordpress.com/">DrawMo!</a>, whereby persons around the world, both known and unknown to each other, draw every day for a month. Some people post their work to Flickr, some blog it either on their own sites or on the group blog, some work only offline; but everybody draws, separately, in his or her own special way.<br />
<span id="more-248"></span><br />
So what I&#8217;d like to do for my final ICM project is add a more collaborative component to this than the group blog, which is, frankly, pretty dull lately. (The Flickr feed is where it&#8217;s at.) The idea is to create online <a href="http://en.wikipedia.org/wiki/Exquisite_corpse">Exquisite Corpse</a>&ndash;type drawings, in which multiple people draw different parts of a single composition, without being able to see most of each other&#8217;s work, or the whole drawing, until it is done. It would have a Web front-end, using PHP to collect and organize the drawings and information about the participants, and there would be an optional Processing-based online drawing tool.</p>
<h3>What Happens</h3>
<ul>
<li>A person, let&#8217;s call her &#8220;Elisabeth,&#8221; visits the site and fills in her name and e-mail address.</li>
<li>If Elisabeth is the first person to arrive, or if a new drawing is being started, she is asked to choose a square to work on and whether she wants to upload a drawing or use the online drawing interface.</li>
<li>Elisabeth can&#8217;t see the the composite drawing-in-progress, but she can see a schematic with gray boxes for squares that are done, labeled with the artist&#8217;s name. If someone else already has a square that is adjacent to hers &#8220;checked out,&#8221; she will be told that she is on the waiting list and will receive an e-mail when the square is free. (She needs to be able to see the edges of any adjacent squares, so that her drawing can link to them visually.)</li>
<li>Elisabeth has one hour to work on her square. After that, she will receive a nag message, which will ask if she wants to continue. If she doesn&#8217;t click &#8220;yes,&#8221; the drawing is posted and it&#8217;s the next person&#8217;s turn. She can only postpone three times, for a total of four hours.</li>
<li>If Elisabeth chooses to use the drawing tool, she&#8217;s presented with a Processing window with a toolbar along the side—rather like Jonathan&#8217;s project from a few weeks back, but with more options. She can draw lines and simple shapes and can control the line width, color, and transparency. There is an eraser, an eyedropper for matching colors, and a &#8220;start over&#8221; button. Maybe a straight line tool. Elisabeth gets a fixed-size canvas, and if other people have already participated in the drawing, she will see the edges of the squares that are adjacent to hers, so that she can line things up</li>
<li>The drawing consists of a 4 &times; 4&ndash;square grid, with each block being 600 pixels square. So the finished piece is 2,400 pixels square, or 8 inches, if printed out at 300 dpi—suitable for framing.</li>
<li>If Elisabeth has chosen to upload an image, she can then draw on top of it.</li>
<li>When Elisabeth is done, she saves her drawing and it is added to the composite drawing. Once she&#8217;s saved her drawing, she is allowed to rejoin the queue, if she wishes to draw another square.</li>
<li>The next person on the waiting list gets an e-mail announcing that it is his or her turn to draw. Everyone except the last person can choose which square to draw on.</li>
<li>Finished drawings are archived on the website and can be viewed at any time.</li>
<li>When the drawing is complete, everybody who participated receives an e-mail with a link. The final piece is posted to Flickr and can be downloaded as a JPEG or PDF.</li>
</ul>
<h3>Questions</h3>
<ul>
<li>How to let multiple people draw at one time?</li>
<li>Should people be able to revise their squares after they&#8217;ve check them in?</li>
<li>Should comments be allowed on the squares? On the whole drawing?</li>
</ul>
<h3>Some Other Collaborative Drawing Programs</h3>
<p><a href="http://www.drawball.com/">Drawball</a><br />
<a href="http://krazycanvas.com/">krazycanvas</a><br />
<a href="http://www.netsketchapp.com/">NetSketch</a></p>
<p><span style="font-size:smaller">Photo: <a href="http://www.flickr.com/photos/veganstraightedge/2955258165/">butcher shop cow diagram in window in bernal heights, san francisco, california</a> by veganstraightedge  / shaners becker.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/11/12/distributed-drawing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MC Squared</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/24/mc-squared/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/24/mc-squared/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 07:35:11 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[midterm]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=154</guid>
		<description><![CDATA[
Get it now! Detailed, full-color documentation of the famed MC Squared midterm project!
MC_Squared(fin).pdf (14.68 MB; sorry, it contains a couple of embedded videos)
We gave our presentation today, the thing mostly worked, and it wasn&#8217;t too embarrassing. And, unlike some people in the class, my group actually got two or three hours of precious, golden sleep [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/~ia303/PhysComp/midterm/MC_Squared(fin).pdf"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/thumbnails.gif" alt="MC Squared documentation thumbnails" title="MC Squared documentation thumbnails" width="356" height="409" class="alignnone size-full wp-image-157" /></a></p>
<p>Get it now! Detailed, full-color documentation of the famed MC Squared midterm project!</p>
<p><a href="http://itp.nyu.edu/~ia303/PhysComp/midterm/MC_Squared(fin).pdf">MC_Squared(fin).pdf</a> (14.68 MB; sorry, it contains a couple of embedded videos)</p>
<p>We gave our presentation today, the thing mostly worked, and it wasn&#8217;t too embarrassing. And, unlike some people in the class, my group actually got two or three hours of precious, golden <em>sleep</em> the night&#8212;well, morning&#8212;before. (We closed down the floor at about 3:30 a.m., but a few of our classmates relocated to the library or some such place to keep working. Everybody seemed pretty crispy by 9:30 this morning.)</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/24/mc-squared/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp, week 6: Bride of Serial Out</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-week-6-bride-of-serial-out/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-week-6-bride-of-serial-out/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 07:07:42 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=140</guid>
		<description><![CDATA[This week&#8217;s lab was mostly uneventful, although it took me something like six hours to do&#8212;I started after our CommLab make-up class ended, around 4 pm, and stayed until nine or ten.
First I thought I&#8217;d use one of these nifty sensors I got from SparkFun, 

but then I realized I have no idea how you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/physcomp/Labs/SerialDuplex">This week&#8217;s lab</a> was mostly uneventful, although it took me something like six hours to do&#8212;I started after our CommLab make-up class ended, around 4 pm, and stayed until nine or ten.</p>
<p>First I thought I&#8217;d use one of these nifty sensors I got from SparkFun, </p>
<p><a href="http://www.flickr.com/photos/indiamos/2943803298/" title="PComp lab, week 5: Serial Out by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3031/2943803298_1f73c40d47_m.jpg" width="240" height="180" alt="PComp lab, week 5: Serial Out" /></a></p>
<p>but then I realized I have no idea how you&#8217;re supposed to hook them up. Stick the pins straight into the breadboard? Solder wires on? How long should the wires be? So instead I used the stupid knob again, plus one of the IRs I bought for our midterm project.</p>
<p>The thrill of the knob has totally worn off. Then I saw Jorge soldering wires to an ultrasonic range finder just like the one I have, and I thought maybe it was a good time to try out my own. Ha! Thus began one of my more frustrating soldering bouts so far.</p>
<p><a href="http://www.flickr.com/photos/indiamos/2943803750/" title="Helping hands by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3221/2943803750_eb43911272_m.jpg" width="240" height="180" alt="Helping hands" /></a></p>
<p>It must have taken me forty-five minutes to solder three freaking wires onto this cookie . . . and then it took me another hour to realize that the reason it wasn&#8217;t working was that I&#8217;d soldered the yellow wire to the wrong hole. And then I couldn&#8217;t get it <em>un</em>soldered to save my life, so I just attached a fourth wire.</p>
<p>Finally I got them all hooked up:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2942944227/" title="1 digital + 2 analog by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3206/2942944227_264e83109e_m.jpg" width="180" height="240" alt="1 digital + 2 analog" /></a></p>
<p>And then, there was serial output:</p>
<ul>
<li><a href="http://www.flickr.com/photos/indiamos/2946608608/in/set-72157607212375323/">&#8220;Now you get a range of garbage characters.&#8221;</a></li>
<li><a href="http://www.flickr.com/photos/indiamos/2946608692/in/set-72157607212375323/">&#8220;List all the available serial ports.&#8221;</a></li>
<li><code> <a href="http://www.flickr.com/photos/indiamos/2946609060/in/set-72157607212375323/">// print out the values you got:</a><br />
    for (int sensorNum = 0; sensorNum < sensors.length; sensorNum++) {<br />
      print("Sensor " + sensorNum + ": " + sensors[sensorNum] + "\t");<br />
    }<br />
    // add a linefeed after all the sensor values are printed:<br />
    println();</code></li>
</ul>
<p>Et cetera.</p>
<p>After all that hair-pulling, the ultrasonic sensor was giving me really erratic readings (then again, so was the push-button switch: its value didn't change when I <em>pushed</em> the button, but it did when I <em>touched</em> the button). So I switched to two IR sensors, since I had so many lying around.</p>
<p>Then I got to the part about the handshake. Handshaking? Was not happening for me. I think it may have had something to do with this:</p>
<p><a href="http://www.flickr.com/photos/indiamos/2945745779/" title="PhysComp homework, week 6: serial out 2: 15 by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3203/2945745779_02eb104340_m.jpg" width="226" height="240" alt="PhysComp homework, week 6: serial out 2: 15" /></a> <a href="http://www.flickr.com/photos/indiamos/2945745813/" title="PhysComp homework, week 6: serial out 2: 16 by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3049/2945745813_3abc083f17_m.jpg" width="226" height="240" alt="PhysComp homework, week 6: serial out 2: 16" /></a></p>
<p>The Processing application was looking for the word "hello," but the Arduino didn't seem to be able to say the word without stuttering horribly. I tried for more than an hour, I think, to get them to talk to each other, but finally I had to just give up.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/16/physcomp-week-6-bride-of-serial-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp midterm project, week 2: Rough prototype</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/15/midterm-project-week-2-rough-prototype/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/15/midterm-project-week-2-rough-prototype/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 15:35:02 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[ICM]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[midterm]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=123</guid>
		<description><![CDATA[
Part 2 in the saga that began last week.
After spending about an hour playing with the Minim library in Processing, I went into the lab to see if I could get it to work with actual input from our IR sensors. This was basically a repeat of this week&#8217;s homework, which I&#8217;d done, for once, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/indiamos/2943757274/" title="A semi-working prototype! by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3234/2943757274_c221cdf116.jpg" width="450" height="282" alt="A semi-working prototype!" /></a></p>
<p>Part 2 in <a href="http://itp.nyu.edu/~ia303/thunk/2008/10/09/midterm-project-week-1-observation/">the saga that began last week</a>.</p>
<p>After spending about an hour playing with the <a href="http://code.compartmental.net/tools/minim/">Minim</a> library in Processing, I went into the lab to see if I could get it to work with actual input from our IR sensors. This was basically a repeat of this week&#8217;s homework, which I&#8217;d done, for once, <em>before</em> the morning it was due, so the wiring part was uncharacteristically easy. I need to get some header pins, though; the stranded wire on the IR sensors is a pain to plug into a breadboard.</p>
<p>So our project&#8212;which I realize I didn&#8217;t explain last week&#8212;is going to be a cubeoid musical (or, at least, noisy) instrument with an infrared sensor set into each side, mounted corner-up (<a href="http://www.flickr.com/photos/indiamos/2926903690/">as demonstrated by Diego</a>) on a camera tripod. One or more players can then use their hands or other body parts or utensils or pets to trigger different sounds from each side. We were thinking that for Phase One, i.e., this week, we&#8217;d have the sounds be synthesized tones, and that for Phase Two, the final version, we&#8217;d make it play various different loops.</p>
<p>It turned out, however, that it&#8217;s far easier&#8212;for me, at least&#8212;to get Minim to play loops than to synthesize sounds. And there are a lot of free sound clips out there in the world. I got mine from <a href="http://www.canadianmusicartists.com/samples.html">CanadianMusicArtists.com</a>. This pre-prototype, therefore, has only two sensors, both of which trigger audio loops. It also has the beginnings of a lame-ass bouncing ball animation, but it doesn&#8217;t do what I want it to do, mostly because the signal&#8217;s changing too rapidly. Graphics were a tentative feature for Phase Two, so I&#8217;m not going to fuss with that part any more this week.</p>
<p>Here&#8217;s some crappy video of Filippo (left) and Diego (right) making the sensors generate noise. You can barely hear it, unfortunately&#8212;listen for the annoying rapid clicking sound, which I think is the hi-hat sound. </p>
<p><embed src="http://blip.tv/play/AdOvdI_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<p>The beauty part? This doubles as my <a href="http://itp.nyu.edu/~sve204/icm_fall08/">ICM</a> homework.</p>
<p>Here&#8217;s the Arduino code:</p>
<blockquote><p><code>/*  Reads data from two analog sensors (IR sensors, in this specific example)<br />
    and outputs the values in a format that can be easily parsed in Processing.<br />
*/</p>
<p>int ledPin = 7;<br />
int irSensor0 = 0;<br />
int irSensor1 = 1;<br />
int sensorValue = 0;</p>
<p>void setup()<br />
{<br />
    //  Flash the LED three times to announce the start of program.<br />
    pinMode( 7, OUTPUT );<br />
    digitalWrite( 7, LOW );<br />
    delay( 300 );<br />
    digitalWrite( 7, HIGH );<br />
    delay( 300 );<br />
    digitalWrite( 7, LOW );<br />
    delay( 300 );<br />
    digitalWrite( 7, HIGH );<br />
    delay( 300 );<br />
    digitalWrite( 7, LOW );<br />
    delay( 300 );<br />
    digitalWrite( 7, HIGH );<br />
    delay( 300 );<br />
    digitalWrite( 7, LOW );</p>
<p>    // Start serial port at 9600 bps:<br />
    Serial.begin( 9600 );<br />
}</p>
<p>void loop()<br />
{<br />
    if (Serial.available() > 0)<br />
    {<br />
    //  Read the first (0) sensor:<br />
    sensorValue = analogRead( irSensor1 );</p>
<p>    // print the results:<br />
    Serial.print( sensorValue, DEC );<br />
    Serial.print( "\t" );</p>
<p>    // read the second (1) sensor:<br />
    sensorValue = analogRead( irSensor0 );<br />
    // print the results:<br />
    Serial.println( sensorValue, DEC );</p>
<p>    //  Follow the last sensor value with a println() so that<br />
    //  each set of four readings prints on a line by itself:<br />
    Serial.println( sensorValue, DEC );<br />
    //  delay ( 100 );<br />
    }<br />
}</code></p></blockquote>
<p>And here&#8217;s the  <a href="http://itp.nyu.edu/~ia303/ICM/week6/music_box_2xIR/applet/music_box_2xIR.pde">Processing code</a>, where most of the excitement takes place.</p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/15/midterm-project-week-2-rough-prototype/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PhysComp, week 5: Serial Out</title>
		<link>http://itp.nyu.edu/~ia303/thunk/2008/10/09/physcomp-week-5-serial-out/</link>
		<comments>http://itp.nyu.edu/~ia303/thunk/2008/10/09/physcomp-week-5-serial-out/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 12:54:11 +0000</pubDate>
		<dc:creator>India</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[PhysComp]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[homework]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://itp.nyu.edu/~ia303/thunk/?p=108</guid>
		<description><![CDATA[
I was trying to figure out the math to make part of the graph show up as brown&#8212;i.e., earth&#8212;and then scatter flowers on top, but something wasn&#8217;t working out and I was running late, so I gave up.
Anyway, here are the progress shots:
Setup:

Pot hooked up:

Blinking LED:

I also shot a fascinating movie of the program loading [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/picture-7.png"><img src="http://itp.nyu.edu/~ia303/thunk/wp-content/uploads/picture-7.png" alt="" title="Serial out graph" width="480" height="357" class="alignnone size-full wp-image-109" /></a></p>
<p>I was <em>trying</em> to figure out the math to make part of the graph show up as brown&#8212;i.e., earth&#8212;and then scatter flowers on top, but something wasn&#8217;t working out and I was running late, so I gave up.</p>
<p>Anyway, here are the progress shots:</p>
<p>Setup:<br />
<a href="http://www.flickr.com/photos/indiamos/2926906248/" title="P1000190.JPG by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3098/2926906248_38d7beec10_m.jpg" width="240" height="180" alt="P1000190.JPG" /></a></p>
<p>Pot hooked up:<br />
<a href="http://www.flickr.com/photos/indiamos/2926907936/" title="P1000199.JPG by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3239/2926907936_52047b2cea_m.jpg" width="240" height="180" alt="P1000199.JPG" /></a></p>
<p>Blinking LED:<br />
<a href="http://www.flickr.com/photos/indiamos/2926055893/" title="P1000204.JPG by indiamos, on Flickr"><img src="http://farm4.static.flickr.com/3269/2926055893_09a3388587_m.jpg" width="240" height="180" alt="P1000204.JPG" /></a></p>
<p>I also shot a <em>fascinating</em> movie of the program loading on the Arduino and starting up&#8212;you know, flickering yellow light, then blinking LED; hot stuff:</p>
<p><embed src="http://blip.tv/play/AdKrL4_feg" type="application/x-shockwave-flash" width="320" height="270" allowscriptaccess="always" allowfullscreen="true"></embed> </p>
<p>Final code on Arduino:</p>
<blockquote><p><code>int potPin = 0;<br />
int potValue = 0;<br />
int ledPin = 2;</p>
<p>void setup()<br />
{<br />
  // flash LED three times to announce start of program<br />
  pinMode( 2, OUTPUT );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );<br />
  delay( 500 );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );<br />
  delay( 500 );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );<br />
  delay( 500 );<br />
  digitalWrite( 2, LOW );<br />
  delay( 500 );<br />
  digitalWrite( 2, HIGH );</p>
<p>  // start serial port at 9600 bps:<br />
  Serial.begin( 9600 );<br />
}</p>
<p>void loop()<br />
{<br />
  // read analog input, divide by 4 to fit it in the range 0-255:<br />
  potValue = analogRead( potPin );<br />
  potValue = potValue / 4;<br />
  Serial.print( potValue, BYTE );<br />
  // pause for 10 milliseconds:<br />
  delay( 10 );<br />
}<br />
</code></p></blockquote>
<p><a href="http://itp.nyu.edu/~ia303/PhysComp/week5/graph_serial_from_pot/applet/">Final Processing applet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://itp.nyu.edu/~ia303/thunk/2008/10/09/physcomp-week-5-serial-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
