<?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/"
	>

<channel>
	<title>dx0ne's devlog</title>
	<atom:link href="http://dx0ne.laislacorporation.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dx0ne.laislacorporation.com</link>
	<description>i'm not crazy. i'm helicopter.</description>
	<pubDate>Sun, 08 Mar 2009 19:08:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>junkImade: AS3 particles waterfall</title>
		<link>http://dx0ne.laislacorporation.com/2009/02/10/junkimade-as3-particles-waterfall/</link>
		<comments>http://dx0ne.laislacorporation.com/2009/02/10/junkimade-as3-particles-waterfall/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 02:31:07 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=80</guid>
		<description><![CDATA[First &#8220;big&#8221; thing made in AS3, during first week of learning it, back in the June last year.
Used setPixel, BitmapData.lock/unlock, blur, distortion and some caching of precomputed bitmaps(for water). Still it could use some optimizations and for sure some cleaning. It&#8217;s small and stupid simple but it was first thing that made me really proud(I [...]]]></description>
			<content:encoded><![CDATA[<p>First &#8220;big&#8221; thing made in AS3, during first week of learning it, back in the June last year.<br />
Used setPixel, BitmapData.lock/unlock, blur, distortion and some caching of precomputed bitmaps(for water). Still it could use some optimizations and for sure some cleaning. It&#8217;s small and stupid simple but it was first thing that made me really proud(I tend to be over-critical for myself) and one that made me <em>&#8220;wow!&#8221;</em> for AS3 performance(i did some stress testing with 20000 particles). Funny that I&#8217;m posting it now.</p>
<p>here&#8217;s basic version: <a href="http://dx0ne.laislacorporation.com/files/junkimade/AS3_particles_waterfall.html">AS3 particles waterfall</a> (it&#8217;s CPU heavy!)</p>
<p><a title="AS3 particles waterfall by dx0ne, on Flickr" href="http://dx0ne.laislacorporation.com/files/junkimade/AS3_particles_waterfall.html"><img src="http://farm4.static.flickr.com/3333/3268426752_c53ce7051c.jpg" alt="AS3 particles waterfall" width="500" height="267" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3268426752/">screenshot @ Flickr</a></sup></p>
<p>and this is with Flickr(yep, i like working with it). the curtains like effect is accidental <img src='http://dx0ne.laislacorporation.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <a href="http://dx0ne.laislacorporation.com/files/junkimade/AS3_particles_waterfall_gallery.html">AS3 particles waterfall gallery</a><br />
<a title="AS3 particles waterfall by dx0ne, on Flickr" href="http://dx0ne.laislacorporation.com/files/junkimade/AS3_particles_waterfall_gallery.html"><img src="http://farm4.static.flickr.com/3104/3267602479_8ee2bbd684.jpg" alt="AS3 particles waterfall" width="500" height="217" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3267602479/">screenshot @ Flickr</a></sup></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2009/02/10/junkimade-as3-particles-waterfall/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: Brickos v0.2</title>
		<link>http://dx0ne.laislacorporation.com/2009/01/09/junkimade-brickos-v02/</link>
		<comments>http://dx0ne.laislacorporation.com/2009/01/09/junkimade-brickos-v02/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 23:43:36 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[box2d]]></category>

		<category><![CDATA[projects]]></category>

		<category><![CDATA[toy]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=68</guid>
		<description><![CDATA[Playing with ActionScript3 and physic library Box2dAS3.
It&#8217;s ongoing project. Code is quick&#8217;n'dirty so I&#8217;m gonna rewrite it and add few features like bolts/nails, more shapes, saving scenes, etc. Also thinking about some better interface and separation between creation/simulation. So stay tuned.
Controls:
Everything you need is under s [hold it].
play with Brickos

screenshot @ Flickr
]]></description>
			<content:encoded><![CDATA[<p>Playing with ActionScript3 and physic library <a href="http://box2dflash.sourceforge.net/">Box2dAS3</a>.</p>
<p>It&#8217;s ongoing project. Code is <em>quick&#8217;n'dirty</em> so I&#8217;m gonna rewrite it and add few features like bolts/nails, more shapes, saving scenes, etc. Also thinking about some better interface and separation between creation/simulation. So stay tuned.</p>
<p><u>Controls:</u><br />
Everything you need is under <strong>s</strong> [hold it].</p>
<p>play with <a href="http://dx0ne.laislacorporation.com/projects/Brickos/Brickos_v02.html">Brickos</a></p>
<p><a href="http://dx0ne.laislacorporation.com/projects/Brickos/Brickos_v02.html" title="Brickos v0.2 by dx0ne, on Flickr"><img src="http://farm4.static.flickr.com/3479/3181055996_ed2fbac34e.jpg" width="497" height="500" alt="Brickos v0.2" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3181055996/">screenshot @ Flickr</a></sup></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2009/01/09/junkimade-brickos-v02/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: Plohyer</title>
		<link>http://dx0ne.laislacorporation.com/2009/01/06/junkimade-plohyer/</link>
		<comments>http://dx0ne.laislacorporation.com/2009/01/06/junkimade-plohyer/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 17:37:31 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=63</guid>
		<description><![CDATA[Thing was to create parametrized GUI for mp3 player. Params are like: color, roundness, line thickness or visibility and size of controls.


Mini version could look like this:

]]></description>
			<content:encoded><![CDATA[<p>Thing was to create parametrized GUI for mp3 player. Params are like: color, roundness, line thickness or visibility and size of controls.<br />
<object width="320" height="65"><br />
<embed src="http://dx0ne.laislacorporation.com/files/junkimade/Plohyer.swf" type="application/x-shockwave-flash" width="320" height="65"></embed></object><br />
Mini version could look like this:<br />
<img src="http://dx0ne.laislacorporation.com/files/junkimade/Plohyer_1.0_mini.png" alt="Plohyer mini" /></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2009/01/06/junkimade-plohyer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: flickrBoing</title>
		<link>http://dx0ne.laislacorporation.com/2008/12/23/junkimade-flickrboing/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/12/23/junkimade-flickrboing/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 21:56:05 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=51</guid>
		<description><![CDATA[This is some old project. First or second made with Flickr API, ported from AS2 to AS3 because it wasn&#8217;t so smooth there. It&#8217;s useless but I learned a lot from it and I&#8217;m somehow happy with result(which is rare).
You can drag balls with mouse.
Double click show 5 photos of chosen contact.
play with flickrBoing (you [...]]]></description>
			<content:encoded><![CDATA[<p>This is some old project. First or second made with Flickr API, ported from AS2 to AS3 because it wasn&#8217;t so smooth there. It&#8217;s useless but I learned a lot from it and I&#8217;m somehow happy with result(which is rare).</p>
<p>You can drag balls with mouse.<br />
Double click show 5 photos of chosen contact.</p>
<p>play with <a href="http://dx0ne.laislacorporation.com/files/junkimade/flickrBoing.html">flickrBoing</a> (you can use my login for quick run)</p>
<p><a href="http://dx0ne.laislacorporation.com/files/junkimade/flickrBoing.html" title="junkImade: flickrBoing by dx0ne, on Flickr"><img src="http://farm4.static.flickr.com/3221/3131869996_bd970f0eb3.jpg" width="500" height="317" alt="junkImade: flickrBoing" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3131869996/">screenshot @ Flickr</a></sup></p>
<p><span id="more-51"></span></p>
<p>As I said making this was equal to learning. Where&#8217;s learning there are bugs. And bugs in programming means: a) catastrophe b) funnn!</p>
<p>At very beginning of project things weren&#8217;t working as I thought the would, which resulted in the <a href="http://dx0ne.laislacorporation.com/files/junkimade/flickrBoing_orbits.html">&#8220;orbits&#8221; mutation</a>. Double click promote ball to higher orbit which, with small invention on our side, gives possibility to create some structures.</p>
<p><a href="http://dx0ne.laislacorporation.com/files/junkimade/flickrBoing_orbits.html" title="junkImade: flickrBoing orbits mutation by dx0ne, on Flickr"><img src="http://farm4.static.flickr.com/3224/3131105339_ed4662800e_m.jpg" width="240" height="229" alt="junkImade: flickrBoing orbits mutation" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3131105339/">screenshot @ Flickr</a></sup></p>
<p>You know how it goes: <em>99 bugs in my code. I fixed one bug! &#8230; 101 bugs in my code&#8230;</em> Well fixing mutation can produce, well other mutation. Bug in gravitation code on the other hand can produce&#8230; consciousness? In <a href="http://dx0ne.laislacorporation.com/files/junkimade/flickrBoing_predators.html">flickrBoing_predators</a> double clicked balls acts like they have some AI behind them. They try to catch and keep normal-flock balls. Produce few of them - they will fight for food ;]</p>
<p>To get crossdomain (FP9+ I guess) you need to manually load files for each farm:</p>
<blockquote><p>Security.loadPolicyFile(&#8221;http://farm1.static.flickr.com/crossdomain.xml&#8221;);<br />
Security.loadPolicyFile(&#8221;http://farm2.static.flickr.com/crossdomain.xml&#8221;);<br />
Security.loadPolicyFile(&#8221;http://farm3.static.flickr.com/crossdomain.xml&#8221;);<br />
Security.loadPolicyFile(&#8221;http://farm4.static.flickr.com/crossdomain.xml&#8221;);</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/12/23/junkimade-flickrboing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: tableGallery</title>
		<link>http://dx0ne.laislacorporation.com/2008/12/23/junkimade-tablegallery/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/12/23/junkimade-tablegallery/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 00:13:22 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[api]]></category>

		<category><![CDATA[flickr]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=42</guid>
		<description><![CDATA[Alternative way to view Flickr photostream or interestingness feed. The main idea was this drag&#8217;n'throw mechanism, then I thought it could be gallery. 
In menu you can bring more photos, go full screen or distribute thumbnails on circle/grid. Enjoy.
tableGallery

screenshot @ Flickr
]]></description>
			<content:encoded><![CDATA[<p>Alternative way to view Flickr photostream or interestingness feed. The main idea was this drag&#8217;n'throw mechanism, then I thought it could be gallery. </p>
<p>In menu you can bring more photos, go full screen or distribute thumbnails on circle/grid. Enjoy.</p>
<p><a title="tableGallery" href="http://dx0ne.laislacorporation.com/files/junkimade/tablegallery.html"><strong>tableGallery</strong></a></p>
<p><a href="http://dx0ne.laislacorporation.com/files/junkimade/tablegallery.html" title="junkImade: tableGallery by dx0ne, on Flickr"><img src="http://farm4.static.flickr.com/3205/3129589314_01be5d4c54.jpg" width="473" height="500" alt="junkImade: tableGallery" /></a><br />
<sup><a title="tableGallery" href="http://www.flickr.com/photos/dxone/3129589314/">screenshot @ Flickr<a></sup></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/12/23/junkimade-tablegallery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: clipWall</title>
		<link>http://dx0ne.laislacorporation.com/2008/12/21/junkimade-clipwall/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/12/21/junkimade-clipwall/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 21:21:01 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[actionscript]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=39</guid>
		<description><![CDATA[Wanted to do this for long time. I wasn&#8217;t expecting it would run that smooth in full browser window (i have 21&#8243; screen). AS3.0 is really nice thing.
clipWall (wait few seconds for filling up the buffer)

screenshot @ Flickr
]]></description>
			<content:encoded><![CDATA[<p>Wanted to do this for long time. I wasn&#8217;t expecting it would run that smooth in full browser window (i have 21&#8243; screen). AS3.0 is really nice thing.</p>
<p><a href="http://dx0ne.laislacorporation.com/files/junkimade/clipWall.html"><strong>clipWall</strong></a> (wait few seconds for filling up the buffer)</p>
<p><a href="http://dx0ne.laislacorporation.com/files/junkimade/clipWall.html" title="junkImade: clipWall by dx0ne, on Flickr"><img src="http://farm4.static.flickr.com/3248/3125469999_9557804155_o.png" width="500" height="229" alt="junkImade: clipWall" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3125469999/">screenshot @ Flickr</a></sup></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/12/21/junkimade-clipwall/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: disintegrationPuzzle</title>
		<link>http://dx0ne.laislacorporation.com/2008/12/08/junkimade-disintegrationpuzzle/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/12/08/junkimade-disintegrationpuzzle/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 15:07:33 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=36</guid>
		<description><![CDATA[Here comes the junk.
Thanks to Ben Heys for photo. Check out his stuff(goood one) at http://benheys.com/
Go play with disintegrationPuzzle.

screenshot @ Flickr
]]></description>
			<content:encoded><![CDATA[<p>Here comes the junk.</p>
<p>Thanks to Ben Heys for <a href="http://www.flickr.com/photos/benheys/2791752503/">photo</a>. Check out his stuff(goood one) at <a href="http://benheys.com/">http://benheys.com/</a></p>
<p>Go play with <a href="http://dx0ne.laislacorporation.com/files/JunkIMade/disintegrationPuzzle.html">disintegrationPuzzle</a>.</p>
<p><a href="http://dx0ne.laislacorporation.com/files/JunkIMade/disintegrationPuzzle.html" title="junkImade: disintegrationPuzzle by dx0ne, on Flickr"><img src="http://farm4.static.flickr.com/3070/3092963118_095f659f1a.jpg" width="400" height="360" alt="junkImade: disintegrationPuzzle" /></a><br />
<sup><a href="http://www.flickr.com/photos/dxone/3092963118/">screenshot @ Flickr</a></sup></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/12/08/junkimade-disintegrationpuzzle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>junkImade: wordFishEye</title>
		<link>http://dx0ne.laislacorporation.com/2008/09/22/junkimade-wordfisheye/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/09/22/junkimade-wordfisheye/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 23:59:02 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[junkImade]]></category>

		<category><![CDATA[3d]]></category>

		<category><![CDATA[actionscript3]]></category>

		<category><![CDATA[last.fm]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=27</guid>
		<description><![CDATA[junkImade is some useless stuff I make. Small demos, experiments, subproducts of ActionScript learning. Showcase of my skills. Random crap like XML based gallery, SQL based gallery, gallery with thumbnails, SQL based gallery with XML descriptions and cool mouse over effect, etc.
wordFishEye is sth like tagCloud but in 3d and without tags ;] It grabs [...]]]></description>
			<content:encoded><![CDATA[<p>junkImade is some useless stuff I make. Small demos, experiments, subproducts of ActionScript learning. Showcase of my skills. Random crap like XML based gallery, SQL based gallery, gallery with thumbnails, SQL based gallery with XML descriptions and cool mouse over effect, etc.</p>
<p><a href="http://dx0ne.laislacorporation.com/files/JunkIMade/wordFishEye.html">wordFishEye</a> is sth like tagCloud but in 3d and without tags ;] It grabs top 50 fav artists from given <a href="http://www.last.fm/">Last.fm</a> profile.</p>
<p>If you don&#8217;t have Last.fm account just click textfield and press enter - it&#8217;ll use my login.</p>
<p>Red bar is mode(list, spindle, warp, ball, wormhole).<br />
Blue controls focal.<br />
Green is radius.<br />
Orange? is words scale.<br />
Circles are presets so you don&#8217;t have to play with bars on your own - how kind of me ;]<br />
Hold mouse to speed up rotation.<br />
Press letter to filter artists by&#8230; first letter(enter clears).<br />
Double click to search artist on YouTube (pretty much useless).</p>
<p><iframe src="http://www.23hq.com/23/slideshow-inline?user_id=1668257&#038;tag=wordfisheye&#038;words=f" frameborder="0" style="border:0;" height="400" width="500"></iframe><br />
If anybody is interested i&#8217;ll clean up and post code for scroolbars.</p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/09/22/junkimade-wordfisheye/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programmer&#8217;s day that is not</title>
		<link>http://dx0ne.laislacorporation.com/2008/09/12/programmers-day-that-is-not/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/09/12/programmers-day-that-is-not/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 13:49:02 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[ActionScript3.0]]></category>

		<category><![CDATA[actionscript3]]></category>

		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=22</guid>
		<description><![CDATA[Well I don&#8217;t feel much like a programmer, but writing this was proposed by my laziness. Anyway it&#8217;s good opportunity to write small code that could be actually useful:
function getYearDay():int {
	var n:int = 0;
	var td:Date = new Date();
	var d:Date = new Date (td.getFullYear(), 0, 1);
	while ( d.getTime() < td.getTime() ) {
		d.setDate( d.getDate() + 1 );
		++n;
	}
	return [...]]]></description>
			<content:encoded><![CDATA[<p>Well I don&#8217;t feel much like a programmer, but writing this was proposed by my laziness. Anyway it&#8217;s good opportunity to write small code that could be actually useful:</p>
<blockquote><p>function getYearDay():int {<br />
	var n:int = 0;<br />
	var td:Date = new Date();<br />
	var d:Date = new Date (td.getFullYear(), 0, 1);<br />
	while ( d.getTime() < td.getTime() ) {<br />
		d.setDate( d.getDate() + 1 );<br />
		++n;<br />
	}<br />
	return n;<br />
}<br />
if ( getYearDay() != 2 >> 8 ) {<br />
	trace(&#8221;WTF?!&#8221;);<br />
}</p></blockquote>
<p><strong>getYearDay()</strong>  function was highly based on <a href="http://www.actionscript.org/forums/showthread.php3?t=159876">this stuff by tvmiller</a></p>
<p>Another thing around this is Wikipedia article or rather lack of it. It was deleted by some Wikipedia Nazis ;] <a href="http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Programmer%27s_day">Read the discussion</a>. I have no idea why they are so pushy towards deleting it since, as someone mentioned, there is place on Wikipedia for such things as Pi Day, Mole Day, Square root day, Towel Day, System Administrator Appreciation Day.</p>
<p>Anyway I better get back to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/09/12/programmers-day-that-is-not/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What mommy won&#8217;t tell you about Processing rev146</title>
		<link>http://dx0ne.laislacorporation.com/2008/09/11/what-mommy-wont-tell-you-about-processing-rev146/</link>
		<comments>http://dx0ne.laislacorporation.com/2008/09/11/what-mommy-wont-tell-you-about-processing-rev146/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 11:48:19 +0000</pubDate>
		<dc:creator>dx0ne</dc:creator>
		
		<category><![CDATA[Processing]]></category>

		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://dx0ne.laislacorporation.com/?p=14</guid>
		<description><![CDATA[Processing rev146 came out a few days ago(since then r148 showed up). Till now, I&#8217;ve been using rev135-expert, so it&#8217;s about time to upgrade. Since there really weren&#8217;t any good new games on the horizon, I dove into revisions.txt(I will marry my procrastination one day). As usual some changes and bugfixes were made.
Here are some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.processing.org/">Processing</a> rev146 came out a few days ago(since then <a href="http://www.processing.org/download/">r148</a> showed up). Till now, I&#8217;ve been using rev135-expert, so it&#8217;s about time to upgrade. Since there really weren&#8217;t any good new games on the horizon, I dove into <em>revisions.txt</em>(I will marry my <a href="http://www.youtube.com/watch?v=ojcEQO74taQ">procrastination</a> one day). As usual some changes and bugfixes were made.<br />
Here are some of the interesting functions I found there, that haven&#8217;t been added to the reference yet:</p>
<p><strong>Dialog boxes</strong><br />
Functions that prompt the user for a file to open, a location to save a file, or select a folder:</p>
<blockquote><p>String loadPath = selectInput(&#8221;What file ya want?&#8221;);<br />
String savePath = selectOutput(&#8221;Save this masterpiece as&#8230;&#8221;);<br />
String folderPath = selectFolder(&#8221;Which folder has the good stuff?&#8221;);</p></blockquote>
<p>Couldn&#8217;t make it work in browser because of</p>
<blockquote><p>java.security.AccessControlException: access denied</p></blockquote>
<p>Oh well you can&#8217;t have everything. It works in P5 environment and exported application (at least in Windows)</p>
<p><strong>requestImage(filename);</strong><br />
This function load images on a separate thread so that your sketch does not freeze while images load during setup(). While the image is loading, its width and height will be 0. If an error occurs while loading the image, its width and height will be set to -1. You&#8217;ll know when the image has loaded properly because its width and height will be &gt; 0.<br />
Wouldn&#8217;t it be nice if the height parameter would store the percentage of the loaded data?</p>
<p><strong>PImage.resize(int width, int height)</strong><br />
Allows you to resize a PImage in place. Setting width or height to zero will resize that dimension in proportion to the other.<br />
Keep in mind that this won&#8217;t work if called right after requestImage()</p>
<p><strong>textAlign(ALIGN, YALIGN);</strong><br />
Added vertical param fo textAlign for text(str, x, y, w, h)</p>
<p>there&#8217;s also<br />
<strong>imageMode(CENTER);</strong><br />
so Hasta la Vista for</p>
<blockquote><p>image(gfx, -gfx.width*0.5, -gfx.height*0.5);</p></blockquote>
<p>but it doesn&#8217;t work for me. Neither in r146 nor r148.</p>
<p><a href="http://dx0ne.laislacorporation.com/files/loadPath.pde">Download source code that uses all of the presented functions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dx0ne.laislacorporation.com/2008/09/11/what-mommy-wont-tell-you-about-processing-rev146/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
