<?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>Anthony Mattox &#187; folio</title>
	<atom:link href="http://anthonymattox.com/category/folio/feed" rel="self" type="application/rss+xml" />
	<link>http://anthonymattox.com</link>
	<description>Interaction Design and Digital Art</description>
	<lastBuildDate>Fri, 07 Oct 2011 13:30:07 +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>Website for Rachel Verhaaren</title>
		<link>http://anthonymattox.com/website-for-rachel-verhaaren</link>
		<comments>http://anthonymattox.com/website-for-rachel-verhaaren#comments</comments>
		<pubDate>Sun, 21 Feb 2010 15:55:46 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=2133</guid>
		<description><![CDATA[I&#8217;ve just finished a website for this cute girl I know, Rachel Verhaaren. She is a photographer, and a student here at MICA. Her work has really fantastic colors and textures (two of my favorite things), especially her large format photographs and often focus on optics and perception. Most photographers seem to want the most [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished a website for this cute girl I know, <a href="http://www.rachelverhaaren.com">Rachel Verhaaren</a>. She is a photographer, and a student here at <a href="http://www.mica.edu">MICA</a>. Her work has really fantastic colors and textures (two of my favorite things), especially her large format photographs and often focus on optics and perception.</p>
<p>Most photographers seem to want the most minimal of sites, a white or dark grey page with their work in the middle. I felt it was more appropriate to give it just a little bit more color and give visitors a good impression of <a href="http://www.rachelverhaaren.com">Rachel&#8217;s work</a> as soon as they open the page, something few photographer&#8217;s sites do. WIth that in mind, her portfolio is on the front page with large images linking to sets of images.</p>
<p><a href="http://www.rachelverhaaren.com">www.rachelverhaaren.com</a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2010/02/rachel-verhaaren-website-home.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2010/02/rachel-verhaaren-website-home-small.jpg" alt="website of Rachel Verhaaren - home page" title="rachel-verhaaren-website-home-small" class="alignnone size-medium wp-image-2135 shadow" /></a></p>
<p>Some nice javascript touches are built with <a href="http://jquery.com">jQuery</a> and the site is powered by <a href="http://www.wordpress.org">WordPress</a>.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2010/02/rachel-verhaaren-website-portfolio.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2010/02/rachel-verhaaren-website-portfolio-small.jpg" alt="website of Rachel Verhaaren - portfolio page" title="rachel-verhaaren-website-portfolio-small" width="450" height="285" class="alignnone size-medium wp-image-2137 shadow" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/website-for-rachel-verhaaren/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pulsus</title>
		<link>http://anthonymattox.com/pulsus</link>
		<comments>http://anthonymattox.com/pulsus#comments</comments>
		<pubDate>Tue, 22 Dec 2009 19:28:26 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[interaction design]]></category>
		<category><![CDATA[particle system]]></category>
		<category><![CDATA[pulsus]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=1993</guid>
		<description><![CDATA[For the past few months I&#8217;ve been hard at work building a flash game. As my first game (but hopefully not last) it was a bit of an adventure, but worthwhile in the end. There are certainly still details to be worked out and some extra features to finish off, but overall it&#8217;s come out [...]]]></description>
			<content:encoded><![CDATA[<p>For the past few months I&#8217;ve been hard at work building <a href="http://www.pulsusgame.com">a flash game</a>. As my first game (but hopefully not last) it was a bit of an adventure, but worthwhile in the end. There are certainly still details to be worked out and some extra features to finish off, but overall it&#8217;s come out pretty well.</p>
<p>First <a href="http://www.pulsusgame.com">go play it!</a> Then come back here if you&#8217;d like to know a little more about how the game was created.</p>
<p>I&#8217;m not one to preface my work, but I would like to mention that I am not a gamer in any respect. This being said, I may not be aware of all the game conventions I should be following, despite a good amount of &#8216;research&#8217;. If you have any tips for this or future games, feedback is always appreciated. You can leave public comments here or send me feedback through the <a href="http://www.pulsusgame.com/development.php">Pulsus contact form</a>.</p>
<p>Recently, thanks to a class with <a href="http://www.jasoncorace.com/">Jason Corace</a>, I&#8217;ve become interested in games as interactive systems. In the same class I developed <a href="http://www.anthonymattox.com/a-card-game">a card game</a> and created <a href="http://www.pulsusgame.com">Pulsus</a> for my final project.</p>
<h3>The Game</h3>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-game-screenshot.gif" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-game-screenshot-medium.gif" alt="pulsus-game-screenshot-medium" title="pulsus-game-screenshot-medium" width="450" height="259" class="alignnone size-medium wp-image-2004" /></a></p>
<p>The game, <a href="http://www.pulsusgame.com">Pulsus</a>, is a puzzle game about particle systems. Players have to place objects to direct particles from emitters into goals. While it is a puzzle game, it is also about exploring a dynamic system.</p>
<p>In the game, players solve puzzles by placing objects onto the stage which effect the way the particles move. In each level the particles must be moved from particle emitters into goal points. Different colored goals accept only particles of that color. Particles must hit the goal quickly enough to fill it up, but once it is complete is will remain filled. The colored force objects will attract their own color while repelling others. Grey objects interact with all particles in the same way.</p>
<p><span id="more-1993"></span></p>
<h3>Development</h3>
<p>Designing the game, I went through many aesthetic possibilities and through many nuances of the gameplay and the interaction of the game&#8217;s components. The general trend, while developing the game, was to simplify the system as much as possible. Initially I planned on a number of different objects that could be used to manipulate the system, but it was evident in early user tests that there was enough that could be done with only the most basic objects.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-object-designs.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-object-designs-medium.png" alt="Pulsus Game - object designs" title="Pulsus Game - object designs" width="450" height="344" class="alignnone size-medium wp-image-2007" /></a></p>
<p>In this collection of objects I explored many styles to try and construct a cohesive look for the game and interface elements, including some objects which were ultimately taken out of the game.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-storyboards.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-storyboards-small.png" alt="Pulsus Game-storyboards" title="Pulsus Game-storyboards" width="450" height="327" class="alignnone size-medium wp-image-2009" /></a></p>
<p>The various menus and screens were story-boarded and designed. Somewhat atypically, the game was designed and built simultaneously. The function of most elements evolved with testing through various iterations of the game and the visuals had to reflect the function.</p>
<h3>The Sound</h3>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/12/pure-data-polysynth.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/12/polysynth_small.png" alt="polysynth_small" title="polysynth_small" width="450" height="300" class="alignnone size-medium wp-image-2001" /></a></p>
<p>All of the sounds within the game were created in <a href="http://www.puredata.info">Pure Data</a> with a few simple synthesizers I created. For most of the sound effects I used a patch with which I could control the envelope different harmonics and overtones of a basic pitch. For the background tones I used a polytonal synthesizer (pictured above). On the left side, keyboard inputs are mapped to a set of midi notes. Each note is passed into a sub-patch which generates the tone. In the middle are controls for the octave, pitch shift, and amplification. On the right (click on the image to enlarge) are graphs of the output, envelope, and waveform.</p>
<h3>Some Early Prototypes</h3>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/12/paper_prototype.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/12/paper_prototype.jpg" alt="paper_prototype" title="paper_prototype" class="alignnone size-medium wp-image-2000" /></a></p>
<p>My first prototype was a simple set of paper icons. I played the computer. This was a simple test to see if the functions of the game were understandable and if basic puzzles could be solved.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-early-prototype.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/12/pulsus-early-prototype-small.png" alt="pulsus-early-prototype-small" title="pulsus-early-prototype-small" width="450" height="219" class="alignnone size-medium wp-image-2002" /></a></p>
<p>This early prototype included the basic particle system upon which the game is based as well as the basic game elements, goals, emitters, and forces.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/pulsus/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Filaments</title>
		<link>http://anthonymattox.com/filaments</link>
		<comments>http://anthonymattox.com/filaments#comments</comments>
		<pubDate>Tue, 17 Nov 2009 03:52:42 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[algorithmic]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[particle system]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=1967</guid>
		<description><![CDATA[On my way to developing my 3d tree script I first added a function to my basic particle system to cause the particles to branch. I went back and polished up the rendering of this as it looked interesting in 2d. As usual, the script is built in Processing. Particles are generated by clicking on [...]]]></description>
			<content:encoded><![CDATA[<p>On my way to developing my <a href="http://www.anthonymattox.com/particle-generated-3d-tree">3d tree script</a> I first added a function to my basic particle system to cause the particles to branch. I went back and polished up the rendering of this as it looked interesting in 2d.</p>
<p>As usual, the script is built in <a href="http://www.processing.org">Processing</a>. Particles are generated by clicking on the screen and then they spread out pushing each other away. A slight perlin noise field gives the strands a more interesting motion and texture. Each frame is drawn successively on the screen, tracing the particles motion, without clearing the background. Each particle is rendered as a filled ellipse with a lighter transparent outline, creating a slightly 3d feel as the outlines get denser toward the edges.</p>
<p>To render the images with a higher resolution I created a global scale variable. The width and height of the applet are multiplied by this variable and then the scale function is called with that variable at the beginning of the draw loop. This lets me switch quickly between a manageable size to see what&#8217;s going on and the high res version. On my mac, entering expose fits the oversize window onto my screen. It&#8217;s far from a perfect system but it works. Exporting vectors is a much better rout, but this application is to complex for that to be feasible.</p>
<p>Now pictures. Click to see them bigger.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-4.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-4_small.jpg" alt="filaments: budding particles 0" title="filaments: budding particles 0" width="450" height="221" class="alignnone size-medium wp-image-1974" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-3.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-3_small.jpg" alt="filaments: budding particles 1" title="filaments: budding particles 1" width="450" height="217" class="alignnone size-medium wp-image-1973" /></a><br />
<span id="more-1967"></span><br />
<a href="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-2.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-2_small.jpg" alt="filaments: budding particles 2" title="filaments: budding particles 2" width="450" height="213" class="alignnone size-medium wp-image-1972" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-1.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/11/budding_particles-1_small.jpg" alt="filaments: budding particles 3" title="filaments: budding particles 3" width="450" height="258" class="alignnone size-medium wp-image-1971" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/filaments/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wave Pool 2</title>
		<link>http://anthonymattox.com/wave-pool-2</link>
		<comments>http://anthonymattox.com/wave-pool-2#comments</comments>
		<pubDate>Tue, 15 Sep 2009 21:19:10 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[wave]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=1862</guid>
		<description><![CDATA[This sketch builds off one of my recent experimentations in wave motion. In the script an array of waves is created by various inputs. Each wave effects the array of &#8216;fluid&#8217; and creates a rippling structure. Here the structure is rendered not just after all the waves have been calculated but after each wave is [...]]]></description>
			<content:encoded><![CDATA[<p>This sketch builds off one of my <a href="http://www.anthonymattox.com/wave-pool">recent experimentations</a> in wave motion. In the script an array of waves is created by various inputs. Each wave effects the array of &#8216;fluid&#8217; and creates a rippling structure. Here the structure is rendered not just after all the waves have been calculated but after each wave is processed.</p>
<p>The result is a stack of rippling points flowing between each other. I first just rendered each wave as a thin bar, to make sure everything was working properly, and then added a color property to the wave class. I dropped the symmetry to avoid some unintended interpretations. The script runs much slower, as I should have expected. I&#8217;ll try and streamline things a little (although it&#8217;s already very simple) and put it onto my <a href="interactive">interactive site</a>. I might just have to put some limits on it so people don&#8217;t crash their.</p>
<p>Now a bunch of pictures!</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_2.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_2-medium.png" alt="waves_2-medium" title="waves_2-medium" width="450" height="300" class="alignnone size-medium wp-image-1865" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_3.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_3-medium.png" alt="waves_3-medium" title="waves_3-medium" width="450" height="291" class="alignnone size-medium wp-image-1866" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_6.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_6-medium.png" alt="waves_6-medium" title="waves_6-medium" width="450" height="207" class="alignnone size-medium wp-image-1869" /></a></p>
<p><span id="more-1862"></span></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_1.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_1-medium.png" alt="waves_1-medium" title="waves_1-medium" width="450" height="300" class="alignnone size-medium wp-image-1864" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_5.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_5-medium.png" alt="waves_5-medium" title="waves_5-medium" width="450" height="300" class="alignnone size-medium wp-image-1868" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_4.png" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/waves_4-medium.png" alt="waves_4-medium" title="waves_4-medium" width="450" height="350" class="alignnone size-medium wp-image-1867" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/wave-pool-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interactive Site</title>
		<link>http://anthonymattox.com/interactive-site</link>
		<comments>http://anthonymattox.com/interactive-site#comments</comments>
		<pubDate>Fri, 11 Sep 2009 16:54:20 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[applet]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=1806</guid>
		<description><![CDATA[I began programming about a year ago, primarily working a language called Processing. Much of the programming I have been doing has be to create generative or algorithmic artwork. Such works involve writing a script to dynamically generate images based on a variety of systems and inputs. One of the thoughts behind this type of [...]]]></description>
			<content:encoded><![CDATA[<p>I began programming about a year ago, primarily working a language called <a href="http://www.processing.org">Processing</a>. Much of the programming I have been doing has be to create generative or algorithmic artwork. Such works involve writing a script to dynamically generate images based on a variety of systems and inputs. One of the thoughts behind this type of work is that a piece is not manifested as a single image, but in a method which creates an image. What is important is style, texture, motion, and the relationships between elements and colors. The particular composition is generated dynamically each time the piece is viewed. For the past year I&#8217;ve been documenting most of this work as still images in this site, a trail of my development, but not a full representation of the work.</p>
<p><strong><a href="http://www.anthonymattox.com/interactive">www.anthonymattox.com/interactive</a></strong> is a little site I&#8217;ve made to display my interactive works in one place. Take some time to explore <a href="http://www.anthonymattox.com/interactive">the projects</a>. I&#8217;ll keep adding more work as I create it as well as a number of other projects that still need to be cleaned up and put into the site.</p>
<p>Enjoy!</p>
<p><a href="http://www.anthonymattox.com/interactive"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/anthony_mattox_interactive.jpg" alt="anthony mattox interactive" title="Interactive work of Anthony Mattox" width="450" height="359" class="alignnone size-medium wp-image-1807 shadow" /></a></p>
<p>Most of the projects in it are created with processing and your browser will have to have the java plugin installed to run them. To run the 3d applets you will have to click <em>trust</em> in the dialogue box that appears. There still might be some bugs in the site so let me know if you have any issues.</p>
<p><a href="http://www.anthonymattox.com/interactive/cell_cluster/"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/09/anthony_mattox_interactive_cell.png" alt="anthony_mattox_interactive_cell" title="anthony_mattox_interactive_cell" width="450" height="386" class="alignnone size-medium wp-image-1811 shadow" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/interactive-site/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Format Processing &amp; Arduino Code for the Web</title>
		<link>http://anthonymattox.com/format-processing-arduino-code-for-the-web</link>
		<comments>http://anthonymattox.com/format-processing-arduino-code-for-the-web#comments</comments>
		<pubDate>Wed, 26 Aug 2009 17:49:09 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[syntax highlighting]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=1291</guid>
		<description><![CDATA[In my blog I frequently share code for little projects in Processing &#38; Arduino. It&#8217;s always bothered me to look at the black and white text which, in comparison to the beautifully colored code in various editors, is quite a strain to read. I considered a few ways to do this, primarily client side with [...]]]></description>
			<content:encoded><![CDATA[<p>In my blog I frequently share code for little projects in <a href="http://www.processing.org">Processing</a> &amp; <a href="http://www.arduino.cc">Arduino</a>. It&#8217;s always bothered me to look at the black and white text which, in comparison to the beautifully colored code in various editors, is quite a strain to read. I considered a few ways to do this, primarily client side with JavaScript, server side with PHP, or something pre-formatted in any language.</p>
<p>I decided to write a script to add in the necessary HTML to color the code, which I could then paste into my site. Although this does add a fair amount more to the size of the HTML files on the site I decided it was the best way to go. A server side script, probably built into a <a href="http://www.wordpress.org">WordPress</a> Plugin, would be nice and easy to use, but it would be run every time the page was loaded and would be a load on the server. A JavaScript highlighter would also work well, but it would still be a large script anyway and it would add the hassle of browser inconsistencies and run time on slower browsers.</p>
<p>Since I was building this script I wanted to make it available to others. The <a href="http://www.processing.org">Processing</a> and <a href="http://www.arduino.cc">Arduino</a> communities, which the script is built for, are both great about sharing code, and this will make sharing just a little bit easier.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/08/code_formatter_screenshot.gif" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/08/code_formatter_screenshot-450x215.gif" alt="Processing &amp; Arduino Code Formatter Screenshot" title="Processing &amp; Arduino Code Formatter Screenshot" width="450" height="215" class="alignnone size-medium wp-image-1772 shadow" /></a></p>
<p>The script is built into a simple site at www.anthonymattox.com/code_formatter. You can paste your code into the page, adjust the settings, and format it. The script returns the HTML and a chunk of CSS based on the styles you selected on the first page. Paste the HTML into your site and either add the given CSS or use it as a model to write your own.</p>
<p>In my blog its styled to look something like <a href="http://www.anthonymattox.com/format-processing-arduino-code-for-the-web" class="unlink">this</a>. Unfortunately it&#8217;s still black in rss readers.</p>
<div class="code processing">
<h4 class="cHead"><span><a href="http://www.processing.org">processing</a> code<br/><a href="http://www.anthonymattox.com/code_formatter">code formatter</a></span>Sample Processing Code</h4>
<pre><span Class="COM">/* sample processing code */</span>
<span Class="COM">/* analog clock */</span>
<span Class="KEY">PVector</span> mid;
<span Class="KEY">float</span> sc, mn, hr, s, m, h;

<span Class="KEY">void</span> <span Class="KEY">setup</span>() {
  <span Class="KEY">background</span>(20);
  <span Class="KEY">size</span>(400,400);
  <span Class="KEY">noFill</span>();
  <span Class="KEY">stroke</span>(200);
  <span Class="KEY">smooth</span>();
  <span Class="KEY">frameRate</span>(1);
  mid=<span Class="KEY">new</span> <span Class="KEY">PVector</span>(<span Class="STR">width</span>/2,<span Class="STR">height</span>/2,0);
}

<span Class="KEY">void</span> <span Class="KEY">draw</span>() {
  <span Class="KEY">background</span>(0);
  s=<span Class="KEY">float</span>(<span Class="KEY">second</span>());
  m=<span Class="KEY">float</span>(<span Class="KEY">minute</span>());
  h=<span Class="KEY">float</span>(<span Class="KEY">hour</span>());
  sc=(s-15)/60*TWO_PI;
  mn=(m-15)/60*TWO_PI;
  hr=(h-3)/12*TWO_PI+mn/12;

  <span Class="KEY">strokeWeight</span>(2);
  <span Class="KEY">stroke</span>(200,0,0);
  <span Class="KEY">line</span>(mid.x,mid.y,mid.x+100*<span Class="KEY">cos</span>(sc),mid.y+100*<span Class="KEY">sin</span>(sc));
  <span Class="KEY">stroke</span>(200);
  <span Class="KEY">line</span>(mid.x,mid.y,mid.x+110*<span Class="KEY">cos</span>(mn),mid.y+110*<span Class="KEY">sin</span>(mn));
  <span Class="KEY">strokeWeight</span>(4);
  <span Class="KEY">line</span>(mid.x,mid.y,mid.x+60*<span Class="KEY">cos</span>(hr),mid.y+60*<span Class="KEY">sin</span>(hr));

  <span Class="KEY">stroke</span>(50);
  <span Class="KEY">ellipse</span>(mid.x,mid.y,240,240);
}</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/format-processing-arduino-code-for-the-web/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>World Stem Cell Map</title>
		<link>http://anthonymattox.com/world-stem-cell-map</link>
		<comments>http://anthonymattox.com/world-stem-cell-map#comments</comments>
		<pubDate>Fri, 27 Mar 2009 18:51:42 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[data visualization]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[maryland science center]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=1130</guid>
		<description><![CDATA[I&#8217;ve been working for a while on this project with Stem Cell Resources for the new cell exhibit at the Maryland Science Center. The exhibition, including the Stem Cell Map and some other fun interactive works, opened yesterday and was received very well. If you&#8217;re in Baltimore its worth checking out. Developing this project has [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b1.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b1-450x248.jpg" alt="world_stem_cell_map_b1" title="world_stem_cell_map_b1" width="450" height="248" class="alignnone size-medium wp-image-1410" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b3.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b3-450x150.jpg" alt="world_stem_cell_map_b3" title="world_stem_cell_map_b3" width="450" height="150" class="alignnone size-medium wp-image-1408" /></a></p>
<p><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b2.jpg" alt="world_stem_cell_map_b2" title="world_stem_cell_map_b2" width="450" height="286" class="alignnone size-medium wp-image-1409" /></p>
<p>I&#8217;ve been working for a while on this project with <a href="http://www.stemcellresources.org/" target="_blank">Stem Cell Resources</a> for the new cell exhibit at the <a href="http://www.mdsci.org/" target="_blank">Maryland Science Center</a>. The exhibition, including the Stem Cell Map and some other fun interactive works, opened yesterday and was received very well. If you&#8217;re in Baltimore its worth checking out. Developing this project has a been a great opportunity to do some great educational work with some great people. I enjoy being able to maintain a connection with the sciences despite focusing myself on art, and I always love creating data visualizations.</p>
<p>The Map is scripted in Actionscript 3 and takes all the data from an xml file exported from a spreadsheet making it easy to update. The research is broken down into three categories and each location is colored accordingly and scaled based on the number of facilities. It&#8217;s displayed on a large touchscreen in the exhibit and will also soon be online.</p>
<p><span id="more-1130"></span></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b6.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b6-450x252.jpg" alt="world_stem_cell_map_b6" title="world_stem_cell_map_b6" width="450" height="252" class="alignnone size-medium wp-image-1405" /></a></p>
<p>In the installation people can zoom in on countries and states and navigate around the map by dragging it. Categories can be hidden to get a better view of where different types of research. There are also four different styles of visualization to choose from: color blending, bar graph, and rectangular and concentric area graphs.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b4-450x281.jpg" alt="world_stem_cell_map_b4" title="world_stem_cell_map_b4" width="450" height="281" class="alignnone size-medium wp-image-1413" /></a></p>
<p><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b7.jpg" alt="world_stem_cell_map_b7" title="world_stem_cell_map_b7" width="450" height="340" class="alignnone size-medium wp-image-1404" /></p>
<p><a href="http://www.mickmedia.net/" target="_blank">Martin Mick</a> and myself in front of the display at the Maryland Science Center. Martin invested a lot into the project building the database for the map.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b5.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/03/world_stem_cell_map_b5-450x232.jpg" alt="world_stem_cell_map_b5" title="world_stem_cell_map_b5" width="450" height="232" class="alignnone size-medium wp-image-1406" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/world-stem-cell-map/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Perlin Flow Ribbons</title>
		<link>http://anthonymattox.com/perlin-flow-ribbons</link>
		<comments>http://anthonymattox.com/perlin-flow-ribbons#comments</comments>
		<pubDate>Wed, 28 Jan 2009 19:16:46 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[particle system]]></category>
		<category><![CDATA[perlin noise]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[ribbon]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=942</guid>
		<description><![CDATA[Although I am happy with how my initial Ribbons script turned out it still wasn&#8217;t exactly what I was trying to create. After playing with Perlin Noise based forces in my straightforward particle system and creating outstanding fluid motion, I thought I might go back to the Ribbons and add a Flow Field to that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_2.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_2-450x278.jpg" alt="processing_perlin_ribbons_2" title="processing_perlin_ribbons_2" width="450" height="278" class="alignnone size-medium wp-image-1536" /></a></p>
<p>Although I am happy with how my initial <a href="http://www.anthonymattox.com/ribbons">Ribbons</a> script turned out it still wasn&#8217;t exactly what I was trying to create. After playing with Perlin Noise based forces in my straightforward particle system and creating outstanding <a href="http://www.anthonymattox.com/particle-flow">fluid motion</a>, I thought I might go back to the <a href="http://www.anthonymattox.com/ribbons">Ribbons</a> and add a Flow Field to that as well.  The result is much more dynamic than the original and quite graceful.</p>
<p>And a little technical stuff. The ribbon is just a strategically rendered particle system. I created a particle system class with particles and springs. As new particles are added (on mouse press) new springs are also created connecting each particle to the one before. Each particle repels all nearby particles and springs pull them together. The result is a string of connected particles which would, if the forces extended infinitely, eventually straighten itself out into a line. To render the structure all particles and springs are hidden and a curve is drawn by wrapping the rendering loop in beginShape(); and endShape(); with a curve vertex for each.</p>
<p>In the <a href="http://www.anthonymattox.com/ribbons">previous version</a> the wobble was created by a slight random force applied to each point and a wind vector of the particle system. Because of the varied weights of the particles and spring lengths the wind wobbled the structure more convincingly. In this version the same Perlin Flow Field I&#8217;ve been using in many of my recent projects pushes the ribbon around much more dynamically. Different parts of the string are pulled in different directions making it writhe back and forth. The color is an attribute of the particle system and &#8216;randomly&#8217; shifts over time.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_1.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_1-450x281.jpg" alt="processing_perlin_ribbons_1" title="processing_perlin_ribbons_1" width="450" height="281" class="alignnone size-medium wp-image-1535" /></a></p>
<p><span id="more-942"></span></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_3.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_3-450x281.jpg" alt="processing_perlin_ribbons_3" title="processing_perlin_ribbons_3" width="450" height="281" class="alignnone size-medium wp-image-1537" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_0.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_perlin_ribbons_0-450x282.jpg" alt="processing_perlin_ribbons_0" title="processing_perlin_ribbons_0" width="450" height="282" class="alignnone size-medium wp-image-1534" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/perlin-flow-ribbons/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Spinal Network: Drawing Machine</title>
		<link>http://anthonymattox.com/spinal-network-drawing-machine</link>
		<comments>http://anthonymattox.com/spinal-network-drawing-machine#comments</comments>
		<pubDate>Tue, 27 Jan 2009 00:06:09 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[generative]]></category>
		<category><![CDATA[generative art]]></category>
		<category><![CDATA[particle system]]></category>
		<category><![CDATA[perlin noise]]></category>
		<category><![CDATA[processing]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=927</guid>
		<description><![CDATA[Adding lines connecting nearby points in a particle system creates an interesting effect, but it does get a little messy. I thought it would be interesting if the lines only connected the nearest particles to each, which would vary from point to point, and if the lines didn&#8217;t overlap or intersect. The result would be [...]]]></description>
			<content:encoded><![CDATA[<p>Adding lines connecting nearby points in a particle system creates an interesting effect, but it does get a little messy. I thought it would be interesting if the lines only connected the nearest particles to each, which would vary from point to point, and if the lines didn&#8217;t overlap or intersect. The result would be a nice mesh with varied density. Of course after putting the script together I turned it into a drawing machine. I&#8217;ll post more on exactly how this script works sometime soon.</p>
<p>In this Drawing Machine a series of particles spawned when the mouse is pressed move through a morphing Perlin noise flow field. They also slightly repel each other. The netting algorithm is applied to the particles to create the dark lines and their colors slowly shift. Many different factors effect the size and transparency of the points and lines in order to keep everything moving smoothly. Lines fade out as they get longer and fade out with the points they join.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_3.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_3-450x206.jpg" alt="spinal_network_drawing_machine_3" title="spinal_network_drawing_machine_3" width="450" height="206" class="alignnone size-medium wp-image-1544" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_2.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_2-450x243.jpg" alt="spinal_network_drawing_machine_2" title="spinal_network_drawing_machine_2" width="450" height="243" class="alignnone size-medium wp-image-1543" /></a></p>
<p><span id="more-927"></span></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_1.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_1-450x206.jpg" alt="spinal_network_drawing_machine_1" title="spinal_network_drawing_machine_1" width="450" height="206" class="alignnone size-medium wp-image-1542" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_0.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/spinal_network_drawing_machine_0-450x275.jpg" alt="spinal_network_drawing_machine_0" title="spinal_network_drawing_machine_0" width="450" height="275" class="alignnone size-medium wp-image-1541" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/spinal-network-drawing-machine/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ribbons</title>
		<link>http://anthonymattox.com/ribbons</link>
		<comments>http://anthonymattox.com/ribbons#comments</comments>
		<pubDate>Wed, 21 Jan 2009 16:39:59 +0000</pubDate>
		<dc:creator>Anthony</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[folio]]></category>
		<category><![CDATA[wallpapers]]></category>
		<category><![CDATA[generative graphics]]></category>
		<category><![CDATA[particle]]></category>
		<category><![CDATA[particle system]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[ribbon]]></category>
		<category><![CDATA[spring]]></category>

		<guid isPermaLink="false">http://www.anthonymattox.com/?p=894</guid>
		<description><![CDATA[This is the result of my attempt to create a variation of my line wave script which waves in two dimensions. I started anew and used some particle systems I&#8217;d started a while ago. With a spring class which holds two particles together all the particles could be chained together. Hiding the particles and springs [...]]]></description>
			<content:encoded><![CDATA[<p>This is the result of my attempt to create a variation of my line wave script which waves in two dimensions. I started anew and used some particle systems I&#8217;d started a while ago. With a spring class which holds two particles together all the particles could be chained together. Hiding the particles and springs and wrapping the particle loop in a shape method with a curve vertex for each created a wobbling line. Without a background function the line continually drew each frame on the screen.</p>
<p>It&#8217;s not exactly what I had in mind, but I like how it turned out. I have a few different variations I may post and will keep playing with it. I&#8217;ll also have a few desktop wallpapers available from this script soon as soon as I decide how to set up and organize a wallpaper section on my site.</p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_3.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_3-450x281.jpg" alt="processing_particle_system_ribbon_3" title="processing_particle_system_ribbon_3" width="450" height="281" class="alignnone size-medium wp-image-1553" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_4.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_4-450x281.jpg" alt="processing_particle_system_ribbon_4" title="processing_particle_system_ribbon_4" width="450" height="281" class="alignnone size-medium wp-image-1554" /></a></p>
<p><span id="more-894"></span></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_2.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_2-450x237.jpg" alt="processing_particle_system_ribbon_2" title="processing_particle_system_ribbon_2" width="450" height="237" class="alignnone size-medium wp-image-1552" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_1.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_1-450x258.jpg" alt="processing_particle_system_ribbon_1" title="processing_particle_system_ribbon_1" width="450" height="258" class="alignnone size-medium wp-image-1550" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_0.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_0-450x281.jpg" alt="processing_particle_system_ribbon_0" title="processing_particle_system_ribbon_0" width="450" height="281" class="alignnone size-medium wp-image-1549" /></a></p>
<p><a href="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_5.jpg" class="thickbox"><img src="http://www.anthonymattox.com/wp-content/uploads/2009/01/processing_particle_system_ribbon_5-450x281.jpg" alt="processing_particle_system_ribbon_5" title="processing_particle_system_ribbon_5" width="450" height="281" class="alignnone size-medium wp-image-1555" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://anthonymattox.com/ribbons/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

