<?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>Edge of Vision &#187; Uncategorized</title>
	<atom:link href="http://edgeofvision.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<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>
		<item>
		<title>Mouse-drawing boxes in gwt-phys2d; Google Code repository</title>
		<link>http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/</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[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/&amp;shorturl=http://bit.ly/aBJdEc&amp;title=Mouse-drawing+boxes+in+gwt-phys2d%3B+Google+Code+repository&amp;theme=blue&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><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>

]]></content:encoded>
			<wfw:commentRss>http://edgeofvision.com/2010/01/28/mouse-drawing-boxes-in-gwt-phys2d-google-code-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

