<?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; larvae</title>
	<atom:link href="http://leejayxia.com/blog/tag/larvae/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>Visualizing Smell: filter, represent, refine and interact</title>
		<link>http://leejayxia.com/blog/visualizing-smell-filter-represent-refine-interact/</link>
		<comments>http://leejayxia.com/blog/visualizing-smell-filter-represent-refine-interact/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 06:57:00 +0000</pubDate>
		<dc:creator>L.J</dc:creator>
				<category><![CDATA[Visualizing the Five Senses]]></category>
		<category><![CDATA[Fall 2008]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[larvae]]></category>
		<category><![CDATA[odor]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[smell]]></category>
		<category><![CDATA[Visualization]]></category>
		<category><![CDATA[Week7]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://leejayxia.com/blog/?p=257</guid>
		<description><![CDATA[It had been an intense week for p-com so my visualizing piece is not a finished work yet. Here&#8217;s what I&#8217;ve done from last week for visualizing the smell: Filter In my case I don&#8217;t really need all data of the gradient field pixel by pixel since I&#8217;m just gonna draw the contour lines for [...]]]></description>
			<content:encoded><![CDATA[<p>It had been an intense week for p-com so my visualizing piece is not a finished work yet. Here&#8217;s what I&#8217;ve done from last week for visualizing the smell:</p>
<h2>Filter</h2>
<p>In my case I don&#8217;t really need all data of the gradient field pixel by pixel since I&#8217;m just gonna draw the contour lines for different levels of odor density. Hence I extracted the data only while the odor changes significantly from one level to another and optimized the gradient data file from 5.8MB to 28KB. It not only helps shorten the load time, and dramatically decreases the lag in the draw loop.</p>
<p>Another performance issue found in the iterations was that while the text labels were drawn in SCREEN text mode, it was <em>REALLY</em> slow, taking almost ten times of the default MODEL mode. It&#8217;s definitely not acceptable in a visualization aiming for interaction (with a lot of redrawing).</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/odor-field-data.jpg" rel="lightbox[257]"><img class="size-medium wp-image-258 alignnone" title="odor-field-data" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/odor-field-data-300x207.jpg" alt="" width="300" height="207" /></a></p>
<h2>Represent</h2>
<p>I always wish to present the expected paths of larvae and distinct them from an incorrect navigation. Also I suppose in the data given, all larva steps are sampled on a same interval of time (since they were captured by a camera, maybe controlled by a time lapse program?), then I must present the time factor too in the static image. So here&#8217;s what I get:</p>
<ul>
<li>Each path is marked clearly with label on both start and end all the time;</li>
<li>Paths are grouped in similar colors if they belong to same types of larvae (unilateral or bilateral);</li>
<li>The shape of the ending label changes when the larva stops moving or &#8220;quits&#8221;;</li>
<li>The size of the ending label increases through time, so that the user can tell which larva has travelled for longer time, and which one gets to the destination earlier;</li>
<li>The path goes thicker while it&#8217;s moving towards the odor center, and becomes thinner if the larva is moving away from the expected destination;</li>
</ul>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/larva_path.jpg" rel="lightbox[257]"><img class="alignnone size-medium wp-image-259" title="larva_path" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/larva_path-300x140.jpg" alt="" width="300" height="140" /></a></p>
<h2>Refine and Interact</h2>
<p>For both debugging and presentation need, I decide to group the paths drawn on the screen in 10, in each one of them one unilateral larva and one bilateral.</p>
<ul>
<li>Keyboard shortcut 1 &#8211; 9 are used to display different amount of groups on screen, 0 key will show them all;</li>
</ul>
<p>The user should also have the capability of exploring through time, that&#8217;s why a step slider is provided in all view. The user can always drag the slider to a certain point of time to observe the larvae behavior (statistically).</p>
<ul>
<li>Keyboard shortcut + and &#8211; are used to navigate through time;</li>
</ul>
<p>One last thing is debug information for the developer (me!). I print out the actual and expected direction of each step for debugging in the debug mode (keyboard shorcut d). In fact it&#8217;s visually more beautiful than usual.</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/debug-view.jpg" rel="lightbox[257]"><img class="alignnone size-medium wp-image-260" title="debug-view" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/debug-view-300x193.jpg" alt="" width="300" height="193" /></a></p>
<p>There&#8217;re also weird thing that I cannot explain throught the data. What&#8217;s the real exiting criteria of the larvae? Apparently some of them exit by hitting the wall (orange A,D, blue C), others might be exitting by getting to destination, orange F might triggered a time out, but what&#8217;s happening with orange B and blue C? Blue C is even out of the field!</p>
<p>The jpeg screenshot are terribly poor in quality, <a href="http://leejayxia.com/processing/v5s_smell/" target="_blank">play with the applet directly via this link</a>. It should be super fast!</p>
<p>What&#8217;s next?</p>
<p>As I said this is not a complete work since I just don&#8217;t have enough time to finish it. The <a href="http://leejayxia.com/processing/v5s_zipcode/" target="_blank">zipcode exercise</a> was really helpful though in methodology aspect. I didn&#8217;t find a good way to feature the integrator class in this smell exercise. But there&#8217;re some other points that I wish to improve:</p>
<ul>
<li>legends and instructions to tell difference between colors, shapes and strokes;</li>
<li>data mining: statistic data on different type of groups. Possible axises: quit time (on success/failure), quit steps (on success/failure), etc;</li>
<li>visual effect: not only dymamic effects for interaction, this data could be rendered as a nice visual art work as well. In that sense more data could be used without compromising to interaction needs;</li>
<li>what else?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://leejayxia.com/blog/visualizing-smell-filter-represent-refine-interact/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scent visualization preparation</title>
		<link>http://leejayxia.com/blog/scent-visualization-preparation/</link>
		<comments>http://leejayxia.com/blog/scent-visualization-preparation/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 07:56:04 +0000</pubDate>
		<dc:creator>L.J</dc:creator>
				<category><![CDATA[Visualizing the Five Senses]]></category>
		<category><![CDATA[Fall 2008]]></category>
		<category><![CDATA[ITP]]></category>
		<category><![CDATA[larvae]]></category>
		<category><![CDATA[odor]]></category>
		<category><![CDATA[smell]]></category>
		<category><![CDATA[Visualization]]></category>
		<category><![CDATA[Week5]]></category>

		<guid isPermaLink="false">http://leejayxia.com/blog/?p=213</guid>
		<description><![CDATA[Just spent a whole afternoon browsing for different visualizations and to my surprise I didn&#8217;t find many cases directly dealing with the smell. This week&#8217;s case is to visualize the data collected in an experiment by Dr. Vosshall&#8217;s research group on the navigation of genetically modified drosophila larvae through an odor field. It started to [...]]]></description>
			<content:encoded><![CDATA[<p>Just spent a whole afternoon browsing for different visualizations and to my surprise I didn&#8217;t find many cases directly dealing with the smell. This week&#8217;s case is to visualize the data collected in an experiment by Dr. Vosshall&#8217;s research group on the navigation of genetically modified drosophila larvae through an odor field. It started to be a little bit overwhelmed when it comes to a specific case to visualize, and actually the visualization work used in the paper are pretty comprehensive to me already. Anyway I still tried to write down the different alternatives to visualize each element in the experiment for next week.</p>
<h2><span style="color: #993300;"><span style="text-decoration: underline;"><strong>2 Paths (unilateral and bilateral olfactory). </strong></span></span></h2>
<p><strong></strong>In the experiment actually 4 different groups of larvae were used.</p>
<p style="padding-left: 30px;">a) Or83b<sup>–/–</sup> mutant, non-functional in detecting the odor used in the experiment;</p>
<p style="padding-left: 30px;">b) unilateral left (only left olfactory organ is functioning);</p>
<p style="padding-left: 30px;">c) unilateral right;</p>
<p style="padding-left: 30px;">d) full functional wild type.</p>
<p>We rule out the case <span style="text-decoration: underline;">a</span> and combine <span style="text-decoration: underline;">b</span> &amp; <span style="text-decoration: underline;">c</span> together just to simplify the visualization to support the conclusion from the experiment. This is where we start the &#8220;illusion&#8221; by trimming down the source data from the experiment. However, some of the features should not be ignored in the different behaviors:</p>
<p style="padding-left: 30px;"><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/235_big02.jpg" rel="lightbox[213]"><img class="size-thumbnail wp-image-215 alignright" title="North American Subways" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/235_big02-150x150.jpg" alt="" width="120" height="120" /></a><strong><em><span style="text-decoration: underline;">The Difference</span></em></strong></p>
<p style="padding-left: 30px;">First of all, the two different types of behaviors should be splitted on the final visualization. The paths should remain looking like a path, or course, to avoid unnecessary confusion, but they should be clearly marked with (at least) 2 different colors, or placed in different levels to differentiate. The sample image is the North American Subways Map from <a href="http://www.radicalcartography.net/?subways" target="_blank">http://www.radicalcartography.net/?subways</a>. The path could even be assigned a non-opaque alpha value so that we could later see the accumulation of color for a certain type of larva. This would also be discussed later.</p>
<p style="padding-left: 30px;"><strong><em><span style="text-decoration: underline;">The Route</span></em></strong></p>
<p style="padding-left: 30px;"><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/figure8.png" rel="lightbox[213]"><img class="size-thumbnail wp-image-214 alignright" title="eye-tracking map" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/figure8-150x150.png" alt="" width="120" height="120" /></a></p>
<p style="padding-left: 30px;">The navigation of the larva could be told by its movement, and we need to keep track of this route.</p>
<p style="padding-left: 30px;">The starting and ending point should be indicated in the visualization. They should be either marked clearly on a static image, or be presented in a video through time.</p>
<p style="padding-left: 30px;">I found the work from <a href="http://www.ijdesign.org/ojs/index.php/IJDesign/article/view/267/163" target="_blank">an experiment in which different cognitive styles of Chinese, Koreans and Americans were compared</a>. In the report, Eye Tracking Data Visualization (<a href="http://www.ijdesign.org/ojs/public/journals/1/267/Figure7.png" target="_blank" rel="lightbox[213]">pic1</a>, <a href="http://www.ijdesign.org/ojs/public/journals/1/267/Figure8.png" target="_blank" rel="lightbox[213]">pic2</a>, <a href="http://www.ijdesign.org/ojs/public/journals/1/267/Figure9.png" target="_blank" rel="lightbox[213]">pic3</a>) were presented to indicate user attention to a certain web page through time. Different colors are used for different period of browsing time. This technique could also be applied to the larva navigation, for instance, the route starts with a lighter version of the base color (which indicates its type) and throughout its journey the routh grows darker. Or, in the simplest form, a small triangle in the front indicating the direction.</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><em><strong>The Weighed</strong></em></span></p>
<p style="padding-left: 30px;"><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/15_big01.jpg" rel="lightbox[213]"><img class="alignright size-thumbnail wp-image-216" title="Traffic Flow Map" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/15_big01-150x150.jpg" alt="" width="120" height="120" /></a>I would also like to emphasize on the &#8220;expected&#8221; decision of the larva. If a step it took was expected (towards the odor), this step should be weighed more than an incorrect step (away from the odor). The &#8220;correctness&#8221; of a step could be compared by the angle between current larva direction (by calculating the previous and current position) and the vector of that location (which points to the stronger odor source). A weighed &#8220;correct&#8221; step could be thicker in shape, or having different texture on it. Sample image from <a href="http://www.telegeography.com/" target="_blank">TeleGeography</a> by Timothy J. Stronge.</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><em><strong>The Group</strong></em></span></p>
<p style="padding-left: 30px;">The group average behavior of a certain type of larvae let us see beyond individual exceptions, so that I think a heatmap could be a good idea to present that. This technique is also used in Dr. Vosshall&#8217;s paper. Due to the fact that the larvae location was captured rather low-res, the heatmap was pixelated. A 3D histogram over the surface might also help, but I will try to look for more simple solution in 2D first. If the path was at first place rendered as a semi-transparent line, we might be able to get a self-accumulated heatmap automatically at the end of whole rendering.</p>
<h2><span style="color: #993300;"><span style="text-decoration: underline;">Odor (particle and odorant gradients)</span></span></h2>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/e59bbee78987-4.png" rel="lightbox[213]"><img class="alignright size-thumbnail wp-image-217" title="Odor" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/e59bbee78987-4-150x150.png" alt="" width="120" height="120" /></a>The visualization of the odor is mostly about the intensity. In 3D the visual effect could be easily achieved by placing more particles in certain space to suggest higher density. In 2D we usually indicate the intensity by changing opacity and lightness of the color. In this case, the stronger the odor is, the thicker and brighter the color should be. That is still a lazy solution though. I&#8217;m actually pretty much into the idea (in the paper) of putting vectors everywhere to point out where a stonger odor is. And the vector could combine with the idea to give a visual feedback while the larva travels away from the expected direction.</p>
<p>I thought of using the lifted plane to indicate a higher density of odor, but that would be too much like a metaphor for mountain, which does not make much sense in this case. Larvae pursuing height? So &#8230; better keep the old fashion in this case.</p>
<h2><span style="color: #993300;"><span style="text-decoration: underline;">Larvae</span></span></h2>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/04opart-large.jpg" rel="lightbox[213]"><img class="alignright size-thumbnail wp-image-219" title="31 Days in Iraq" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/04opart-large-150x150.jpg" alt="" width="120" height="120" /></a>The visualization given in the paper might actually be restricting the creativity while I think about this experiment. I felt pleased when I realized that I could throw away the odor field and think about only the larvae. I thought too much about the experiment itself so that I previously focused mostly on the path and almost abstracted the larva to a single point myself. This is not necessary the case.</p>
<p>I saw <a title="31 Days in Iraq" href="http://www.nytimes.com/imagepages/2007/02/03/opinion/04opart.html" target="_blank">this</a> on the new york times website while I was looking around and it was definitely a shock. It gave me an idea that the larvae could also be visualized in a statistical way. They could be categorized by success/failure evaluation of pursuing the odor, or by the steps they took before reaching the expected destination.</p>
<h2><span style="color: #993300;"><span style="text-decoration: underline;">Define space of experiment<br />
</span></span></h2>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/endspiel04-gr.jpg" rel="lightbox[213]"><img class="alignright size-thumbnail wp-image-222" title="Football Drawings" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/endspiel04-gr-150x150.jpg" alt="" width="120" height="120" /></a>In my personal interest I would like to keep the space 2D, since the sampled data were no more than 2D and I feel like keep that simplicity. Even 3D might be spectacular for user interaction but I don&#8217;t see much point here to introduce the 3D space for this experiment, unless in the sketch next week I add multi-layer information so that I have to introduce 3D. The visualization for the odor substances filling in the space was already covered above, and they would take up all spaces of experiment. So the point here is to define a clear boundary of the experiment area, and express the idea that whenever the larva touches the boundary its game is over. Simple geometry shapes or difference in color would do it fine.</p>
<p><a href="http://www.susken-rosenthal.de/fussballbilder/argentinien-deutschlanden.html" target="_blank">Here</a> is a very interesting visualization work for football match done in 1986. More at <a href="http://www.susken-rosenthal.de/fussballbilder/indexen.html" target="_blank">http://www.susken-rosenthal.de/fussballbilder/indexen.html</a>.</p>
<h2><span style="color: #993300;"><span style="text-decoration: underline;">One visualization you like that effectively communicates its subject matter</span></span></h2>
<p><a href="http://www.nytimes.com/imagepages/2006/07/23/weekinreview/20060723_MIDEAST_GRAPHIC.html" target="_blank">Strife and Power in the New Middle East.</a> 2006 by New York Times</p>
<p><a href="http://leejayxia.com/blog/wp-content/uploads/2008/10/20060723_mideast_graphic.jpg" rel="lightbox[213]"><img class="alignleft size-medium wp-image-225" title="20060723_mideast_graphic1" src="http://leejayxia.com/blog/wp-content/uploads/2008/10/20060723_mideast_graphic1-300x196.jpg" alt="" width="300" height="196" /></a> Let&#8217;s just look at the first illustration. I believe that most people including me would not be one hundred percent clear what&#8217;s really going on in the middle east. Different countries, armies, ethnic groups, religious and economic issues. And this illustration, no matter dated or not (not surprising if it&#8217;s dated since it&#8217;s made in 2006), provides a nice and clear big picture of the middle east.</p>
<p>Its amazing simplicity is shown in the legends: red weighed stripes for conflicts, circles for groups, oil tower icon for oil control. Those symbols are cast on the simplified map of middle east, on which you could basically tell the outline of Europe, Africa and Asia. The circles representing groups are so cleverly used that so many different features are concluded in the simple symbol: the color is used to differentiate ethnic group, the size refers to the population, and the thick outline means government background.</p>
<p>The main purpose of this visualization is to illustrate relationships and show conflicts, as the title suggests. That&#8217;s why the conflicts (which are represented in red stripes) are emphasized as the center of the illustration, and also in a most noticable color. The width of the stripe is a nice metaphor for the severeness of the conflict. The secondary conflicts are marked in much thinner stripes, which is also quite self-explained.</p>
<p>I would also like to talk a lot more simply because there are so many wonderful visualization projects out there, yet maybe next time. Among them my favourate is &#8220;<a href="http://www.wefeelfine.org/" target="_blank">We Feel Fine</a>&#8220;. I have to post something about it here now that I&#8217;m talking about viz project I &#8220;like&#8221;. It&#8217;s an amazing idea combined with fantastic implementation, by crawling over the web, collecting people&#8217;s &#8220;feeling&#8221;, and showcase them in a dramatic way. Go <a href="http://www.wefeelfine.org/" target="_blank">visit now</a> if you haven&#8217;t done so!</p>
<h2><span style="color: #993300;"><span style="text-decoration: underline;">One visualization that is about a sense</span></span></h2>
<p>I tried to find one for each sense, but didn&#8217;t make it.</p>
<p>Sound: <a href="http://www.turbulence.org/Works/song/" target="_blank">The Shape of Song</a>, <a href="http://www.visualcomplexity.com/vc/project_details.cfm?index=370&amp;id=370&amp;domain=" target="_blank">Pop Sketch Series</a> (actual piece link broken, use visualcomplexity post instead), <a href="http://www.acoustic-cartography.com/" target="_blank">Digital Acoustic Cartography</a>,</p>
<p>Smell: <a href="http://infosthetics.com/archives/2006/09/new_york_smell_map.html" target="_blank">New York Smell Map</a> (but the actual viz work seems broken, maybe it&#8217;s just me), <a href="http://www.londonair.org.uk/london/asp/virtualmaps.asp" target="_blank">London Air Pollution in 3D</a> (not sure whether it&#8217;s about smell?)</p>
<p>Vision: <a href="http://www.art-dept.com/artists/rankin/portfolio/specialprojects/eyescapes/portfolio.html" target="_blank">Eyescapes</a>, <a href="http://www.technologyreview.com/Biotech/19767/" target="_blank">A Working Brain Model</a>,<a href="http://www.technologyreview.com/Biotech/19767/" target="_blank"> </a><a href="http://www.ijdesign.org/ojs/index.php/IJDesign/article/view/267/163" target="_blank">A Cross-Cultural Comparative Study of Users&#8217; Perceptions of a Webpage: With a Focus on the Cognitive Styles of Chinese, Koreans and Americans</a> , <a href="http://www.mpa-garching.mpg.de/galform/millennium/" target="_blank">Millennium Simulation</a>,  <a href="http://www.technologyreview.com/Biotech/19767/" target="_blank"><br />
</a></p>
<p>Touch and Taste: no luck <img src='http://leejayxia.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Just for fun: <a href="http://www.simonelvins.com/FM.html" target="_blank">FM RADIO MAP</a> (mapping radio station according to geo location and embed the radio to the viz work), <a href="http://www.we-make-money-not-art.com/archives/2008/02/visualizar-workshop-cascade-on.php" target="_blank">Cascade on Wheels</a> (visualizing traffic and using noise as metaphor for traffic).</p>
]]></content:encoded>
			<wfw:commentRss>http://leejayxia.com/blog/scent-visualization-preparation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

