<?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>@improved &#187; code</title>
	<atom:link href="http://improved.ro/blog/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://improved.ro/blog</link>
	<description>[a,e]</description>
	<lastBuildDate>Fri, 09 Dec 2011 16:06:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Swarm Behaviours Workshop Material</title>
		<link>http://improved.ro/blog/2011/10/swarm-behaviours-workshop-material/</link>
		<comments>http://improved.ro/blog/2011/10/swarm-behaviours-workshop-material/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 18:42:15 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[processing.org]]></category>
		<category><![CDATA[workshops]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dimitrie]]></category>
		<category><![CDATA[dimitrie stefanescu]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[stefanescu]]></category>
		<category><![CDATA[swarm]]></category>
		<category><![CDATA[swarm intelligence]]></category>

		<guid isPermaLink="false">http://improved.ro/blog/?p=1169</guid>
		<description><![CDATA[Recently I&#8217;ve tutored a Processing workshop for the Hyperbody department at the TU Delft. I&#8217;ve decided to share the sketches with the open world &#8211; who knows, maybe someone will find them useful. There&#8217;s quite a few variations included &#8211; clustering, attractors, collision avoidance, etc. Read below for the download link and some screens of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-1170" title="110906-poster-dimitrie-web" src="http://improved.ro/wp/wp-content/uploads/improved//2011/10/110906-poster-dimitrie-web-590x380.jpg" alt="" width="590" height="380" /></p>
<p>Recently I&#8217;ve tutored a <a href="http://processing.org">Processing </a>workshop for the<a href="http://www.hyperbody.nl"> Hyperbody</a> department at the <a href="http://bk.tudelft.nl">TU Delft</a>. I&#8217;ve decided to share the sketches with the open world &#8211; who knows, maybe someone will find them useful. There&#8217;s quite a few variations included &#8211; clustering, attractors, collision avoidance, etc. Read below for the download link and some screens of some of the sketches.</p>
<p><span id="more-1169"></span></p>
<p>2d and 3d clustering:</p>
<p><img class="aligncenter size-medium wp-image-1173" title="s2" src="http://improved.ro/wp/wp-content/uploads/improved//2011/10/s2-590x483.jpg" alt="" width="590" height="483" /><img class="aligncenter size-medium wp-image-1174" title="s1" src="http://improved.ro/wp/wp-content/uploads/improved//2011/10/s1-590x472.jpg" alt="" width="590" height="472" /></p>
<p>Swarms interacting:</p>
<p><img class="aligncenter size-medium wp-image-1175" title="s4" src="http://improved.ro/wp/wp-content/uploads/improved//2011/10/s4-590x470.jpg" alt="" width="590" height="470" /></p>
<p>Attractors and structures:</p>
<p><img class="aligncenter size-medium wp-image-1176" title="s5" src="http://improved.ro/wp/wp-content/uploads/improved//2011/10/s5-590x475.jpg" alt="" width="590" height="475" /></p>
<p>Collision avoidance:</p>
<p><img class="aligncenter size-medium wp-image-1178" title="s6" src="http://improved.ro/wp/wp-content/uploads/improved//2011/10/s61-590x465.jpg" alt="" width="590" height="465" /></p>
<p>Here&#8217;s a <a href="http://improved.ro/wp/wp-content/uploads/improved//2011/10/1109-material.zip">.zip file</a> containing everything &#8211; including some Grasshopper sketches which allow for some basic interchange between Rhino and Processing via standard text files.</p>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2011/10/swarm-behaviours-workshop-material/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>[GH] SuperConnect</title>
		<link>http://improved.ro/blog/2011/06/superconnect/</link>
		<comments>http://improved.ro/blog/2011/06/superconnect/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 18:11:26 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[grasshopper]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dimitrie]]></category>
		<category><![CDATA[fabrication]]></category>
		<category><![CDATA[grasshopper3d]]></category>
		<category><![CDATA[parametric modelling]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[stefanescu]]></category>

		<guid isPermaLink="false">http://improved.ro/blog/?p=1077</guid>
		<description><![CDATA[A nifty little tool for creating connectors between pretty much any kind of planar surfaces which intersect themselves at the edges. What it basically does is to output in a ordered structure the intersecting faces (as tree branches) and their intersection line. From there on you can continue to build up your own connectors however [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-medium wp-image-1078" title="superConnect" src="http://improved.ro/wp/wp-content/uploads/improved//2011/06/superConnect-590x417.jpg" alt="" width="590" height="417" /></p>
<p>A nifty little tool for creating connectors between pretty much any kind of <em>planar </em>surfaces which intersect themselves at the edges.</p>
<p>What it basically does is to output in a ordered structure the intersecting faces (as tree branches) and their intersection line. From there on you can continue to build up your own connectors however you like.</p>
<p>The example file contains the Grasshopper definition, Connector-Notch Script and an example Rhino file. Read below for more.<span id="more-1077"></span></p>
<p><em><strong>The workflow is as follows:</strong></em></p>
<ol>
<li>Select the faces you want to make the connectors for and input them into the Grasshopper definition.</li>
<li>Bake on separate layers the offset faces and the connectors.</li>
<li>Run the script provided and provide the necessary inputs in the correct order (connectors, faces and material thickness).</li>
<li>Enjoy.</li>
</ol>
<p><strong><em>Troubleshooting:</em></strong></p>
<p>There will be errors. They always are. Here&#8217;s how and where to look for them:</p>
<ul>
<li>Faces might actually not intersect, even if they seem so. To check, manually select the faces causing problems and use Rhino to detect their intersection (type intersect). Sometimes things are not as it seems.</li>
<li>If the radius of a connector exceeds the faces&#8217;s size, the script will go berserk. Try reducing the connector radius and things should start looking up. You can also improve the script to use adaptive connector radii in respect with the face size.</li>
<li>If the material thickness is too big or too small, geometry will start crashing.</li>
<li>Cull faces which are too small &#8211; you might have a little face somewhere which is 0.0004 m^2 and causing problems.</li>
<li>Check the units you&#8217;re working on. The definition&#8217;s parameters are set for meters.</li>
<li>Otherwise, you can email me. Take note that this is a free, spare-time, no-guarantee, as-is service &#8211; don&#8217;t send me three emails just in case i didn&#8217;t get the first one <img src='http://improved.ro/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p><em><strong>Download: <a href="http://improved.ro/wp/wp-content/uploads/improved//2011/06/110615-SuperConnect.zip">110615 SuperConnect.zip</a> (2.21 mb)</strong></em><br />
<img class="aligncenter size-full wp-image-1087" title="examples" src="http://improved.ro/wp/wp-content/uploads/improved//2011/06/examples1.jpg" alt="" width="590" height="588" /></p>
<div id="attachment_1097" class="wp-caption aligncenter" style="width: 600px"><a href="http://improved.ro/wp/wp-content/uploads/improved//2011/06/superConnect-example-preview.jpg"><img class="size-full wp-image-1097" title="superConnect-example-preview" src="http://improved.ro/wp/wp-content/uploads/improved//2011/06/superConnect-example-preview.jpg" alt="" width="590" height="428" /></a><p class="wp-caption-text">SuperConnect working in real-life (spoiler for the future)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2011/06/superconnect/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Qhull+GH=love.</title>
		<link>http://improved.ro/blog/2009/04/qhullghlove/</link>
		<comments>http://improved.ro/blog/2009/04/qhullghlove/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:45:52 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[grasshopper]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rhino]]></category>
		<category><![CDATA[voronoi]]></category>

		<guid isPermaLink="false">http://dimitrie.wordpress.com/?p=389</guid>
		<description><![CDATA[How about 60 points for real-time 3d voronoi manipulation in grasshopper? Here&#8217;s a screenshot: This isn&#8217;t a scam. Stay tuned for more free voronoi PrOn (and other qhull-enabled goodies.)]]></description>
			<content:encoded><![CDATA[<p><a href="http://dimitrie.files.wordpress.com/2009/04/qhull-copy.jpg"><img class="alignnone size-full wp-image-390" title="qhull-copy" src="http://dimitrie.files.wordpress.com/2009/04/qhull-copy.jpg" alt="qhull-copy" width="500" height="129" /></a></p>
<p>How about 60 points for real-time 3d voronoi manipulation in <a href="http://grasshopper.rhino3d.com/">grasshopper</a>?</p>
<p>Here&#8217;s a screenshot:</p>
<p><a href="http://dimitrie.files.wordpress.com/2009/04/screenshot.jpg"><img class="alignnone size-full wp-image-391" title="screenshot" src="http://dimitrie.files.wordpress.com/2009/04/screenshot.jpg" alt="screenshot" width="500" height="195" /></a></p>
<p>This isn&#8217;t a scam. Stay tuned for more free voronoi PrOn (and other <a href="http://www.qhull.org/">qhull</a>-enabled goodies.)</p>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2009/04/qhullghlove/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Grasshopper Voronoi diagram (update)</title>
		<link>http://improved.ro/blog/2008/12/grasshopper-voronoi-diagram-update/</link>
		<comments>http://improved.ro/blog/2008/12/grasshopper-voronoi-diagram-update/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 19:53:35 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[grasshopper]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[arhitectura]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[computational]]></category>
		<category><![CDATA[computational architecture]]></category>
		<category><![CDATA[portfolio]]></category>
		<category><![CDATA[rhino]]></category>
		<category><![CDATA[urbanism]]></category>
		<category><![CDATA[voronoi]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://dimitrie.wordpress.com/?p=296</guid>
		<description><![CDATA[For those who really like to play with voronoi regions and stuff, here&#8217;s the final grasshopper definition file (right click, save target as &#8211; else you&#8217;ll get a ~250kb of useless xml in your browser window). The vcell component outputs now individual cells as closed polylines and closed nurbs curves. This is useful if you [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-299" title="renderupload" src="http://dimitrie.files.wordpress.com/2008/12/renderupload.png" alt="renderupload" width="500" height="374" /></p>
<p>For those who really like to play with <em>voronoi regions</em> and stuff, here&#8217;s the final <a href="http://grasshopper.rhino3d.com/">grasshopper</a> <strong><a href="http://improved.ro/Grasshopper/voronoi2D_01FINAL.ghx">definition file</a></strong> (right click, save target as &#8211; else you&#8217;ll get a ~250kb of useless xml in your browser window).</p>
<p>The <em>vcell </em>component outputs now individual cells as closed polylines and closed nurbs curves. This is useful if you are using this for some urban project like <span style="text-decoration:line-through;">i am</span> i would have liked to, mostly due to easy offsetting and area calculation possiblities &#8211; included in the definition file &#8211; or height extrusion &#8211; included as well. You can even go further and color (using shaders) each cell coresponding with its mass/area/height etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2008/12/grasshopper-voronoi-diagram-update/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>SPRscrpts is out now</title>
		<link>http://improved.ro/blog/2008/01/sprscrpts-is-out-now/</link>
		<comments>http://improved.ro/blog/2008/01/sprscrpts-is-out-now/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 12:43:12 +0000</pubDate>
		<dc:creator>Dimitrie Andrei Stefanescu</dc:creator>
				<category><![CDATA[architecture]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[computational]]></category>
		<category><![CDATA[elegance]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rhino]]></category>
		<category><![CDATA[rhinoscript]]></category>
		<category><![CDATA[super shape]]></category>

		<guid isPermaLink="false">http://dimitrie.wordpress.com/?p=100</guid>
		<description><![CDATA[SPRscrpts for Rhino is out now. Grab it while it&#8217;s fresh (and buggy). Sorry for the huge delay.]]></description>
			<content:encoded><![CDATA[<p><a href="http://dimitrie.wordpress.com/sprscrpts/" title="supa scripts"><img src="http://dimitrie.files.wordpress.com/2008/01/header.jpg" alt="header.jpg" /></a></p>
<h1><a href="http://dimitrie.wordpress.com/sprscrpts/">SPRscrpts </a></h1>
<p>for <a href="http://rhino3d.com" target="_blank">Rhino</a> is out now. Grab it while it&#8217;s fresh (and buggy).</p>
<p>Sorry for the huge delay.</p>
]]></content:encoded>
			<wfw:commentRss>http://improved.ro/blog/2008/01/sprscrpts-is-out-now/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>


