<?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>Todd Vanderlin &#187; box2d</title>
	<atom:link href="http://toddvanderlin.com/tag/box2d/feed/" rel="self" type="application/rss+xml" />
	<link>http://toddvanderlin.com</link>
	<description>Design &#38; Technology</description>
	<lastBuildDate>Tue, 27 Jul 2010 03:27:44 +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>Teeth Shattering</title>
		<link>http://toddvanderlin.com/2010/03/teeth-shattering/</link>
		<comments>http://toddvanderlin.com/2010/03/teeth-shattering/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 01:39:25 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[experiment]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[shattering]]></category>
		<category><![CDATA[teeth]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=2555</guid>
		<description><![CDATA[Bite in front of the camera and your teeth will shatter.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/4475211368/" title="Teeth Shatter by Vanderlin, on Flickr"><img src="http://farm3.static.flickr.com/2763/4475211368_8bd5d3013f.jpg" width="500" height="332" alt="Teeth Shatter" /></a><br />
<a href="http://www.flickr.com/photos/vanderlin/4474437063/" title="Teeth Shatter by Vanderlin, on Flickr"><img src="http://farm5.static.flickr.com/4060/4474437063_6d4c0dfcd4.jpg" width="500" height="332" alt="Teeth Shatter" /></a><br />
Bite in front of the camera and your teeth will shatter. </p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2010/03/teeth-shattering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Green Balls</title>
		<link>http://toddvanderlin.com/2010/03/green-balls/</link>
		<comments>http://toddvanderlin.com/2010/03/green-balls/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 01:08:44 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[experiment]]></category>
		<category><![CDATA[balls]]></category>
		<category><![CDATA[body interaction]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[contour]]></category>
		<category><![CDATA[green]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[openframeworks]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=2480</guid>
		<description><![CDATA[little experiment from last week.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/4446481487/" title="Balls by Vanderlin, on Flickr"><img src="http://farm3.static.flickr.com/2721/4446481487_f5e1c226b6.jpg" width="500" height="375" alt="Balls" /></a><br />
<a href="http://www.flickr.com/photos/vanderlin/4447254248/" title="Balls by Vanderlin, on Flickr"><img src="http://farm5.static.flickr.com/4061/4447254248_a895be8ee1.jpg" width="500" height="375" alt="Balls" /></a><br />
little experiment from last week. </p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2010/03/green-balls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delaunay Contour</title>
		<link>http://toddvanderlin.com/2009/04/delaunay-contour/</link>
		<comments>http://toddvanderlin.com/2009/04/delaunay-contour/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 14:53:52 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[experiment]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[contour]]></category>
		<category><![CDATA[delaunay]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[openframeworks]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1195</guid>
		<description><![CDATA[I wanted to create a shape within the contour so I used delaunay triangulation. This returned all the triangles that build up the convex hull of the points. This was great but I only wanted the triangles inside the contour. Theo gave me a really great inside polygon test which solved this. I made sure ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/3452962566/" title="Delaunay Contour by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3545/3452962566_744fced583.jpg" width="500" height="375" alt="Delaunay Contour" /></a><br />
<a href="http://www.flickr.com/photos/vanderlin/3452153951/" title="Delaunay Contour by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3644/3452153951_9a853ed906.jpg" width="500" height="375" alt="Delaunay Contour" /></a><br />
I wanted to create a shape within the contour so I used <a href="http://en.wikipedia.org/wiki/Delaunay_triangulation">delaunay triangulation</a>. This returned all the triangles that build up the convex hull of the points. This was great but I only wanted the triangles inside the contour. <a href="http://muonics.net/">Theo</a> gave me a really great inside polygon test which solved this. I made sure that the center of each triangle was inside the contour. I think this will work if I create static shapes that build up the contour. <a href="http://www.thesystemis.com/">Zach</a> also had a great idea to check to see if the shape is inside the polygon. I could built a contact listener that checks to see if its inside and if so remove.  </p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/04/delaunay-contour/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Contour</title>
		<link>http://toddvanderlin.com/2009/04/contour/</link>
		<comments>http://toddvanderlin.com/2009/04/contour/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 04:29:25 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[contour]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1192</guid>
		<description><![CDATA[I used box2d to create a shape out of the contour of the body. There are still some some bugs that I&#8217;m trying to work out. Initially the shapes were only colliding with the interior of the contour but simple reversing the points solved that. Some shapes are still being push through but I think ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/3451207489/" title="Contour by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3586/3451207489_57dcba2866.jpg" width="500" height="375" alt="Contour" /></a><br />
<object width="500" height="375"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4207394&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4207394&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="375"></embed></object><br />
I used box2d to create a shape out of the contour of the body. There are still some some bugs that I&#8217;m trying to work out. Initially the shapes were only colliding with the interior of the contour but simple reversing the points solved that. Some shapes are still being push through but I think I have some ideas to solve this, maybe create fixed shapes inside the contour. Despite the somewhat slow playback of the video due to snapzpro the speed is great. More to come.</p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/04/contour/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mounds</title>
		<link>http://toddvanderlin.com/2009/04/mounds/</link>
		<comments>http://toddvanderlin.com/2009/04/mounds/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 00:46:40 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[mounds]]></category>
		<category><![CDATA[openframeworks]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1181</guid>
		<description><![CDATA[These are mounds. They wiggle and wobble and don&#8217;t like to have things on top of them.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/3443452718/" title="Mounds by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3626/3443452718_9f17df1750.jpg" width="500" height="262" alt="Mounds" /></a><br />
<a href="http://www.flickr.com/photos/vanderlin/3442634653/" title="Mounds by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3303/3442634653_a14002445c.jpg" width="500" height="262" alt="Mounds" /></a><br />
<object width="500" height="288"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4157466&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4157466&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="288"></embed></object><br />
These are mounds. They wiggle and wobble and don&#8217;t like to have things on top of them. </p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/04/mounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Creatures</title>
		<link>http://toddvanderlin.com/2009/04/more-creatures/</link>
		<comments>http://toddvanderlin.com/2009/04/more-creatures/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 00:43:34 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[vines]]></category>
		<category><![CDATA[worms]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1167</guid>
		<description><![CDATA[I&#8217;m starting to like the creatures a bit more. I have figure out a way to keep the bodies separated and have them still collide with one another. When they are smaller, some still get a bit tangled. I have been building creature in both Chipmunk and Box2d for comparison. I&#8217;m not sure which one ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/3412536665/" title="creatures by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3366/3412536665_198666dd7a.jpg" width="500" height="281" alt="creatures" /></a><br />
<a href="http://www.flickr.com/photos/vanderlin/3413342448/" title="creatures by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3627/3413342448_73d2e2ae4b.jpg" width="500" height="281" alt="creatures" /></a><br />
<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4007299&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4007299&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br />
I&#8217;m starting to like the creatures a bit more. I have figure out a way to keep the bodies separated and have them still collide with one another. When they are smaller, some still get a bit tangled. I have been building creature in both Chipmunk and Box2d for comparison. I&#8217;m not sure which one I&#8217;m going to stick with, I need to do a bit more research. </p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/04/more-creatures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scary Vines</title>
		<link>http://toddvanderlin.com/2009/04/scary-vines/</link>
		<comments>http://toddvanderlin.com/2009/04/scary-vines/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 02:23:27 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[vines]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1160</guid>
		<description><![CDATA[Working on some plant creatures. The vines are built using box2d and springs. They are really flexible but seem to collapse upon eachother, it turns into a mess. I would like to built up the structure of the vines with box2d segments but I can&#8217;t figure out a way to build simple lines that change ...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/3411237422/" title="Scary Vines by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3580/3411237422_95b89829b3.jpg" width="500" height="281" alt="Scary Vines" /></a><br />
<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3996331&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3996331&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br />
Working on some plant creatures. The vines are built using box2d and springs. They are really flexible but seem to collapse upon eachother, it turns into a mess. I would like to built up the structure of the vines with box2d segments but I can&#8217;t figure out a way to build simple lines that change dimensions, go figure. I know that chipmunk can do this but want to figure out a way to do this with box2d.</p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/04/scary-vines/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iPhone Soft bodies</title>
		<link>http://toddvanderlin.com/2009/03/iphone-soft-bodies/</link>
		<comments>http://toddvanderlin.com/2009/03/iphone-soft-bodies/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 01:01:33 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[experiment]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[softbodies]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1141</guid>
		<description><![CDATA[Now we have soft bodies on the iPhone.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/4055332922/" title="iPhone Softbody by Vanderlin, on Flickr"><img src="http://farm3.static.flickr.com/2789/4055332922_89434ed320.jpg" width="500" height="375" alt="iPhone Softbody" /></a><br />
<object width="500" height="375"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3914718&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3914718&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="375"></embed></object><br />
Now we have soft bodies on the iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/03/iphone-soft-bodies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Soft Bodies</title>
		<link>http://toddvanderlin.com/2009/03/soft-bodies/</link>
		<comments>http://toddvanderlin.com/2009/03/soft-bodies/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 18:22:37 +0000</pubDate>
		<dc:creator>Todd Vanderlin</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[parsons]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[box2d]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[particles]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[softbodies]]></category>

		<guid isPermaLink="false">http://toddvanderlin.com/?p=1136</guid>
		<description><![CDATA[Working on some soft bodies using box2d. They are working well, but sometimes will break when joints cross over. I might be able to add some more cross joints to help keep the shape. They are super fun check out the video.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/vanderlin/3395235059/" title="SoftBodies by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3586/3395235059_7c90810256.jpg" width="500" height="281" alt="SoftBodies" /></a><br />
<a href="http://www.flickr.com/photos/vanderlin/3395231807/" title="SoftBodies by Vanderlin, on Flickr"><img src="http://farm4.static.flickr.com/3604/3395231807_edb858306d.jpg" width="500" height="281" alt="SoftBodies" /></a><br />
<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=3912610&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=3912610&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object><br />
Working on some soft bodies using box2d. They are working well, but sometimes will break when joints cross over. I might be able to add some more cross joints to help keep the shape. They are super fun check out the video.</p>
]]></content:encoded>
			<wfw:commentRss>http://toddvanderlin.com/2009/03/soft-bodies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
