<?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>thinkingaloud.net</title>
	<atom:link href="http://www.thinkingaloud.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thinkingaloud.net</link>
	<description></description>
	<lastBuildDate>Fri, 23 Mar 2012 20:53:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Chromacoding &#8211; hiding secret files in images</title>
		<link>http://www.thinkingaloud.net/chromacoding/</link>
		<comments>http://www.thinkingaloud.net/chromacoding/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 09:05:04 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=282</guid>
		<description><![CDATA[Here is a technical report I have written in 2006, which follows an interesting route to increase the steganographic capacity of lossless compressed images such as PNG files. This is done by using a color space which is perceptually more linear than the technical RGB cube: CIELab (or CIELuv). This is what it looks like [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a technical report I have written in 2006, which follows an interesting route to increase the steganographic capacity of lossless compressed images such as PNG files. This is done by using a color space which is perceptually more linear than the technical RGB cube: CIELab (or CIELuv).</p>
<p><span id="more-282"></span></p>
<p>This is what it looks like in theory:</p>
<p><a href="http://www.thinkingaloud.net/wp-content/uploads/2011/04/rect3007.png"><img class="aligncenter size-full wp-image-268" title="rect3007" src="http://www.thinkingaloud.net/wp-content/uploads/2011/04/rect3007.png" alt="" width="600" height="303" /></a></p>
<p>The point is that in some spots in the right hand colorspace (CIELab), colors as defined in the RGB space are more crunched together than in other places, for example in the blue area. This effect is now exploited by applying a uniform subdivision on the CIELab color space and interchanging indivual, equally perceived colors to encode a message.</p>
<p>Here is the PDF: <a href="http://www.thinkingaloud.net/wp-content/uploads/2004/11/Using-perceptually-uniform-color-spaces-for-image-steganography.pdf">Using perceptually uniform color spaces for image steganography</a></p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=282&amp;md5=819f85293b6207594564f6cc00f9478e" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/chromacoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fchromacoding%2F&amp;language=en_GB&amp;category=text&amp;title=Chromacoding+%26%238211%3B+hiding+secret+files+in+images&amp;description=Here+is+a+technical+report+I+have+written+in+2006%2C+which+follows+an+interesting+route+to+increase+the+steganographic+capacity+of+lossless+compressed+images+such+as+PNG+files.+This+is...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Mmmh&#8230; double chocolate cookies!</title>
		<link>http://www.thinkingaloud.net/mmmh-double-chocolate-cookies/</link>
		<comments>http://www.thinkingaloud.net/mmmh-double-chocolate-cookies/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 18:38:09 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Delicacies]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=232</guid>
		<description><![CDATA[Here comes a double chocolate cookie recipe. Needless to say, it&#8217;s Good. And yes that&#8217;s supposed to be a capital G there. Ingredients: 200 g of milk chocolate 200 g of dark chocolate 100 g of butter 175 g of sugar 1 egg 180 g of flour 1 pack of baking soda 1/2 teaspoon of [...]]]></description>
			<content:encoded><![CDATA[<p>Here comes a double chocolate cookie recipe. Needless to say, it&#8217;s Good. And yes that&#8217;s supposed to be a capital G there.</p>
<p><span id="more-232"></span></p>
<p><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/cookie-big.png"><img class="alignright size-full wp-image-230" title="cookie-big" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/cookie-big.png" alt="" width="200" height="182" /></a><strong>Ingredients:</strong></p>
<ul>
<li>200 g of milk chocolate</li>
<li>200 g of dark chocolate</li>
<li>100 g of butter</li>
<li>175 g of sugar</li>
<li>1 egg</li>
<li>180 g of flour</li>
<li>1 pack of baking soda</li>
<li>1/2 teaspoon of salt</li>
<li>30 g of cocoa</li>
</ul>
<p><strong>Chopping, blending and baking action:</strong></p>
<ol>
<li>Chop 120 g of milk chocolate into chunks, melt in a <a href="http://en.wikipedia.org/wiki/Bain-marie">bain-marie</a></li>
<li>Chop remaining chocolate into chunks</li>
<li>Mix butter, sugar and egg, add molten milk chocolate</li>
<li>Mix flour, soda, salt and cocoa, add to chocolate dough</li>
<li>Add chocolate chunks</li>
<li>Preheat oven to 175 °C</li>
<li>Form cookies, leave space in between on baking sheet</li>
<li>Bake each sheet for 10-12 minutes</li>
</ol>
<p><strong>Hint #1: </strong>The amount of dough yields 60 cookies, try 30 cookies (6 x 5) per sheet.</p>
<p><strong>Hint #2:</strong> Get the cookies into shape by rolling dough into a ball and then squash it. If you would like to make really fancy cookies, bang a heavy knife from all four sides against the edges, this will give you almost square cookies.</p>
<p><strong>Hint #3: </strong>If you feel the urge to prepare twice the amount, use a milk:dark chocolate ratio of 5:3. If you can handle bisection but have trouble performing an accurate cookie dough trisection, try to accept the fact that you may end up with some smaller and some bigger cookies. Get over it.</p>
<p><em>This recipe is a variant of the original recipe found in the German magazine <a href="http://de.wikipedia.org/wiki/Lecker">Lecker</a>, from the Christmas issue 2008, p. 19. In the original recipe, only dark chocolate was used, and butter/vanilla flavor was added.  I tried it and changed the recipe. Been there, done that, trust me.</em></p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=232&amp;md5=74c5d4d41d1f943124b5abbbf943aeac" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/mmmh-double-chocolate-cookies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fmmmh-double-chocolate-cookies%2F&amp;language=en_GB&amp;category=text&amp;title=Mmmh%26%238230%3B+double+chocolate+cookies%21&amp;description=Here+comes+a+double+chocolate+cookie+recipe.+Needless+to+say%2C+it%26%238217%3Bs+Good.+And+yes+that%26%238217%3Bs+supposed+to+be+a+capital+G+there.+Ingredients%3A+200+g+of+milk+chocolate+200+g...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Why’s Poignant Guide to Ruby (LaTeX PDF)</title>
		<link>http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/</link>
		<comments>http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 19:32:22 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=5</guid>
		<description><![CDATA[If you are interested in Ruby, or already a Ruby programmer, you might be interested in a wee little precious gem called Why&#8217;s Poignant Guide to Ruby, written by why the lucky stiff. It is not only a mindboggling trip into the depths of the language &#8211; it has cartoon foxes, it has a mad [...]]]></description>
			<content:encoded><![CDATA[<p>If you are interested in Ruby, or already a Ruby programmer, you might be interested in a wee little precious gem called <a href="http://mislav.uniqpath.com/poignant-guide/"><em>Why&#8217;s Poignant Guide to Ruby</em></a>, written by <a href="http://en.wikipedia.org/wiki/Why_the_lucky_stiff">why the lucky stiff</a>. It is not only a mindboggling trip into the depths of the language &#8211; it has cartoon foxes, it has a mad genius misunderstood by the world, why, it even comes with <a href="http://mislav.uniqpath.com/poignant-guide/soundtrack/">its own soundtrack</a>!</p>
<p><span id="more-5"></span><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/wpgtr-pdf.png"><img class="alignright size-medium wp-image-112" title="Why's Poignant Guide to Ruby" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/wpgtr-pdf-300x193.png" alt="" width="300" height="193" /></a>Before going all the way and building my own hip holster, I needed to print the book and so, feeling uncomfortable with the <a href="http://www.rubyinside.com/media/poignant-guide.pdf">HTML PDF version</a>, I made a LaTeX-powered PDF out of it, and here it is: <a href="http://www.thinkingaloud.net/wp-content/uploads/2012/03/wpgtr.pdf">Why&#8217;s Poignant Guide to Ruby</a> (9.8 MiB). <strong>Update:</strong> Thanks to <a href='https://github.com/agravier'>Alexandre Gravier</a> who made a great contribution by improving the PDF in many ways. Alexandre also set up a <a href='https://github.com/agravier/wpgtr-latex'>GitHub repository</a>. </p>
<p>For a comfortable always-carrying-the-book-around-everywhere-you-go experience, the PDF has a weird paper size of 6.8&#8243; x 8.8&#8243;. Copy shops should be able able to cut 100+ pages to a custom size. Otherwise, feel free to scale the printout accordingly.</p>
<p><strong>What&#8217;s not in the PDF:</strong></p>
<ol>
<li><strike>The <em>Tiger&#8217;s Vest expansion pack</em></strike></li>
<li>The sidebars, as I felt that they would disrupt the reading flow.</li>
</ol>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=5&amp;md5=6668f7b2fb44125324e677aebdb63ad0" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/whys-poignant-guide-to-ruby/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fwhys-poignant-guide-to-ruby%2F&amp;language=en_GB&amp;category=text&amp;title=Why%E2%80%99s+Poignant+Guide+to+Ruby+%28LaTeX+PDF%29&amp;description=If+you+are+interested+in+Ruby%2C+or+already+a+Ruby+programmer%2C+you+might+be+interested+in+a+wee+little+precious+gem+called+Why%26%238217%3Bs+Poignant+Guide+to+Ruby%2C+written+by+why...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Collateral damage</title>
		<link>http://www.thinkingaloud.net/collateral-damage/</link>
		<comments>http://www.thinkingaloud.net/collateral-damage/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 21:49:08 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=79</guid>
		<description><![CDATA[From the end of Muse&#8217;s United States of Eurasia, recorded on the piano (2 tracks):]]></description>
			<content:encoded><![CDATA[<p>From the end of Muse&#8217;s <em>United States of Eurasia</em>, recorded on the piano (2 tracks):</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=79&amp;md5=46c096d2b80f8366fc91ed6383aed2bb" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/collateral-damage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thinkingaloud.net/wp-content/uploads/2010/08/Collateral-damage.mp3" length="1564304" type="audio/mpeg" />
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fcollateral-damage%2F&amp;language=en_GB&amp;category=text&amp;title=Collateral+damage&amp;description=From+the+end+of+Muse%26%238217%3Bs+United+States+of+Eurasia%2C+recorded+on+the+piano+%282+tracks%29%3A&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Birabuto!</title>
		<link>http://www.thinkingaloud.net/birabuto/</link>
		<comments>http://www.thinkingaloud.net/birabuto/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 21:47:09 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=76</guid>
		<description><![CDATA[A little ditty which was once very famous, recorded on the piano (2 tracks):]]></description>
			<content:encoded><![CDATA[<p>A little ditty which was once very famous, recorded on the piano (2 tracks):</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=76&amp;md5=aae92e12dd37c3454793d5f6ac0c3262" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/birabuto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thinkingaloud.net/wp-content/uploads/2010/08/Super-Mario.mp3" length="823097" type="audio/mpeg" />
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fbirabuto%2F&amp;language=en_GB&amp;category=text&amp;title=Birabuto%21&amp;description=A+little+ditty+which+was+once+very+famous%2C+recorded+on+the+piano+%282+tracks%29%3A&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>New song</title>
		<link>http://www.thinkingaloud.net/new-song/</link>
		<comments>http://www.thinkingaloud.net/new-song/#comments</comments>
		<pubDate>Thu, 21 Oct 2004 22:03:10 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=103</guid>
		<description><![CDATA[The last of a few electronica pieces, using drum samples from The Eels and 2raumwohnung:]]></description>
			<content:encoded><![CDATA[<p>The last of a few electronica pieces, using drum samples from <a href="http://www.eelstheband.com/">The Eels</a> and <a href="http://www.2raumwohnung.de/">2raumwohnung</a>:</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=103&amp;md5=93d89f8ff52822bc7e66c7b87b9f4864" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/new-song/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thinkingaloud.net/wp-content/uploads/2010/08/new-song.mp3" length="1294012" type="audio/mpeg" />
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fnew-song%2F&amp;language=en_GB&amp;category=text&amp;title=New+song&amp;description=The+last+of+a+few+electronica+pieces%2C+using+drum+samples+from+The+Eels+and+2raumwohnung%3A&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Sketchy rendering of vector fields</title>
		<link>http://www.thinkingaloud.net/sketchy-rendering-of-vector-fields/</link>
		<comments>http://www.thinkingaloud.net/sketchy-rendering-of-vector-fields/#comments</comments>
		<pubDate>Thu, 23 Sep 2004 21:29:33 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=64</guid>
		<description><![CDATA[When fluids, gases or electrostatic fields are simulated, the result is a vector field, which consists of an array of vectors, which point in some direction and have a certain length. The longer the vector, the higher the pressure, velocity or electrostatic charge. Visualization is usually done using arrows in a regular grid, as depicted [...]]]></description>
			<content:encoded><![CDATA[<p>When fluids, gases or electrostatic fields are simulated, the result is a vector field, which consists of an array of vectors, which point in some direction and have a certain length. The longer the vector, the higher the pressure, velocity or electrostatic charge.<br />
<span id="more-64"></span></p>
<p>Visualization is usually done using arrows in a regular grid, as depicted in Fig. 1. This article is about non-photorealistic rendering of vector fields, giving more intuitive and visually appealing images (see Fig. 2).</p>
<div id="attachment_120" class="wp-caption alignleft" style="width: 342px"><img class="size-full wp-image-128 " title="inout-100-burkardt-transparent" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/inout-100-burkardt-transparent.png" alt="" width="332" height="300" /><p class="wp-caption-text">Fig. 1   classic visualization with arrows</p></div>
<div id="attachment_121" class="wp-caption alignleft" style="width: 310px"><img class="alignleft size-full wp-image-129" title="inout-100-npr-transparent" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/inout-100-npr-transparent.png" alt="" width="300" height="300" /><p class="wp-caption-text">Fig. 2   sketchy visualization with strokes</p></div>
<div style="clear: both;"></div>
<p>A drawback of the sketchy version is that the direction of the flow cannot be discerned.</p>
<p>This work is based upon [1], in which Salisbury et al. provide an interactive system in which the user can define an orientation for every region in a target image, and the program renders the individual strokes.</p>
<h1>Thinking about strokes</h1>
<p>How can we represent a stroke, anyway? There are several models: a stroke can be a simple straight line, a curved spline, or a bitmap or whatever you can think of. In this project, a stroke is defined as follows:</p>
<ul>
<li>It has a center <em>x</em>, <em>y</em>,</li>
<li>a <em>length</em> and a <em>width</em> and</li>
<li>an orientation, expressed by an <em>angle</em> between the stroke and the positive x-axis.</li>
</ul>
<p>Up to here, our stroke is a simple straight line, and now comes the fancy stuff:</p>
<ul>
<li>a coefficient <em>curveAmount</em> which describes how much the stroke is bent,</li>
<li><em>startWidth</em> and <em>endWidth</em>, in case we want the stroke to be thicker or thinner at one of its ends,</li>
<li>more variables could be defined here, such as more waviness coefficients or a noise coefficient to give the stroke a dashed or dotted look.</li>
</ul>
<p>Now this is what an average stroke looks like:</p>
<div id="attachment_132" class="wp-caption aligncenter" style="width: 155px"><img class="size-full wp-image-132   " style="border: 1px solid #888888;" title="stroke2" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/stroke2.png" alt="" width="145" height="47" /><p class="wp-caption-text">Fig. 3   an average stroke</p></div>
<p>It has a length of 120, a width of 4, an angle of 5.7°, a curveAmount of 1.0, and a startWidth of 5.0. It was rendered in less than a second with the PCRenderer object from the pcbasics library.</p>
<p>Now that we have a function to render any stroke we want, we can move on to the next part.</p>
<h1>Placing the strokes</h1>
<p>The next step is to find out where to place strokes. First, a tone image is generated, which is dark where the vectors are long, and bright where less movement is going on. For every pixel, we divide the length of the vector at that pixel by the maximum vector length or the vector field. After this, the image has to be &#8220;gamma-corrected&#8221;, because simply normalizing the vectors may result in a much too dark or much too bright tone image.</p>
<p>Once we have the tone image, we build a list of pixels which are potential stroke centers. Whether a pixel gets on that list depends on its brightness in the tone image. If it is brighter than some threshold, there is no need to place a stroke on that pixel.</p>
<p>From that list, we randomly choose one pixel, and add a stroke to a global stroke list, centered at that pixel. The stroke is oriented according to the orientation of the vector field, and its length is set to a minimum length. The stroke length is increased until a maximum length is reached or the difference between the field orientation at one of its endpoints and the one at its center exceeds a given tolerance angle (like 10°).</p>
<p>The stroke is rendered as a quick preview without antialiasing. After that, the stroke is blurred (strokes in darker regions are blurred less) and then subtracted from the tone image. All pixels which are affected by the stroke and are now brighter than the brightness threshold are removed from the pixel list until the list is empty. This is when all strokes have been placed.</p>
<div id="attachment_143" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-143 " style="border: 1px solid #888888;" title="inout-100-tone-0" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/inout-100-tone-0.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 4   initial tone image</p></div>
<div id="attachment_144" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-144 " style="border: 1px solid #888888;" title="inout-100-tone-1" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/inout-100-tone-1.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 5   tone image after 100 strokes have been placed</p></div>
<div id="attachment_145" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-145 " style="border: 1px solid #888888;" title="inout-100-tone-2" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/inout-100-tone-2.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 6   after 200 strokes</p></div>
<div id="attachment_146" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-146 " style="border: 1px solid #888888;" title="inout-100-tone-3" src="http://www.thinkingaloud.net/wp-content/uploads/2004/09/inout-100-tone-3.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 7   after 300 stokes (the process finished with 330 strokes)</p></div>
<div style="clear: both;"></div>
<div id="attachment_143" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-171" style="border: 1px solid #888888;" title="allwhite" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/allwhite.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 8   the result image is initialized with white</p></div>
<div id="attachment_144" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-144 " style="border: 1px solid #888888;" title="inout-100-tone-1" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/inout-100-result-0.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 9   after 100 strokes</p></div>
<div id="attachment_145" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-145 " style="border: 1px solid #888888;" title="inout-100-tone-2" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/inout-100-result-1.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 10   after 200 strokes</p></div>
<div id="attachment_146" class="wp-caption alignleft" style="width: 170px"><img class="size-full wp-image-146 " style="border: 1px solid #888888;" title="inout-100-tone-3" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/inout-100-result-2.png" alt="" width="160" height="160" /><p class="wp-caption-text">Fig. 11   after 300 stokes</p></div>
<div style="clear: both;"></div>
<p>What needs to be done now is to render each stroke in the stroke list, and add it to the result image.</p>
<h1>Result images</h1>
<p>The images of the electrostatic field and the flow around a cylinder were computed with data sets generated by the mfield program written by Greg Turk and available in his  <a href="http://www.gvu.gatech.edu/people/faculty/greg.turk/streamlines/streamlines.html" target="_blank"> streamline package</a>.</p>
<div id="attachment_146" class="wp-caption alignleft" style="width: 230px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-static-big.png"><img class="size-full wp-image-146 " style="border: 1px solid #888888;" title="inout-100-tone-3" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-static-small.png" alt="" width="220" height="165" /></a><p class="wp-caption-text">Fig. 12   electrostatic field around a dipole</p></div>
<div id="attachment_146" class="wp-caption alignleft" style="width: 230px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-static-big-grid.png"><img class="size-full wp-image-146 " style="border: 1px solid #888888;" title="inout-100-tone-3" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-static-small-grid.png" alt="" width="220" height="165" /></a><p class="wp-caption-text">Fig. 13   electrostatic field around a dipole</p></div>
<div id="attachment_146" class="wp-caption alignleft" style="width: 230px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-cylinder-big.png"><img class="size-full wp-image-146 " style="border: 1px solid #888888;" title="inout-100-tone-3" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-cylinder-small.png" alt="" width="220" height="165" /></a><p class="wp-caption-text">Fig. 14   electrostatic field around a dipole</p></div>
<div style="clear: both;"></div>
<p>Fig. 2 and the following two images of a fluid flowing through a cell were generated with data sets available on John Burkardt&#8217;s <a href="http://www.csit.fsu.edu/%7Eburkardt/" target="_blank">website</a>.</p>
<p>The other two images are based on photographs and a vector field which is dependent of the brightness of the tone image (there are three directions in each of the images).</p>
<div id="attachment_146" class="wp-caption alignleft" style="width: 230px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/inout-300.png"><img class="size-full size-full wp-image-200" style="border: 1px solid #888888;" title="inout-300-small" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/inout-300-small.png" alt="" width="220" height="220" /></a><p class="wp-caption-text">Fig. 15   water flowing from the bottom left-hand to the top right-hand corner</p></div>
<div id="attachment_146" class="wp-caption alignleft" style="width: 230px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/tcell-300.png"><img class="size-full size-full wp-image-200" style="border: 1px solid #888888;" title="inout-300-small" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/tcell-300-small.png" alt="" width="220" height="220" /></a><p class="wp-caption-text">Fig. 16   water flowing through a t-cell</p></div>
<div id="attachment_146" class="wp-caption alignleft" style="width: 230px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-jule.png"><img class="size-full size-full wp-image-200" style="border: 1px solid #888888;" title="inout-300-small" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/strokes-jule-small.png" alt="" width="220" height="220" /></a><p class="wp-caption-text">Fig. 17   a portrait of a lady</p></div>
<div style="clear: both;"></div>
<div id="attachment_146" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.thinkingaloud.net/wp-content/uploads/2010/08/kiew-big.png"><img class="size-full size-full wp-image-200" style="border: 1px solid #888888;" title="inout-300-small" src="http://www.thinkingaloud.net/wp-content/uploads/2010/08/kiew-small.png" alt="" width="600" height="382" /></a><p class="wp-caption-text">Fig. 18   the photo for this rendering was taken by Thomas Schallschmidt in Kiev </p></div>
<h1>References</h1>
<p>[1] Michael P. Salisbury, Michael T. Wong, John F. Hughes, and David H. Salesin. &#8220;Orientable Textures for Image-Based Pen-and-Ink Illustration&#8221;. In Turner Whitted, editor, Proceedings of SIGGRAPH′97 (Los Angeles, August 1997), Computer Graphics Proceedings, Annual Conference Series, pages 401-406, New York, 1997. ACM SIGGRAPH.</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=64&amp;md5=717de94e6f34fc7db12cfc80d82caaeb" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/sketchy-rendering-of-vector-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fsketchy-rendering-of-vector-fields%2F&amp;language=en_GB&amp;category=text&amp;title=Sketchy+rendering+of+vector+fields&amp;description=When+fluids%2C+gases+or+electrostatic+fields+are+simulated%2C+the+result+is+a+vector+field%2C+which+consists+of+an+array+of+vectors%2C+which+point+in+some+direction+and+have+a+certain...&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Bummer</title>
		<link>http://www.thinkingaloud.net/bummer/</link>
		<comments>http://www.thinkingaloud.net/bummer/#comments</comments>
		<pubDate>Fri, 22 Aug 2003 21:58:37 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=96</guid>
		<description><![CDATA[This time, a very relaxing piece of music:]]></description>
			<content:encoded><![CDATA[<p>This time, a very relaxing piece of music:</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=96&amp;md5=86d17130359052203ef21adaa1b022b1" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/bummer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thinkingaloud.net/wp-content/uploads/2010/08/Bummer1.mp3" length="1970047" type="audio/mpeg" />
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fbummer%2F&amp;language=en_GB&amp;category=text&amp;title=Bummer&amp;description=This+time%2C+a+very+relaxing+piece+of+music%3A&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>T minus ten</title>
		<link>http://www.thinkingaloud.net/t-minus-ten/</link>
		<comments>http://www.thinkingaloud.net/t-minus-ten/#comments</comments>
		<pubDate>Fri, 28 Mar 2003 21:57:15 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=93</guid>
		<description><![CDATA[Another predictable anti war tune:]]></description>
			<content:encoded><![CDATA[<p>Another predictable anti war tune:</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=93&amp;md5=f047564bebc44fce05e1c7f14d00508b" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/t-minus-ten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thinkingaloud.net/wp-content/uploads/2010/08/T-Minus-Ten.mp3" length="1361926" type="audio/mpeg" />
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Ft-minus-ten%2F&amp;language=en_GB&amp;category=text&amp;title=T+minus+ten&amp;description=Another+predictable+anti+war+tune%3A&amp;tags=blog" type="text/html" />
	</item>
		<item>
		<title>Choose Peace</title>
		<link>http://www.thinkingaloud.net/choose-peace/</link>
		<comments>http://www.thinkingaloud.net/choose-peace/#comments</comments>
		<pubDate>Fri, 14 Feb 2003 21:56:05 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.thinkingaloud.net/?p=90</guid>
		<description><![CDATA[Hear what Mr. Bush would like to tell you&#8230;]]></description>
			<content:encoded><![CDATA[<p>Hear what Mr. Bush would like to tell you&#8230;</p>
 <p><a href="http://www.thinkingaloud.net/?flattrss_redirect&amp;id=90&amp;md5=9ac44b552cdb77a11de440e0051cba72" title="Flattr" target="_blank"><img src="http://www.thinkingaloud.net/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thinkingaloud.net/choose-peace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.thinkingaloud.net/wp-content/uploads/2010/08/Choose-Peace.mp3" length="1840487" type="audio/mpeg" />
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=specht&amp;url=http%3A%2F%2Fwww.thinkingaloud.net%2Fchoose-peace%2F&amp;language=en_GB&amp;category=text&amp;title=Choose+Peace&amp;description=Hear+what+Mr.+Bush+would+like+to+tell+you%26%238230%3B&amp;tags=blog" type="text/html" />
	</item>
	</channel>
</rss>

