<?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>Giulio Piacentino &#187; Processing.org</title>
	<atom:link href="http://www.giuliopiacentino.com/by-topic/experiments/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.giuliopiacentino.com</link>
	<description>An archive of personal and collaborative projects and experiments, certainly developed with an eye on digital architecture.</description>
	<lastBuildDate>Sun, 04 Jul 2010 22:46:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Librarian nightmare &amp; dream</title>
		<link>http://www.giuliopiacentino.com/physical-boxes/</link>
		<comments>http://www.giuliopiacentino.com/physical-boxes/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 19:07:38 +0000</pubDate>
		<dc:creator>Giulio Piacentino</dc:creator>
				<category><![CDATA[Processing.org]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[simulation]]></category>

		<guid isPermaLink="false">http://www.giuliopiacentino.com/?p=723</guid>
		<description><![CDATA[How to use JBullet To use Jbullet easily in the new processing 1.0, you can just follow these steps: install Java3D to have access to some standard matrix operations in Processing &#38; Java. What you really need is only the vecmath class. If Processing (depending on the version &#38; settings) still does not see it, [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-723"></span><!--noteaser--></p>
<p><APPLET name="boxes_applet" WIDTH="480" HEIGHT="360" archive="http://www.giuliopiacentino.com/static/boxes_applet.jar" standby="Loading Processing software..."  code="boxes_applet.class" boxmessage="Loading Processing software..." boxcolor="#CCCCCC"></APPLET></p>
<h2>How to use JBullet</h2>
<p>To use Jbullet easily in the new processing 1.0, you can just follow these steps:</p>
<ol>
<li>install <a href="https://java3d.dev.java.net/">Java3D</a> to have access to some standard matrix operations in Processing &amp; Java. What you really need is only the vecmath class. If Processing (depending on the version &amp; settings) still does not see it, put the vecmath.jar inside processing&#8217;s libraries&#92;vecmath&#92;library.</li>
<li>download <a href="http://jbullet.advel.cz/" target="_blank">Jbullet</a> and be sure that you put jbullet.jar inside processing&#8217;s libraries&#92;jbullet&#92;library.</li>
<li>restart Processing if it was running.</li>
</ol>
<p>Download the <img src="/wp-giulio/wp-content/uploads/processing1.jpg" alt="Processing 1.0 pde file" title="Processing 1.0 pde file" width="16" height="16" class="alignnone size-full wp-image-820" /> <a href="/static/books.pde" target="_blank">books.pde</a> source code. And please, if you find this useful, post a link to your sketch or video that you did with this, I&#8217;m curious!</p>
<p>Addendum: if you want to use <a href="http://hipstersinc.com/p5sunflow/" title="P5Sunflow: Easy Ray Tracing from Processing.org">P5sunflow</a>, then use processing v135: the version 1.0 seems not to be working with it. The code of the sketch is compatible, but you have to install the libraries in the processing folder itself.</p>
<h2>Video</h2>
<p><a href="http://vimeo.com/2534691" target="_blank">A video</a> is on Vimeo.<br />
<object width="480" height="360"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2534691&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2534691&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="480" height="360"></embed></object><br /><a href="http://vimeo.com/">Librarian&#8217;s nightmare &#038; dream</a> from <a href="http://vimeo.com/giulio" target="_blank">Giulio</a> on Vimeo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.giuliopiacentino.com/physical-boxes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Interactive landscape tool &#8211; behind the scene</title>
		<link>http://www.giuliopiacentino.com/source-code-interactive/</link>
		<comments>http://www.giuliopiacentino.com/source-code-interactive/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 11:13:07 +0000</pubDate>
		<dc:creator>Giulio Piacentino</dc:creator>
				<category><![CDATA[Processing.org]]></category>
		<category><![CDATA[hyperbody]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[landscape]]></category>
		<category><![CDATA[processing.org]]></category>

		<guid isPermaLink="false">http://www.giuliopiacentino.com/?p=593</guid>
		<description><![CDATA[Finally, with the release of Processing 1.0, it is possible to run online the Interactive and Landscape Tool as an applet. For this occasion, I thought it would be nice to also open the source code. Web edition This release can run in your web browser. It uses P3D as software-simulated three dimensional enviroment. I [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, with the release of Processing 1.0, it is possible to run online the <a href="/interactive-landscape-tool/">Interactive and Landscape Tool</a> as an applet. For this occasion, I thought it would be nice to also open the source code. <span id="more-593"></span></p>
<h2>Web edition</h2>
<p>This release can run in your web browser. It uses P3D as software-simulated three dimensional enviroment.<br />
<APPLET name="ILT" WIDTH="480" HEIGHT="360" archive="http://www.giuliopiacentino.com/static/interactive_landscape_tool_for_web.jar,http://www.giuliopiacentino.com/static/core.jar" standby="Loading Processing software..."  code="interactive_landscape_tool_for_web.class" mayscript="true" scriptable="true" boxmessage="Loading Processing software..." boxcolor="#CCCCCC"></APPLET><br />
I suggest you try these commands: <em>1</em> (then grab a box with right mouse button), then <em>2</em> (try zoom with central wheel) and <em>3</em> (orbit by dragging outside of a box), <em>4</em>, <em>5</em> (adjust the sizes of the volumes by dragging the top bar) and <em>6</em> (custom views).</p>
<p>If you have problems, try downloading the latest <a href="http://www.java.com/" target="_blank" title="Java Download">Java</a> or watch the <a href="/interactive-landscape-tool/">Flash video</a>, instead. Built with Processing.</p>
<h2>Processing sketch source code</h2>
<p>You can also download the full-screen, desktop (Processing) version that runs quite faster thanks to OpenGL. <img src="/wp-giulio/wp-content/uploads/processing1.jpg" alt="Processing 1.0 pde file (zipped archive)" title="Processing 1.0 pde file (zipped archive)" width="16" height="16" class="alignnone size-full wp-image-820" /> <a href="/static/interactive_landscape_tool.zip" name="code" title="Source code for the Interactive Landscape Tool. Built with Processing 1.0.1 (zipped archive)">Interactive Landscape Tool (zip)</a>.</p>
<p>Special thanks to <a href="http://www.designexplorer.net/" target="_blank">Axel Kilian</a> for the help during the design explorer class (beginning of the development), the whole <a href="http://www.tudelft.nl/live/pagina.jsp?id=c9e2fad8-037c-4188-be0d-8e6ed34397cd&#038;lang=en" target="_blank">Hyperbody Research Group</a> in TU Delft for feedback and the <a href="http://www.processing.org/" target="_blank">Processing</a> community.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.giuliopiacentino.com/source-code-interactive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bézienne</title>
		<link>http://www.giuliopiacentino.com/bezienne/</link>
		<comments>http://www.giuliopiacentino.com/bezienne/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 21:16:18 +0000</pubDate>
		<dc:creator>Giulio Piacentino</dc:creator>
				<category><![CDATA[Processing.org]]></category>
		<category><![CDATA[bezier]]></category>
		<category><![CDATA[curve]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[java-javascript interaction]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[UGC]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.giuliopiacentino.com/?p=301</guid>
		<description><![CDATA[function papplet(){ return document.bez; } function selCode(){ window.scroll(0,400); document.forms[1].elements.comment.focus(); document.forms[1].elements.comment.select();} New&#160;&#160;&#160;Open defaults (10)&#160;&#160;&#160;Make code&#160;&#160;&#160;Draw code Select: &#171; &#160;&#160; &#8249; &#160;&#160;all/none&#160; &#8250; &#160;&#160; &#187; Delete: 1Pt&#160;&#160;Objs&#160;&#160;Undo Modifiers: move (arrows) &#8211; scale (+/-) &#8211; Mirror&#160;&#160;Flip&#160;&#160;Approximate Zoom: mouse wheel. Pan: central mouse button. Reset. By default, the applet makes always new lines of four control points. You can [...]]]></description>
			<content:encoded><![CDATA[<p><span id="more-301"></span><!--noteaser--></p>
<p><APPLET name="bez" WIDTH="480" HEIGHT="320" archive="http://www.giuliopiacentino.com/static/bezienne.jar,http://www.giuliopiacentino.com/static/core.jar" standby="Loading Processing software..."  code="bezienne.class" mayscript="true" scriptable="true" boxmessage="Loading Processing software..." boxcolor="#CCCCCC"></APPLET><script language="Javascript">function papplet(){    return document.bez; } function selCode(){ window.scroll(0,400); document.forms[1].elements.comment.focus(); document.forms[1].elements.comment.select();}</script><br />
<form onSubmit="return false;" name="functions" id="functions">
<p><a href="javascript:papplet().waitAndCall('N');" title="New drawing (and clear canvas, undoable) [N]">New</a>&nbsp;&nbsp;&nbsp;<a href="javascript:papplet().waitAndCall('O');" title="Opens a predefined canvas [o]">Open defaults (<b>10</b>)</a>&nbsp;&nbsp;&nbsp;<a title="Writes down the code for the drawing. It puts it in the comment box, so that you can send it, or just copy it.  [Enter]" href="javascript:papplet().waitAndCall('c');" onclick="window.setTimeout('selCode();',400);">Make code</a>&nbsp;&nbsp;&nbsp;<a title="Puts all the coded beziers from the comment box into the canvas [v]" href="javascript:papplet().waitAndCall('v');" >Draw code</a></p>
<p>Select: <a title="First [1]" href="javascript:papplet().waitAndCall('1');"> &laquo; </a>&nbsp;&nbsp;<a title="Select only previous [p]" href="javascript:papplet().waitAndCall('p');"> &lsaquo; </a>&nbsp;&nbsp;<a title="All or none, depending [a]" href="javascript:papplet().waitAndCall('a');">all/none</a>&nbsp;<a title="Select only next [n]" href="javascript:papplet().waitAndCall('n');"> &rsaquo; </a>&nbsp;&nbsp;<a title="Last [0]" href="javascript:papplet().waitAndCall('0');"> &raquo; </a></p>
<p>Delete: <a title="Remove last control point [Esc]" href="javascript:papplet().waitAndCall('E');">1Pt</a>&nbsp;&nbsp;<a title="Delete selected objects. If none selected, then the last one [Del]" href="javascript:papplet().waitAndCall('D');">Objs</a>&nbsp;&nbsp;<a href="javascript:papplet().waitAndCall('z');" title="Undo delete (only once for now, sorry) [z]">Undo</a></p>
<p>Modifiers: move (<abbr title="Suggestions: at first, select all the things that you need to move. Then, be sure that the focus is on the applet (you can click on it with the central mouse button to be sure). You can now use the four arrows">arrows</abbr>) &#8211; scale (<a href="javascript:papplet().waitAndCall('+');" title="Scales +10% [+]">+</a>/<a href="javascript:papplet().waitAndCall('-');" title="Scales -10% [-]">-</a>) &#8211; <a title="Mirror vertically [m]" href="javascript:papplet().waitAndCall('m');">Mirror</a>&nbsp;&nbsp;<a title="Flip horizontally [f]" href="javascript:papplet().waitAndCall('f');">Flip</a>&nbsp;&nbsp;<a title="Saves disc space and makes more readable by rounding all control points to integers [X]" href="javascript:papplet().waitAndCall('X');">Approximate</a></p>
<p>Zoom: mouse wheel. Pan: central mouse button. <a title="Reset the view [r]" href="javascript:papplet().waitAndCall('r');">Reset</a>. By default, the applet makes always new lines of four control points. You can hold <em>Shift</em> to continue in a new position. If you click in the neighborhood of a selected control point (red), the program will snap to it.</p>
</form>
<p>Drawings: #5 is made by Ryoko Ikeda, #9 by Ilaria Giardiello. You can submit your own code by simply filling the fields below here (use &#8220;make code&#8221;).</p>
<p style="font-size: 0.75em;">Source code: <img src="/wp-giulio/wp-content/uploads/processing1.jpg" alt="Processing 1 pde files" title="Processing 1 pde files" width="16" height="16" class="alignnone size-full wp-image-820" /> <a href="http://www.giuliopiacentino.com/static/bezienne.pde">bezienne</a> <a href="http://www.giuliopiacentino.com/static/Bez.pde" target="_blank">Bez</a> <a href="http://www.giuliopiacentino.com/static/Point.pde" target="_blank">Point</a> <a href="http://www.giuliopiacentino.com/static/controls.pde" target="_blank">controls</a> <a href="http://www.giuliopiacentino.com/static/copyPaste.pde" target="_blank">copyPaste</a> <a href="http://www.giuliopiacentino.com/static/pointEditor.pde" target="_blank">pointEditor</a> <a href="http://www.giuliopiacentino.com/static/save.pde" target="_blank">save</a>. Built with <a href="http://processing.org" title="Processing.org" target="_blank">Processing</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.giuliopiacentino.com/bezienne/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Interactive landscape tool</title>
		<link>http://www.giuliopiacentino.com/interactive-landscape-tool/</link>
		<comments>http://www.giuliopiacentino.com/interactive-landscape-tool/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 11:32:19 +0000</pubDate>
		<dc:creator>Giulio Piacentino</dc:creator>
				<category><![CDATA[Processing.org]]></category>
		<category><![CDATA[Axel Kilian]]></category>
		<category><![CDATA[landscape]]></category>
		<category><![CDATA[Nimish Biloria]]></category>
		<category><![CDATA[processing.org]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.giuliopiacentino.com/?p=421</guid>
		<description><![CDATA[This is a 2&#8242; screenshot video from the interactive landscape tool, which was developed as a part of the final presentation of the project for a winery in Piedmont. You can also try the online applet and run the source code in full screen on your desktop, using OpenGL.]]></description>
			<content:encoded><![CDATA[<p><span id="more-421"></span><!--noteaser--><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="400" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="videoPlayerCompontent" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="quality" value="best" /><param name="src" value="/static/videoPlayerCompontent.swf?stream=landscape.flv" /><embed id="videoPlayerCompontent" type="application/x-shockwave-flash" width="480" height="400" src="/static/videoPlayerCompontent.swf?stream=landscape.flv" quality="best" allowfullscreen="true" allowscriptaccess="sameDomain" align="middle"></embed></object></p>
<p>This is a 2&#8242; screenshot video from the interactive landscape tool, which was developed as a part of the final presentation of the project for a <a title="Living landscape - winery in Piedmont" href="/p5">winery in Piedmont</a>.</p>
<p>You can also try <a href="/source-code-interactive/#body">the online applet</a> and run the <a href="/source-code-interactive/#code">source code</a> in full screen on your desktop, using OpenGL.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.giuliopiacentino.com/interactive-landscape-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
