<?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>Der Schmale - David Lenaerts's blog &#187; Farbe</title>
	<atom:link href="http://www.derschmale.com/category/farbe/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derschmale.com</link>
	<description>Flash Platform Experiments</description>
	<lastBuildDate>Fri, 06 Jan 2012 10:53:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>A heartbeat, some books, and an IDE</title>
		<link>http://www.derschmale.com/2010/02/09/a-heartbeat-some-books-and-an-ide/</link>
		<comments>http://www.derschmale.com/2010/02/09/a-heartbeat-some-books-and-an-ide/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 12:56:54 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Farbe]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[Away3D]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[IntelliJ]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[object oriented]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://www.derschmale.com/?p=238</guid>
		<description><![CDATA[Ouch! My last post has almost been 5 months ago! Realizing this, I had two options: to feign my own death until the next update, or to give some sign of (what for me passes as) life. Let&#8217;s go with the second option and see if there&#8217;s anything useful I can pass on anyway. Not [...]]]></description>
			<content:encoded><![CDATA[<p>Ouch! My last post has almost been 5 months ago! Realizing this, I had two options: to feign my own death until the next update, or to give some sign of (what for me passes as) life. Let&#8217;s go with the second option and see if there&#8217;s anything useful I can pass on anyway.</p>
<p>Not having posted in such a long time doesn&#8217;t mean I&#8217;ve been slacking off, though. Quite the contrary; the past months have seen some of the most intense coding sessions I&#8217;ve went through in a long time. First a 3-month non-stop coding spree for <a href="http://away3d.com/" target="_blank">Away3D</a>, followed by continued development on <a href="http://www.derschmale.com/category/farbe/" target="_self">Farbe</a>. Hopefully, the result of both will be available in the (very?) near future, along with some other updates!</p>
<p>Now, instead of giving you demos or code, here&#8217;s some other things to help you develop.</p>
<p><em>(and no, I won&#8217;t be sharing any thoughts on the future of Flash)</em></p>
<p><strong>Books!</strong></p>
<p>Books form such an important part of my development process and knowledge, I&#8217;m a bit surprised myself that I haven&#8217;t really shared any titles here. Trying to ammend the situation, here&#8217;s some of the more influential ones I&#8217;ve read since I&#8217;ve started this blog (leaving out more general ones concerning design patterns etc):</p>
<ul>
<li><a href="http://www.pragprog.com/the-pragmatic-programmer" target="_blank"><em>The Pragmatic Programmer</em></a><em>, by Andrew Hunt and David Thomas</em>: it&#8217;s a classic, and you should already have read it. So why am I still listing it? Because it often seems many Flash platform programmers stick to ActionScript/Flex-related books. Here&#8217;s a book that changes the way you think about your code, be it in form of design principles, tools or workflow. It&#8217;s a rather short read, so no excuses!</li>
<li><a href="http://www.elementsofprogramming.com/" target="_blank"><em>Elements of Programming</em></a><em>,  by Alexander Stepanov and Paul McJones</em>: I found this one on a random trip to the bookstore. Approaching algorithms and data structures in a very formal and mathematical way, it forces you to &#8211; again - think differently about your code, but on a lower level (mainly concerning algorithms using data structures). What I love about this type of books is that you suddenly realize how differently you start tackling certain algorithmic problems. Perhaps not a book for everyone, but an interesting read nonetheless.</li>
<li><a href="http://www.amazon.com/Game-Engine-Design-Second-Interactive/dp/0122290631/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1265718030&amp;sr=1-1" target="_blank"><em>3D Game Engine Design</em></a><em>, by David H. Eberly</em>: (Thanks to <a href="http://unitzeroone.com/" target="_blank">Ralph</a> for suggesting it way back <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). &#8220;The Morgan Kaufmann Series in Interactive 3D Technology&#8221; has quite a few good books, but to me, this is the most valuable. Of all books I had at the time, this one taught me most about many 3D engine concepts. During the development of Wick3d, I couldn&#8217;t do without it.</li>
</ul>
<p><strong>IDE &#8211; IntelliJ</strong></p>
<p>I&#8217;ve recently started using <a href="http://www.jetbrains.com/idea/" target="_blank">IntelliJ IDEA 9</a> for ActionScript and Flex development, after hearing <a href="http://blog.joa-ebert.com/" target="_self">Joa</a> and the <a href="http://www.flashbum.com/" target="_blank">Flash Bum</a> raving about it. Coming from Eclipse (Flex Builder and FDT), it took a while to get used to, but now I have I can&#8217;t imagine returning to Eclipse at all. I have been raving about it in real life, much to the annoyance of my co-workers, so it would be wrong of me not to mention it here.  The refactoring, template and code generation support is simply unmatched, there&#8217;s a very useful and clean UML diagram view, properly integrated Maven support, &#8230; AND I get to annoy the Java/back-end team directly inside the IDE <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>To think I was once had to code C in MS-Dos Edit, how times have changed&#8230; <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Edit</strong>: The Flashbum just wrote an article on InsideRIA about how to get started. <a href="http://www.insideria.com/2010/02/intellij-idea9-actionscript-3f.html" target="_blank">Read all about it!</a></p>
<p>That&#8217;s about it. I hope this sign of life is useful to anyone after all! If not, I promise there will be more <em>real</em> updates soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derschmale.com/2010/02/09/a-heartbeat-some-books-and-an-ide/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>One year later: a short retrospective</title>
		<link>http://www.derschmale.com/2009/05/07/one-year-later-a-short-retrospective/</link>
		<comments>http://www.derschmale.com/2009/05/07/one-year-later-a-short-retrospective/#comments</comments>
		<pubDate>Thu, 07 May 2009 17:52:23 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Farbe]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[wick3d]]></category>

		<guid isPermaLink="false">http://www.derschmale.com/?p=135</guid>
		<description><![CDATA[The first post on this blog dates from May 4th, 2008, so I thought it fitting to look back at the year that has passed since then. Over the time I&#8217;ve done some experiments/projects that, when I look back at them, make me think &#8220;What was I thinking?!&#8221;. On the other hand, there are luckily a few [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-134" title="birthdaypie" src="http://www.derschmale.com/blog/wp-content/birthdaypie.jpg" alt="birthdaypie" width="300" height="219" />The first post on this blog dates from May 4th, 2008, so I thought it fitting to look back at the year that has passed since then.</p>
<p>Over the time I&#8217;ve done some experiments/projects that, when I look back at them, make me think &#8220;What was I thinking?!&#8221;. On the other hand, there are luckily a few of which I&#8217;m actually proud, or at least content with how they turned out &#8211; whether they were practically useful or not (which is not exactly always my goal). A lot of the things I did, I did as a way to learn. As such there was <a href="http://www.derschmale.com/tag/wick3d/">Wick3d</a>, a (now defunct) basic 3d engine to rehash my algebra (actually, I worked on it some more after the last update without comitting anything to svn). And of course Pixel Bender came along, giving me a whole new area to explore, as did Alchemy.</p>
<p>I do feel I learned quite a bit, but at the same time it seems with everything I learn, there&#8217;s twice as much I still need to study. Feels like a constant battle against ineptitude, especially when talking to those who actually seem to know what they&#8217;re talking about <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Lastly, I&#8217;d like to pass some more updates on <a href="http://www.derschmale.com/category/farbe/">Farbe</a>. I recently made some updates implementing oil paint and airbrush. There&#8217;s still so much work to do before it can go public, but soon it will be time to look for a Flex UI-designer/skin artist. If you know or are anyone with experience, send me a hoot with some examples! AS3/MXML/CSS experience is a must of course <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Just keep in mind, the project is free and will likely be open-sourced eventually (which is also a cheap way of saying: no money involved <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ). If you follow me on <a href="http://twitter.com/DerSchmale" target="_blank">Twitter</a>, you might have seen some demo pictures being tweeted. Those that haven&#8217;t: here&#8217;s some previews of Farbe simulating pencils (<a href="http://twitpic.com/2vs9t" target="_blank">1</a>, <a href="http://twitpic.com/2z124" target="_blank">2</a>), <a href="http://twitpic.com/486qc" target="_blank">oil pain</a>t and <a href="http://twitpic.com/4odyc" target="_blank">airbrush</a>.</p>
<p>Off towards another year! Thanks to all you readers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derschmale.com/2009/05/07/one-year-later-a-short-retrospective/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Image bleeding with water (Flash + PixelBender)</title>
		<link>http://www.derschmale.com/2009/04/13/image-bleeding-with-water-flash-pixelbender/</link>
		<comments>http://www.derschmale.com/2009/04/13/image-bleeding-with-water-flash-pixelbender/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 21:25:15 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Farbe]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[fluid dynamics]]></category>
		<category><![CDATA[fluids]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[simulation]]></category>

		<guid isPermaLink="false">http://www.derschmale.com/?p=124</guid>
		<description><![CDATA[The last 2 months, I&#8217;ve been investing 99% of my free time into the next iteration of Farbe, turning it into a real Flex-based image editing tool simulating natural media. Although there&#8217;s nothing of the application itself that I can show yet, today I created another small proof of concept for it that I can [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.derschmale.com/demo/farbe/imagebleed/FarbeImageBleed.html" target="_blank"><img class="alignleft size-full wp-image-123" title="Image Bleeding" src="http://www.derschmale.com/blog/wp-content/bleeding.jpg" alt="Image Bleeding" width="300" height="219" /></a>The last 2 months, I&#8217;ve been investing 99% of my free time into the next iteration of <a href="http://www.derschmale.com/category/farbe/" target="_blank">Farbe</a>, turning it into a real Flex-based image editing tool simulating natural media. Although there&#8217;s nothing of the application itself that I can show yet, today I created another small proof of concept for it that I can make public.</p>
<p>One of the things lacking in the <a href="http://www.derschmale.com/2009/02/16/flash-watercolour-simulation-using-pixelbender/" target="_blank">watercolour POC</a> was that once a brush stroke was made, nothing could be done with it. I thought it&#8217;d be nice to still be able to add water once the paint was rendered and have the colours bleed out. Using much of the same physics as for the watercolours, I figured out an algorithm that was both adequate in speed (real-time) as visually effective enough to water down the image. As usual, much Pixel Bender was used. The multi-threaded nature of ShaderJob really proved its worth in this case. You can keep adding water without the simulation slowing down the interaction, even if the simulation itself gets slow when there&#8217;s a lot of wet areas to cover.</p>
<p>To get the most realistic results, settings such as &#8220;ink speed&#8221; and &#8220;water amount&#8221; should be kept low while slowly rubbing over the image. Higher levels are not natural and will look caricatural (reminding me of Kai&#8217;s Power Tools of old! <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ).</p>
<p>So check it out! <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li><a href="http://www.derschmale.com/demo/farbe/imagebleed/FarbeImageBleed.html" target="_blank">Demo</a></li>
<li><a href="http://www.derschmale.com/demo/farbe/imagebleed/srcview/index.html" target="_blank">Source</a></li>
</ul>
<p>Note that, even tho Farbe is not an open source project (or not yet at least), I&#8217;m providing the source for this POC &#8211; consider it a late Easter present <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  But do remember, it IS poc-style code!</p>
<p>In closing, I&#8217;ll leave you with a few updates on Farbe. First of all, the watercolour paint is quite a bit faster (unless, of course, you&#8217;re working on much bigger canvas sizes than the cheaply upscaled old version) and so far it seems it&#8217;s pretty bug free! Secondly, I recently finished a pencil and eraser tool which are looking alright. The rest of the time has been spent mainly on the user interface and typical paint tool functionality. I&#8217;m starting to feel quite overworked at the moment, but the app is shaping up so it&#8217;s worth it! I hope I&#8217;ll be able to give out some more tangible updates on all that soon <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.derschmale.com/2009/04/13/image-bleeding-with-water-flash-pixelbender/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Flash watercolour simulation (using PixelBender)</title>
		<link>http://www.derschmale.com/2009/02/16/flash-watercolour-simulation-using-pixelbender/</link>
		<comments>http://www.derschmale.com/2009/02/16/flash-watercolour-simulation-using-pixelbender/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 22:28:56 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Farbe]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[fluid dynamics]]></category>
		<category><![CDATA[fluids]]></category>
		<category><![CDATA[FP10]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[paint]]></category>
		<category><![CDATA[physics]]></category>
		<category><![CDATA[Pixel Bender]]></category>
		<category><![CDATA[simulation]]></category>
		<category><![CDATA[watercolor]]></category>

		<guid isPermaLink="false">http://www.derschmale.com/?p=49</guid>
		<description><![CDATA[Something I&#8217;ve been thinking about doing for a long time is imitating real artistic media, in particular watercolours. Not because I&#8217;m an avid watercolour painter (last time I&#8217;ve touched them was in kindergarten), but because I think it&#8217;s an interesting dynamic. Since it is mainly fluid dynamics, the idea resurfaced after my previous fluid sims. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://derschmale.com/demo/farbe/watercolour/FarbeWaterColour.html" target="_blank"><img class="alignleft size-full wp-image-50" title="farbe-watercolour" src="http://www.derschmale.com/blog/wp-content/farbe-watercolour.jpg" alt="farbe-watercolour" width="300" height="219" /></a></p>
<p>Something I&#8217;ve been thinking about doing for a long time is imitating real artistic media, in particular watercolours. Not because I&#8217;m an avid watercolour painter (last time I&#8217;ve touched them was in kindergarten), but because I think it&#8217;s an interesting dynamic. Since it is mainly fluid dynamics, the idea resurfaced after my previous fluid sims. And luckily, with Pixel Bender, I can finally do this kind of thing! <a href="http://grail.cs.washington.edu/projects/watercolor/paper_small.pdf" target="_blank">This paper</a> by Cassidy J. Curtis et al was great, tho it also caused me to loose some time figuring out some errors. Finally I came up with something, dubbed <a href="http://derschmale.com/demo/farbe/watercolour/FarbeWaterColour.html" target="_blank">Farbe</a> (simply German for &#8216;colour&#8217;). One thing I dropped was the interaction between different strokes, because that would kill the cpu easily enough.</p>
<p>For a change, there&#8217;s no source of this, and for a few reasons. First of all, it&#8217;s a mess and needs to be optimized. Apart from that, I might just add on to this before I release anything (hence the project name &#8216;Farbe&#8217;).</p>
<p>The picture on the left is my poor imitation of Joan Miró&#8217;s Barcelona &#8217;92 poster (Strepie, this one&#8217;s for you <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), so ignore that and create your own <img src='http://www.derschmale.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://derschmale.com/demo/farbe/watercolour/FarbeWaterColour.html" target="_blank">See Farbe in action</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.derschmale.com/2009/02/16/flash-watercolour-simulation-using-pixelbender/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

