<?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>Randomizing Discovery // Life :: Work :: Play &#187; brownian movement</title>
	<atom:link href="http://www.randomizingdiscovery.com/tag/brownian-movement/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randomizingdiscovery.com</link>
	<description>Exploring basic programmatic concepts to create complex visualizations. The work and experiments of Corey Hankey. Processing, Actionscript,  Web Development.</description>
	<lastBuildDate>Sat, 06 Mar 2010 19:39:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding Vector Math</title>
		<link>http://www.randomizingdiscovery.com/2008/02/26/adding-vector-math/</link>
		<comments>http://www.randomizingdiscovery.com/2008/02/26/adding-vector-math/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 07:59:32 +0000</pubDate>
		<dc:creator>chankey</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[brownian movement]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[vector math]]></category>

		<guid isPermaLink="false">http://www.coreyhankey.com/?p=13</guid>
		<description><![CDATA[
After a weekend of skiing with my wife I decided it was time to get back to it and add some controls to my previous experiments. After tweaking the last few sketches  I decided that I did not have enough control over the brownian particles that were being added to the stage. I took [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/hankeys/2292735877/" title="Brownian Movement get vectors by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2356/2292735877_c97a7860cd.jpg" alt="Brownian Movement get vectors" height="317" width="500" /></a></p>
<p>After a weekend of skiing with my wife I decided it was time to get back to it and add some controls to my previous experiments. After tweaking the last few sketches  I decided that I did not have enough control over the brownian particles that were being added to the stage. I took some time to look at how I could apply forces to the particles which quickly lead me to vector math.</p>
<p>Comparing vector math on paper to vector math inside a programming environment seems like a formidable challenge but it  was easier than I  expected. With a little trig and some basic vector equations I was able to create a pulling force on each particle that would always pull the particle towards its inital position. I have posted a simple example that shows the different vectors in action with source here: <a target="_blank" href="http://content.coreyhankey.com/brownian_vector_01">Brownian Motion w/ Vectors</a><br />
Unfortunately the majority of my time was spent trying to figure out how vectors worked instead of creating new visuals but you will notice that there is more control over the lines that are drawn to the screen in the images that I have posted. Hopefully I will get the the visuals in my next round of experiments. Here are a few samples:</p>
<p>Basic Blue lines with a randomSeed<br />
<a href="http://www.flickr.com/photos/hankeys/2293521102/" title="Brownian Movement get vectors by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2351/2293521102_d215322296.jpg" alt="Brownian Movement get vectors" height="317" width="500" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randomizingdiscovery.com/2008/02/26/adding-vector-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brownian Curves</title>
		<link>http://www.randomizingdiscovery.com/2008/02/15/brownian-curves/</link>
		<comments>http://www.randomizingdiscovery.com/2008/02/15/brownian-curves/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 08:20:48 +0000</pubDate>
		<dc:creator>chankey</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[brownian movement]]></category>
		<category><![CDATA[lines]]></category>
		<category><![CDATA[particles]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.coreyhankey.com/?p=12</guid>
		<description><![CDATA[
The randomSeed method allows for patterns to be formed from the random numbers.


I achieved some pretty cool results by using brownian particles to create curves. I found this examples interesting because I was able to introduced the randomSeed method into the equation and began to see consistent patterns from the numbers that were randomly generated. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/hankeys/2265924117/" title="Brownian Movement Lines by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2396/2265924117_d86a45b99e.jpg" alt="Brownian Movement Lines" height="317" width="500" /></a><br />
The randomSeed method allows for patterns to be formed from the random numbers.<br />
<a href="http://www.flickr.com/photos/hankeys/2266710804/" title="Brownian Lines. by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2385/2266710804_ef4f5d79ec.jpg" alt="Brownian Lines." height="317" width="500" /></a><br />
<a href="http://www.flickr.com/photos/hankeys/2265923961/" title="Brownian Movement Lines by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2228/2265923961_5d66f58082.jpg" alt="Brownian Movement Lines" height="317" width="500" /></a><br />
I achieved some pretty cool results by using brownian particles to create curves. I found this examples interesting because I was able to introduced the randomSeed method into the equation and began to see consistent patterns from the numbers that were randomly generated. This is a huge discovery for me because it provides a simple solution to get consistent results with the visuals that the particles are creating.<br />
As I mentioned in a previous post, I said that I would provide some source for the ideas behind brownian movement. Here is a super basic example that provides a nice example of how simple the concept is:</p>
<pre name="code" class="java">// basic brownian movement

float xPos;
float yPos;

void setup()
{
size(200,200);
background(255);
fill(100);

yPos = height/2;
xPos = width/2;

}

void draw()
{

// randomly change the position on every cycle =====
yPos += random(-5,5);
xPos += random(-5,5);
ellipse(xPos, yPos, 10, 10);

}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.randomizingdiscovery.com/2008/02/15/brownian-curves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting things moving.</title>
		<link>http://www.randomizingdiscovery.com/2008/02/13/getting-things-moving/</link>
		<comments>http://www.randomizingdiscovery.com/2008/02/13/getting-things-moving/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 06:42:18 +0000</pubDate>
		<dc:creator>chankey</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[brownian movement]]></category>
		<category><![CDATA[proce55ing]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.coreyhankey.com/?p=11</guid>
		<description><![CDATA[


I recently purchased the  processing book from Ben Fry and Casey Reas and started to get more familiar with the syntax in processing. With this knowledge I was able to begin to expand on my recent Brownian Movement experiments. This time I am not using an additive stage, but instead I am clearing  [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/hankeys/2261674919/" title="Brownian Movement by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2252/2261674919_33f6930f32.jpg" alt="Brownian Movement" height="333" width="500" /></a></p>
<p><a href="http://www.flickr.com/photos/hankeys/2262465776/" title="Brownian Movement by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2046/2262465776_64af039367.jpg" alt="Brownian Movement" height="317" width="500" /></a></p>
<p><a href="http://www.flickr.com/photos/hankeys/2262465668/" title="Brownian Movement by Corey Hankey, on Flickr"><img src="http://farm3.static.flickr.com/2116/2262465668_d3e023cb85.jpg" alt="Brownian Movement" height="317" width="500" /></a></p>
<p>I recently purchased the  processing book from <a target="_blank" href="http://b&lt;/code&gt;enfry.com/">Ben Fry</a> and <a target="_blank" href="http://reas.com/">Casey Reas</a> and started to get more familiar with the syntax in processing. With this knowledge I was able to begin to expand on my recent Brownian Movement experiments. This time I am not using an additive stage, but instead I am clearing  and redrawing the stage on every cycle to allow the particles to have a more distinct motion.</p>
<p>This is pretty basic example but the motion and the particle grouping turned out better than I expected so I figured I would share my results. I will clean the code up a bit  and post it at a later date.</p>
<p>See it in action: <a target="_blank" href="http://content.coreyhankey.com/brownian_motion_01/">Brownian Movement in Motion</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randomizingdiscovery.com/2008/02/13/getting-things-moving/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing Meets Brownian Movement.</title>
		<link>http://www.randomizingdiscovery.com/2008/02/08/processing-meets-brownian-movement/</link>
		<comments>http://www.randomizingdiscovery.com/2008/02/08/processing-meets-brownian-movement/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 15:28:35 +0000</pubDate>
		<dc:creator>chankey</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[brownian movement]]></category>
		<category><![CDATA[mouse driven]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.coreyhankey.com/?p=9</guid>
		<description><![CDATA[I started to move my experiments over to processing. I thought it might be more difficult than it was but the syntax and concepts behind the language made the programming pretty straightforward. I created a simple app that will allow a user to click and release some Brownian particles on the stage and then each [...]]]></description>
			<content:encoded><![CDATA[<p>I started to move my experiments over to processing. I thought it might be more difficult than it was but the syntax and concepts behind the language made the programming pretty straightforward. I created a simple app that will allow a user to click and release some Brownian particles on the stage and then each particle will move around until its life cycle has ended. This is a pretty basic example and isn&#8217;t pretty yet but at least it gives a better idea about how brownian movement works.</p>
<p>Check the link: <a target="_blank" href="http://content.coreyhankey.com/brownian_start_01/">Brownian Movement Example</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randomizingdiscovery.com/2008/02/08/processing-meets-brownian-movement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploring Brownian Movement</title>
		<link>http://www.randomizingdiscovery.com/2008/02/05/exp/</link>
		<comments>http://www.randomizingdiscovery.com/2008/02/05/exp/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 08:26:44 +0000</pubDate>
		<dc:creator>chankey</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[brownian movement]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[random motion]]></category>

		<guid isPermaLink="false">http://coreyhankey.com/?p=5</guid>
		<description><![CDATA[
Brownian movement is described as the random movement of particles in liquid. Since the movement is in liquid the motion is in three dimensional. I thought three dimensions might be a bit too much to get started with so I simplified it down to two dimensions. This is a just a quick note to show [...]]]></description>
			<content:encoded><![CDATA[<p><img _moz_resizing="true" src="http://coreyhankey.com/wp-content/uploads/2008/02/bw.jpg" alt="black and white" title="Black and white" class="align-none" height="284" width="494" /></p>
<p><a target="_blank" href="http://en.wikipedia.org/wiki/Brownian_motion">Brownian movement</a> is described as the random movement of particles in liquid. Since the movement is in liquid the motion is in three dimensional. I thought three dimensions might be a bit too much to get started with so I simplified it down to two dimensions. This is a just a quick note to show what I have worked on in the past. It was created in actionscript 2 using bitmap data, the drawing api, and of course the basic fundamentals of brownian movement. I have included some images of the visuals that were created and a link to the tool I created to draw for me.</p>
<p>Use the sliders and text fields to manipulate the results of the visualization tool. <a target="_blank" href="http://content.coreyhankey.com/drawingtool">Brownian Movement Drawing Tool</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randomizingdiscovery.com/2008/02/05/exp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Randomizing Discovery</title>
		<link>http://www.randomizingdiscovery.com/2008/02/05/randomizing-discovery/</link>
		<comments>http://www.randomizingdiscovery.com/2008/02/05/randomizing-discovery/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 07:37:32 +0000</pubDate>
		<dc:creator>chankey</dc:creator>
				<category><![CDATA[Discoveries]]></category>
		<category><![CDATA[brownian movement]]></category>

		<guid isPermaLink="false">http://test.coreyhankey.com/?p=3</guid>
		<description><![CDATA[I am creating this blog to document my exploration into creating visualizations with basic programmatic theories and concepts. I have spent some time over the past year exploring brownian movement and have had some pretty interesting results.
This blog will continue be the place that I document my progress as I move through my ideas and [...]]]></description>
			<content:encoded><![CDATA[<p>I am creating this blog to document my exploration into creating visualizations with basic programmatic theories and concepts. I have spent some time over the past year exploring brownian movement and have had some pretty interesting results.</p>
<p>This blog will continue be the place that I document my progress as I move through my ideas and concepts. I am currently using flash as a medium but with a recent purchase of Casey Reas and Ben Fry&#8217;s processing book I will look to processing to provide a method to create prints of my work. Please check back for more updates.<br _moz_editor_bogus_node="TRUE" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randomizingdiscovery.com/2008/02/05/randomizing-discovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
