<?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>lithium flowers bloom &#187; 4 in 4</title>
	<atom:link href="http://leejayxia.com/blog/category/itp/4-in-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://leejayxia.com/blog</link>
	<description>the weblog</description>
	<lastBuildDate>Sat, 15 May 2010 20:52:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>4 in 4</title>
		<link>http://leejayxia.com/blog/4-in-4/</link>
		<comments>http://leejayxia.com/blog/4-in-4/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 19:18:00 +0000</pubDate>
		<dc:creator>L.J</dc:creator>
				<category><![CDATA[4 in 4]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[paper beast]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[shuttle bus]]></category>
		<category><![CDATA[sudoku]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[winter]]></category>

		<guid isPermaLink="false">http://leejayxia.com/blog/?p=394</guid>
		<description><![CDATA[I joined 4-in-4 event at ITP in the winter break and I guess it&#8217;d better to also have a backup here. DAY 1. Remaking NYU shuttle bus timetable (link) I always enjoyed taking shuttle buses to go to school but often find the schedule map frustrating, so in day one I decided to make a [...]]]></description>
			<content:encoded><![CDATA[<p>I joined <a href="http://itp.nyu.edu/4-in-4">4-in-4</a> event at ITP in the winter break and I guess it&#8217;d better to also have a backup here.</p>
<p><strong>DAY 1. Remaking NYU shuttle bus timetable (<a href="http://itp.nyu.edu/4-in-4/day-1/remaking-nyu-bus-timetable/">link</a>)</strong></p>
<p>I always enjoyed taking shuttle buses to go to school but often find the schedule map frustrating, so in day one I decided to make a really simple new interface just to query for the next bus, without having to go through all different schedules and look into ten thousand lines just to find my bus info.</p>
<p>The original timetable is in PDF format, meaning that I have to extract the data semi-manually with a little help of some scripts and a big help from excel. I realized later that it&#8217;s still too ambitious to finish all the data extracting in one day so I omitted the late night safe ride schedule.</p>
<p>Also I chose to create a web site with ruby on rails since I just wanna play with it somehow. I don&#8217;t know ruby well so more than like 3 hours of time I was digging in the documents and manuals.</p>
<p>So here is how it works. Just a tiny little help to tell you when the next bus comes!</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/bus_route_1.png" rel="lightbox[394]"><img class="alignnone size-medium wp-image-512" title="bus_route_1" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/bus_route_1-300x193.png" alt="bus_route_1" width="300" height="193" /></a><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/bus_route_2.png" rel="lightbox[394]"><img class="alignnone size-medium wp-image-513" title="bus_route_2" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/bus_route_2-300x193.png" alt="bus_route_2" width="300" height="193" /></a></p>
<p>Of course this is not a fully functional application yet but I already have all the schedule data converted into a mysql database. One day&#8217;s time doesn&#8217;t allow me to complete all verification of the data I input, and I don&#8217;t have time to put it online yet. So time permitted, I&#8217;ll definitely finish it and publish as a public tool.</p>
<p>The mysql dump file could be downloaded via <a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/shuttle_dump-13012009sql.zip">this link</a>.</p>
<p>I&#8217;ll turn away from coding for day 2. Maybe do some drawings?</p>
<p><strong>DAY 2. Tutorial of making wonton (<a href="http://itp.nyu.edu/4-in-4/day-2/tutorial-of-making-wonton/">link</a>)</strong></p>
<p>I created a tutorial of making wonton for day 2. Just to turn away from programming a little bit.</p>
<p>click image for larger view.</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/wonton_how_to.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-689" title="wonton_how_to" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/wonton_how_to-300x225.jpg" alt="wonton_how_to" width="300" height="225" /></a></p>
<p><strong>DAY 3. Grayscale sudoku game (<a href="http://itp.nyu.edu/4-in-4/day-3/grayscale-sudoku-game/">link</a>)</strong></p>
<p>So the initial plan for today was to write a short script that parses chat logs and make a website for people to share. It&#8217;s kinda like a QDB thing and I&#8217;ve been thinking of doing that for long time. However when I was talking to Matt (who&#8217;s kind enough to help me out with some room construction) he just mentioned &#8220;probably it&#8217;d be easier to find patterns for sudoku solutions when there&#8217;s just gradient colors instead of the numbers&#8221;. I used to play sudoku a lot but I cannot do it really quick, often needed half an hour with spatial note-taking area on the paper. So I was really curious so I just made this in the afternoon.</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/gradientsudoku_play2.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-873" title="gradientsudoku_play2" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/gradientsudoku_play2-287x300.jpg" alt="gradientsudoku_play2" width="287" height="300" /></a></p>
<p>I cannot say it help much to *solve* the game. The problem I see is that human eyes (at least my eyes) are not that efficient in telling slight difference in grayscale. To me it&#8217;s like an advanced mode for sudokumanias. Maybe I&#8217;ll love it after playing for a while&#8230;</p>
<p>I didn&#8217;t develop my own algorithm to generate a sudoku, the game is downloaded on the fly from a website called websudoku that I used to visit a lot. Anyway I still added the label mode so that it&#8217;s still reasonable for me.</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/gradientsudoku_label.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-875" title="gradientsudoku_label" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/gradientsudoku_label-287x300.jpg" alt="gradientsudoku_label" width="287" height="300" /></a></p>
<p>And a check mode that tells how messed up you are.</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/gradientsudoku_checkmode.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-874" title="gradientsudoku_checkmode" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/gradientsudoku_checkmode-287x300.jpg" alt="gradientsudoku_checkmode" width="287" height="300" /></a></p>
<p>If you still wanna give a try. Download the applet via <a href="http://leejayxia.com/processing/gradientSudoku.zip">this link</a>. It somehow doesn&#8217;t work in the browser now. PLEASE please do let me know if the gradient does help pattern the game. Synesthetic people, anyone?</p>
<p>Controls:</p>
<ul>
<li>array keys to navigate</li>
<li>space bar to switch color (number)</li>
<li>&#8220;s&#8221; to start over</li>
<li>&#8220;c&#8221; to toggle check mode</li>
<li>&#8220;l(el)&#8221; to toggle label display</li>
<li>&#8220;r&#8221; to load a new game</li>
</ul>
<p>BTW does anyone have a hosting service that can do ruby on rails that I can borrow so that I can publish my shuttle bus tool?</p>
<p><strong>DAY 4. Paperbeast (<a href="http://itp.nyu.edu/4-in-4/day-4/paper-beast/">link</a>)</strong></p>
<p>I want to make a <a href="http://www.strandbeest.com/">strandbeest</a>-like structure today and understand how it works. I know it&#8217;s too ambitious to make the whole the kinetic structure that moves gracefully, so it&#8217;s just like a research on the strandbeest, made out of paper. Or at least I shall be able to make something that *looks* like it.</p>
<p>(<a href="http://www.ted.com/talks/theo_jansen_creates_new_creatures.html" target="_blank">Click to view TED talk on strandbeest by creator Theo Jansen</a>)</p>
<p>legs:</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05287.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-1129" title="dsc05287" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05287-300x225.jpg" alt="dsc05287" width="300" height="225" /></a><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05288.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-1130" title="dsc05288" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05288-300x225.jpg" alt="dsc05288" width="300" height="225" /></a></p>
<p>It cannot do the walking yet since I need to develop more legs to keep the balance and steadiness in the move, and I haven&#8217;t fully figured out how to coordinate the leg movements yet. So no videos, just pictures.</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05289.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-1131" title="dsc05289" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05289-300x225.jpg" alt="dsc05289" width="300" height="225" /></a><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05291.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-1133" title="dsc05291" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05291-300x225.jpg" alt="dsc05291" width="300" height="225" /></a><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05294.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-1135" title="dsc05294" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05294-300x225.jpg" alt="dsc05294" width="300" height="225" /></a><a href="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05295.jpg" rel="lightbox[394]"><img class="alignnone size-medium wp-image-1136" title="dsc05295" src="http://leejayxia.com/blog/wp-content/uploads/2009/01/dsc05295-300x225.jpg" alt="dsc05295" width="300" height="225" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://leejayxia.com/blog/4-in-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

