<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Edge of Vision</title>
	
	<link>http://edgeofvision.com</link>
	<description>A Caltech grad student's random-ish musings about vision, brains, and artificial intelligence</description>
	<lastBuildDate>Tue, 02 Nov 2010 22:26:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/EdgeOfVision" /><feedburner:info uri="edgeofvision" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Face Detection with HTML5 &amp; JavaScript</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/5Y2UUYrXDt0/</link>
		<comments>http://edgeofvision.com/2010/11/02/face-detection-with-html5-javascript/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 22:26:48 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Computer Vision]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=51</guid>
		<description><![CDATA[Via ReadWriteHack: Hack of the Day: Face Detection with HTML5 &#38; JavaScript. It&#8217;s a pretty cool idea. Taking a quick look at the source code (particularly the ccv.js file), it seems like it&#8217;s using something along the lines of the &#8230; <a href="http://edgeofvision.com/2010/11/02/face-detection-with-html5-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>Via ReadWriteHack:</p>
<p><a href="http://www.readwriteweb.com/hack/2010/11/face-detection-html5.php?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+readwriteweb+%28ReadWriteWeb%29#">Hack of the Day: Face Detection with HTML5 &amp; JavaScript</a>.</p>
<p>It&#8217;s a pretty cool idea. Taking a quick look at the <span style="font-size: x-small;"><span style="line-height: 19px;"><a href="http://github.com/liuliu/ccv/tree/current/js/">source code</a> (particularly the ccv.js file), it seems like it&#8217;s using something along the lines of the <a href="http://research.microsoft.com/en-us/um/people/viola/Pubs/Detect/violaJones_CVPR2001.pdf">Viola-Jones boosted cascade</a> of simple features algorithm. I&#8217;m guessing the actual cascade values (found in the face.js file) were trained in a non-javascript program.</span></span></p>
<p>It&#8217;s really too bad that no browsers support the HTML5 &lt;device&gt; tag yet, as it isn&#8217;t yet finalized. I&#8217;ve seen Flash apps which do some processing on camera input in the past, but having computer vision algorithms written in Java/Javascript/HTML5, running on the browser and integrated in web applications could be quite powerful. There&#8217;s of course all manner of games and toys one could come up with, but there&#8217;s also possibilities for things like authentication, changing the view when a face is no longer detected nearby, etc.</p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/5Y2UUYrXDt0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/11/02/face-detection-with-html5-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2010/11/02/face-detection-with-html5-javascript/</feedburner:origLink></item>
		<item>
		<title>(Very) rough PhD thesis draft: Table of Contents</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/2T9WlABq1Z4/</link>
		<comments>http://edgeofvision.com/2010/08/17/very-rough-phd-thesis-draft-table-of-contents/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 17:14:25 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Neil's PhD thesis]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=47</guid>
		<description><![CDATA[I&#8217;ve decided to work on and post one (very) rough draft of each subchapter of my PhD thesis at a time, so that I can focus on just one part at a time without being distracted by the rest of &#8230; <a href="http://edgeofvision.com/2010/08/17/very-rough-phd-thesis-draft-table-of-contents/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>I&#8217;ve decided to work on and post one (very) rough draft of each subchapter of my PhD thesis at a time, so that I can focus on just one part at a time without being distracted by the rest of it. I also find that I write best when writing for an immediate audience. Please feel free to ask any questions and give comments as I go along. I&#8217;ll start with the Table of Contents. As you can see, I&#8217;m experimenting with a Socratic/question-based approach to chapter organization:</p>
<p>Tentative title: Reactivation of Visual Representations With Transcranial Magnetic Stimulation</p>
<div id="WritelyTableOfContents" class="writely-toc" style="margin-top: 0px; margin-bottom: 0px; background-color: #f3f3f3; border: 1px solid #cccccc;">
<ol class="writely-toc-decimal" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 3em; font-weight: bold;">
<li style="margin-top: 0px; margin-bottom: 0px;">Introduction:
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">What is this thesis about?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What are the contributions of this work?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">How is this thesis structured?</li>
</ol>
</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Background: TMS and visual cortex
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">What do we already know about how information is represented in visual cortex?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What is transcranial magnetic stimulation (TMS)?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What does TMS offer us that other techniques do not?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What is already known about how TMS interacts with representations in visual cortex?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What can we learn from TMS reactivation of visual representations?</li>
</ol>
</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Related work: Prior experiments with reactivation and related effects
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">What related experiments were previously performed by Daw-An Wu and Juha Silvanto?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">How does the work described in this thesis build upon earlier work?</li>
</ol>
</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Chapter: Replay of natural images
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">How do you invoke the TMS-based visual replay effect?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What was the methodology used for the natural image replay experiments?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What do subjects report seeing when the replay effect is elicited?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What are the implications of the figure-ground segregation reported by many subjects during replay?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What is the timecourse of the visual replay effect?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What do the effects of switching current direction in the coil tell us about the nature of the replay effect?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What can we determine about what regions of cortex are being stimulated during visual replay?</li>
</ol>
</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Chapter: Replaying visual masks
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">What is visual masking?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What can the replay of visual masks tell us about what is happening during replay?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">How did we replay visual masks?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What happened when we replayed visual masks?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">What does the interaction between replay and visual masking tell us about the representation which gets reactivated?</li>
</ol>
</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Chapter: entrainment effect and masking paradigm
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">What is the entrainment effect?</li>
</ol>
</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Chapter: retrieval?</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Chapter: Contributions and future work
<ol class="writely-toc-decimal writely-toc-subheading" style="margin-top: 0px; margin-bottom: 0px; list-style-type: decimal; padding-left: 1em; font-weight: normal; margin-left: 0px;">
<li style="margin-top: 0px; margin-bottom: 0px;">Contributions</li>
<li style="margin-top: 0px; margin-bottom: 0px;">Future work</li>
</ol>
</li>
</ol>
</div>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/2T9WlABq1Z4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/08/17/very-rough-phd-thesis-draft-table-of-contents/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2010/08/17/very-rough-phd-thesis-draft-table-of-contents/</feedburner:origLink></item>
		<item>
		<title>Culture wires the brain: A cognitive neuroscience perspective</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/PLfVKjSmE10/</link>
		<comments>http://edgeofvision.com/2010/08/03/culture-wires-the-brain-a-cognitive-neuroscience-perspective/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 19:06:00 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Neuroscience]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=45</guid>
		<description><![CDATA[Don&#8217;t have access to the full details to determine how solid the results are, but it seems like an intriguing cognitive neuroscience study of cross-cultural differences: There is evidence that the collectivist nature of East Asian cultures versus individualistic Western &#8230; <a href="http://edgeofvision.com/2010/08/03/culture-wires-the-brain-a-cognitive-neuroscience-perspective/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>Don&#8217;t have access to the full details to determine how solid the results are, but it seems like an intriguing cognitive neuroscience study of cross-cultural differences:</p>
<blockquote><p>There is evidence that the collectivist nature of East Asian cultures versus individualistic Western cultures affects both brain and behavior. East Asians tend to process information in a global manner whereas Westerners tend to focus on individual objects. There are differences between East Asians and Westerners with respect to attention, categorization, and reasoning. For example, in one study, after viewing pictures of fish swimming, Japanese volunteers were more likely to remember contextual details of the image than were American volunteers. Experiments tracking participants eye movements revealed that Westerners spend more time looking at focal objects while Chinese volunteers look more at the background. In addition, our culture may play a role in the way we process facial information. Research has indicated that when viewing faces, East Asians focus on the central region of faces while Westerners look more broadly, focusing on both the eyes and mouth.</p>
<p>Examining changes in cognitive processes &#8212; how we think &#8212; over time can provide information about the aging process as well as any culture-related changes that may occur. When it comes to free recall, working memory, and processing speed, aging has a greater impact than does culture &#8212; the decline in these functions is a result of aging and not cultural experience. Park and Huang note that, &#8220;with age, both cultures would move towards a more balanced representation of self and others, leading Westerners to become less oriented to self and East Asians to conceivably become more self-focused.&#8221;</p>
<p>While numerous studies suggest that culture may affect neural function, there is also limited evidence for the effect of cultural experiences on brain structure. A recent study conducted by Park and Michael Chee of Duke/National University of Singapore showed evidence for thicker frontal cortex areas involved in reasoning in Westerners compared to East Asians, whereas East Asians had thicker cortex in perceptual areas. Park and Huang observe that using neuroimaging to study the impact of culture on neuroanatomy faces many challenges. They write, &#8220;The data are collected from two groups of participants who typically differ in many systematic ways besides their cultural values, rendering interpretation of any differences found quite difficult.&#8221;</p></blockquote>
<p>via <a href="http://www.sciencedaily.com/releases/2010/08/100803113150.htm">Culture wires the brain: A cognitive neuroscience perspective</a>.</p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/PLfVKjSmE10" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/08/03/culture-wires-the-brain-a-cognitive-neuroscience-perspective/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2010/08/03/culture-wires-the-brain-a-cognitive-neuroscience-perspective/</feedburner:origLink></item>
		<item>
		<title>Map: Where Americans Are Moving – Forbes.com</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/CUX8SQXKNhk/</link>
		<comments>http://edgeofvision.com/2010/06/18/map-where-americans-are-moving-forbes-com/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 21:35:51 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=43</guid>
		<description><![CDATA[More than 10 million Americans moved from one county to another during 2008. The map below visualizes those moves. Click on any county to see comings and goings: black lines indicate net inward movement, red lines net outward movement. via &#8230; <a href="http://edgeofvision.com/2010/06/18/map-where-americans-are-moving-forbes-com/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p><span style="color: #000000; font-family: Arial, Helvetica, sans-serif; line-height: normal; font-size: 14px;"></p>
<blockquote>
<h2 class="storyDek" style="margin-top: 8px; margin-right: 0px; margin-bottom: 8px; margin-left: 0px; font-weight: bold; color: #000000; font-size: 14px; padding: 0px;">More than 10 million Americans moved from one county to another during 2008. The map below visualizes those moves. Click on any county to see comings and goings: black lines indicate net inward movement, red lines net outward movement.</h2>
</blockquote>
<p></span></p>
<blockquote><p>via <a href="http://www.forbes.com/2010/06/04/migration-moving-wealthy-interactive-counties-map.html?preload=39099">Map: Where Americans Are Moving &#8211; Forbes.com</a>.</p></blockquote>
<p>This is a really interesting visualization showing from where to where people are moving around the country, based on IRS data.</p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/CUX8SQXKNhk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/06/18/map-where-americans-are-moving-forbes-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2010/06/18/map-where-americans-are-moving-forbes-com/</feedburner:origLink></item>
		<item>
		<title>Mouse-drawing boxes in gwt-phys2d; Google Code repository</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/rkVPDrPSKj0/</link>
		<comments>http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 11:41:15 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gwt-phys2d]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=37</guid>
		<description><![CDATA[I&#8217;ve added in support for drawing your own boxes (as many as you want!) into gwt-phys2d. It&#8217;s fun to try to do things like create a long see-saw shape and try to balance boxes on both sides. Check it out: &#8230; <a href="http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>I&#8217;ve added in support for drawing your own boxes (as many as you want!) into gwt-phys2d. It&#8217;s fun to try to do things like create a long see-saw shape and try to balance boxes on both sides. Check it out: <a href="http://gwt-phys2d.appspot.com/">http://gwt-phys2d.appspot.com/</a></p>
<p>If you try drawing enough boxes, you&#8217;ll find that performance doesn&#8217;t scale all too well (or at least it doesn&#8217;t on my netbook). I watched memory in the task manager and saw it repeatedly spike and fall back down, suggesting that it&#8217;s definitely the garbage collector which is eating up much of the time. I still haven&#8217;t had a chance to rewrite the phys2d code to stop creating so many new objects (esp. collision Arbiters) every frame, but I imagine that&#8217;ll improve performance considerably.</p>
<p>I&#8217;ve also created a Google Code and subversion repository for the project:  <a href="http://code.google.com/p/gwt-phys2d/">http://code.google.com/p/gwt-phys2d/</a></p>
<p>If you&#8217;re interested in contributing let me know, and I&#8217;ll be happy to add you. Here&#8217;s a screen capture of the current version:</p>
<p><a href="http://gwt-phys2d.appspot.com"><img class="alignnone" title="Screenshot of gwt-phys2d" src="http://gwt-phys2d.googlecode.com/files/20100128_gwt-phys2d_screen.png" alt="" width="566" height="382" /></a></p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/rkVPDrPSKj0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/</feedburner:origLink></item>
		<item>
		<title>Initial release of gwt-phys2d (Javascript/GWT physics engine)</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/0Q0eBKNKPlQ/</link>
		<comments>http://edgeofvision.com/2010/01/22/initial-release-of-gwt-phys2d-javascriptgwt-physics-engine/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 07:30:27 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[gwt-phys2d]]></category>
		<category><![CDATA[gwt]]></category>
		<category><![CDATA[Programming projects]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=27</guid>
		<description><![CDATA[I&#8217;ve been exposing myself to web programming lately, and in order to teach myself how to use Google Web Toolkit (GWT), Google App Engine (GAE), the Eclipse development environment, and Javascript. Yes, it&#8217;s a Javascript physics engine &#8212; committing the &#8230; <a href="http://edgeofvision.com/2010/01/22/initial-release-of-gwt-phys2d-javascriptgwt-physics-engine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>I&#8217;ve been exposing myself to web programming lately, and in order to teach myself how to use <a href="http://code.google.com/webtoolkit/overview.html">Google Web Toolkit</a> (GWT), <a href="http://code.google.com/appengine/">Google App Engine</a> (GAE), the Eclipse development environment, and Javascript. Yes, it&#8217;s a Javascript physics engine &#8212; committing the occasional digital atrocity builds character, right?</p>
<p>You can check out a demo here: <a href="http://gwt-phys2d.appspot.com/">http://gwt-phys2d.appspot.com/</a> (library/demo source code also available for download)</p>
<p>It&#8217;s basically a &#8220;port&#8221; of a Java library called <a href="http://www.cokeandcode.com/phys2d/">Phys2d</a>. For those unfamiliar with Google Web Toolkit, it allows you to program web applications in Java (plus a decent portion of the java.util and java.io libraries), which it then compiles into Javascript. If you&#8217;re unfamiliar with programming, let me assure you that this is <em>very weird, </em>yet amazing, not unlike <a href="http://www.youtube.com/watch?v=A2guQYivZ6w">Christopher Walken</a> performing Lady Gaga&#8217;s Poker Face.</p>
<p>Starting with the Phys2d code, here&#8217;s basically what the &#8220;port&#8221; involved:</p>
<ul>
<li>Started a GWT/GAE project in Eclipse and imported Phys2d into it. Somewhat surprisingly, mostly due to never having used Eclipse or GWT before, this part took the largest amount of effort. Eclipse is really cool, although I&#8217;m still kind of weirded out by how many things it does automagically. I mean, if something&#8217;s wrong with your code, you can just right-click on it and have it automatically add in import statements (HUGE timesaver), declarations, etc. Freaky voodoo. I haven&#8217;t had a chance to play with it yet, but I really want to try the plugin which gives you <a href="http://www.viplugin.com/viplugin/">vi functionality</a> in Eclipse.</li>
<li>Fortunately, most of the core Phys2d library didn&#8217;t make calls to library functions which weren&#8217;t already implemented in the GWT emulation libraries.  There were a few classes which were reliant on GUI things, but I just removed these from the source.</li>
<li>On the flip side, the actual demos for Phys2d are heavily reliant on AWT (a GUI toolkit for Java). This is of course not emulated in GWT. I instead used HTML5 canvas functionality to render the shapes, via the <a href="http://code.google.com/p/gwt-g2d/">gwt-g2d</a> library. I also learned that apparently Chrome doesn&#8217;t support the canvas line segment drawing, while Firefox does. Hrmph. I only ported one demo over, but it should be easy to do the same for the others.</li>
<li>Also, the original demos use a constantly-running while loop to run the demo, which of course doesn&#8217;t work with the Javascript/HTML model. I instead put most of the demo program logic into a function which was called by a repeating Timer() every several milliseconds.</li>
<li>After finally getting things running (all on my MSI Wind netbook, which is coincidentally my primary development environment <img src='http://edgeofvision.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , I found that it ran godawfully slowly. GWT/Chrome&#8217;s <a href="http://code.google.com/webtoolkit/speedtracer/">Speed Tracer </a>wasn&#8217;t anywhere near as helpful as I&#8217;d hoped it would be, so I instead figured out how to use <a href="http://getfirebug.com/">Firebug</a>. I used Firebug to find that most of my time was being spent in repeatedly-run loops for collision detection. It turned out that there were a number of &#8220;new&#8221; calls inside of these loops, creating gajillions of new temporary objects every frame, and I suspected that the occasional pauses observed while running the demo were due to garbage collecting all these objects. I&#8217;m still not sure if this is the ideal solution, but I instead created temporary objects as class members, which were reused in these loops. I did this for a couple of the functions where most of the time was being spent, and was glad to see that this improved the time spent in those functions and overall performance quite a bit.</li>
</ul>
<p>Please feel welcome to use the library, although the source is in very much an alpha state and pretty badly organized &#8212; I basically just zipped up my source directories (I think there&#8217;s a half-hearted git repository somewhere in there) after I got things working and uploaded them. If there&#8217;s any interest, I&#8217;d be happy to clean things up and perhaps start a Google Code project. I imagine it&#8217;d be pretty cool to use in game engines and such. Since this was just a self-education exercise and I have no desire to actually write anything that takes advantage of the library, please do let me know if you&#8217;d be interested in taking over maintenance of the code!</p>
<p>Here&#8217;s a list of further stuff which could be done:</p>
<ul>
<li>Do version tracking starting from the original phys2d sources, to moer easily determine what changes I actually made to them.</li>
<li>Port more demos</li>
<li>Fix the demo canvas drawing and add support for drawing more shapes</li>
<li>Improve performance further by getting rid of more &#8216;new&#8217; operator calls. Alternatively, maybe make use of the &#8216;delete&#8217; operator (exists in Javascript but not Java), but I don&#8217;t know how to smoothly do this in GWT.</li>
<li>Improve repeating timer calls so that it doesn&#8217;t keep on trying to add more frames if a computer can&#8217;t keep up with the specified timer interval.</li>
</ul>
<p>Enjoy!</p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/0Q0eBKNKPlQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/01/22/initial-release-of-gwt-phys2d-javascriptgwt-physics-engine/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2010/01/22/initial-release-of-gwt-phys2d-javascriptgwt-physics-engine/</feedburner:origLink></item>
		<item>
		<title>Click-based visualization of the relationships between scientific fields</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/vdpAgmhM7Jk/</link>
		<comments>http://edgeofvision.com/2009/03/10/click-based-visualization-of-the-relationships-between-scientific-fields/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 03:18:41 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/?p=19</guid>
		<description><![CDATA[Many of you have likely already seen the maps of scientific fields generated based on citation information. In those visualizations, different scientific fields whose papers cite each other regularly get linked closely together on the map, and it produces a neat &#8230; <a href="http://edgeofvision.com/2009/03/10/click-based-visualization-of-the-relationships-between-scientific-fields/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>Many of you have likely already seen the <a href="http://didi.com/brad/mapOfScience">maps of scientific fields</a> generated based on citation information. In those visualizations, different scientific fields whose papers cite each other regularly get linked closely together on the map, and it produces a neat depiction of how different fields are related.</p>
<p>In a recent article on PLoS ONE by Johan Bollen et al. (<a href="http://www.plosone.org/article/info:doi/10.1371/journal.pone.0004803">original article</a>, <a href="http://www.nature.com/news/2009/090309/full/458135a.html">Nature News summary</a>), they generate a similar visualization using click-based data instead of citations. Each &#8220;clickstream&#8221; is an anonymized sequence of user requests for research articles and generates a first-order Markov model of the clicks. For those who haven&#8217;t worked with Markov models before, a first-order model means that it calculates the probability that someone who&#8217;s clicked on an article from journal A will then click on an article from journal B, generating these probabilities for all possible journal combinations (it&#8217;s been several years for me, so my memory might be sloppy). It then applies some algorithmic foo which has the end result of arranging journals in particular fields such that those with high click-through probabilities with each other are positioned close to each other in 2D space. </p>
<p>There&#8217;s some benefits/differences using clicks to generate these visualizations has compared to using citations:</p>
<ul>
<li>Much more data</li>
<li>The data is more recent, and you can easily get plenty of useful data from a specific time span</li>
<li>It includes not just data from publishing researchers, but also end-users of the data, such as doctors, nurses, government officials, undergrads writing class reports, etc.</li>
<li>It tends to be much more responsive to recent trends, which can be either a good or bad thing</li>
</ul>
<p>I&#8217;m particularly interested in seeing how these sorts of maps may change over time. For example, I suspect that a few years from now you might see economics and &#8220;brain studies&#8221; more closely related to each other. I also find it kind of curious how &#8220;brain studies&#8221; and &#8220;brain research&#8221; are on totally different parts of the map &#8212; &#8220;brain studies&#8221; is close to cognitive science, language, and nursing (?), while &#8220;brain research&#8221; is over near physiology, animal behavior, and genetics. I&#8217;d like to see what actual journals are included in the two categories.</p>
<p>There&#8217;s of course some privacy concerns, but it would also be neat to see how the maps would compare between diferent institutions, or even different countries. </p>
<p>I do wish that they would have included computer science and engineering fields, though. I imagine this is because of the sources they used, although I imagine one could get wider-ranging results if one had access to Google Scholar&#8217;s logs (::drools::). It&#8217;d be pretty cool to generate a video showing how the map evolves over the years (although where you&#8217;d get your data set is another story), with, say, computer science starting off on a branch with mathematics and electrical engineering, and then moving to be more linked with things like physics, and then eventually dragging fields like music, neuroscience, brain research, etc. next to it. While some changes in the map may be obvious, although I imagine there may also be some surprises and sources of insight.</p>
<p><a href="http://www.plosone.org/article/slideshow.action?uri=info:doi/10.1371/journal.pone.0004803&amp;imageURI=info:doi/10.1371/journal.pone.0004803.g005"><img class="alignnone" title="Map of science derived from clickstream data" src="http://www.plosone.org/article/fetchObject.action?uri=info%3Adoi%2F10.1371%2Fjournal.pone.0004803.g005&amp;representation=PNG_M" alt="" width="504" height="480" /></a></p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/vdpAgmhM7Jk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2009/03/10/click-based-visualization-of-the-relationships-between-scientific-fields/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2009/03/10/click-based-visualization-of-the-relationships-between-scientific-fields/</feedburner:origLink></item>
		<item>
		<title>Winamp Halloween costume</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/DzoO1G2ro_k/</link>
		<comments>http://edgeofvision.com/2007/11/01/winamp-halloween-costume/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 00:33:25 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Visualization]]></category>
		<category><![CDATA[halloween]]></category>
		<category><![CDATA[t-qualizer]]></category>
		<category><![CDATA[winamp]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/2007/11/01/winamp-halloween-costume/</guid>
		<description><![CDATA[Originally uploaded by Neil H. Here&#8217;s the Winamp (pre-3.0) costume I wore for Halloween. I used the T-Qualizer shirt from Thinkgeek as the basis of the costume, so that it would animate in response to ambient voices and music. It &#8230; <a href="http://edgeofvision.com/2007/11/01/winamp-halloween-costume/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p style="float: right; margin-left: 10px; margin-bottom: 10px">  <a href="http://www.flickr.com/photos/neilh/1817256204/" title="photo sharing"><br />
</a></p>
<p><span style="font-size: 0.9em; margin-top: 0px"><br />
<a href="http://www.flickr.com/photos/neilh/1817256204/"><img src="http://farm3.static.flickr.com/2210/1817256204_d5cca3eba3_m.jpg" /></a></span></p>
<p>Originally uploaded by <a href="http://www.flickr.com/people/neilh/">Neil H.</a><br />
Here&#8217;s the Winamp (pre-3.0) costume I wore for Halloween. I used the T-Qualizer shirt from Thinkgeek as the basis of the costume, so that it would animate in response to ambient voices and music. It was really fun dancing at LindyGroove wearing the costume, and I had quite a few people go up to me to ask me about it. There&#8217;s also a <a href="http://flickr.com/photos/neilh/1817256992/in/set-72157602830056231/">photo of the costume lighting up in the dark</a>.<br />
<br clear="all" /></p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/DzoO1G2ro_k" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2007/11/01/winamp-halloween-costume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2007/11/01/winamp-halloween-costume/</feedburner:origLink></item>
		<item>
		<title>Spinning dancer illusion; left brain vs. right brain hype?</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/doJbCOe4l-c/</link>
		<comments>http://edgeofvision.com/2007/10/11/spinning-dancer-illusion-left-brain-vs-right-brain-hype/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 04:01:45 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Demos]]></category>
		<category><![CDATA[Illusions]]></category>
		<category><![CDATA[Neuroscience]]></category>
		<category><![CDATA[bistability]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/2007/10/11/spinning-dancer-illusion-left-brain-vs-right-brain-hype/</guid>
		<description><![CDATA[Many of you have probably seen this animation of a spinning dancer silhouette from the Daily Telegraph, as it&#8217;s been making the rounds on various blogs and social networking sites. It&#8217;s a neat animation, but the blurb also states the &#8230; <a href="http://edgeofvision.com/2007/10/11/spinning-dancer-illusion-left-brain-vs-right-brain-hype/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>Many of you have probably seen <a href="http://www.news.com.au/dailytelegraph/story/0,22049,22535838-5012895,00.html">this animation of a spinning dancer silhouette</a> from the Daily Telegraph, as it&#8217;s been making the rounds on various blogs and social networking sites. It&#8217;s a neat animation, but the blurb also states the following:</p>
<blockquote><p>The Right Brain vs Left Brain test &#8230; do you see the dancer turning clockwise or anti-clockwise? If clockwise, then you use more of the right side of the brain and vice versa.</p></blockquote>
<p>Personally, I can&#8217;t think of anything that would back up their source-less assertion, and a quick literature search doesn&#8217;t turn up anything either. I&#8217;ve chalked it up as a yet another misinformative popular-press write-up, but was wondering if any readers had further insight.</p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/doJbCOe4l-c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2007/10/11/spinning-dancer-illusion-left-brain-vs-right-brain-hype/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2007/10/11/spinning-dancer-illusion-left-brain-vs-right-brain-hype/</feedburner:origLink></item>
		<item>
		<title>Video of BrainPort on Today Show</title>
		<link>http://feedproxy.google.com/~r/EdgeOfVision/~3/YXk0x_MW2rM/</link>
		<comments>http://edgeofvision.com/2007/10/11/video-of-brainport-on-today-show/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 20:58:59 +0000</pubDate>
		<dc:creator>Neil Halelamien</dc:creator>
				<category><![CDATA[Neuroscience]]></category>
		<category><![CDATA[Technology and Society]]></category>
		<category><![CDATA[blind]]></category>
		<category><![CDATA[brainport]]></category>

		<guid isPermaLink="false">http://edgeofvision.com/2007/10/11/video-of-brainport-on-today-show/</guid>
		<description><![CDATA[There&#8217;s a rather neat video from the Today Show featuring blind climber Erik Weihenmayer and a researcher, discussing BrainPort, a system which takes visual input from a camera and outputs as an array of tongue stimulation. Erik demonstrates recognizing some &#8230; <a href="http://edgeofvision.com/2007/10/11/video-of-brainport-on-today-show/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<p>There&#8217;s a rather neat <a href="http://video.msn.com/?mkt=en-us&amp;brand=msnbc&amp;fg=&amp;vid=53f8adb8-1be5-4a10-be25-98132f73528f&amp;from=00">video from the Today Show</a> featuring blind climber Erik Weihenmayer and a researcher, discussing <a href="http://science.howstuffworks.com/brainport.htm">BrainPort</a>, a system which takes visual input from a camera and outputs as an array of tongue stimulation. Erik demonstrates recognizing some written numerals, while a video display gives an idea of what information is being output to his tongue. The tech seems nearly ready for market already, and I&#8217;m sure it&#8217;ll eventually become more portable.<a href="http://science.howstuffworks.com/brainport.htm"><br />
</a></p>
<p>A quick YouTube search brought up the <a href="http://youtube.com/watch?v=OKd56D2mvN0">following video</a> from a few months ago from CBS News, which shows a blind tester walking around using the system and has some spiffy graphics which show how the system works:</p>
<p><object height="350" width="425"></object><param name="movie" value="http://www.youtube.com/v/OKd56D2mvN0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/OKd56D2mvN0" type="application/x-shockwave-flash" wmode="transparent" height="350" width="425"></embed></p>

<img src="http://feeds.feedburner.com/~r/EdgeOfVision/~4/YXk0x_MW2rM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2007/10/11/video-of-brainport-on-today-show/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://edgeofvision.com/2007/10/11/video-of-brainport-on-today-show/</feedburner:origLink></item>
	</channel>
</rss>
