<?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>10Â¥ &#187; Flash</title>
	<atom:link href="http://10-yen.net/wordpress/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://10-yen.net</link>
	<description>Design is More than Dollars and Sense</description>
	<lastBuildDate>Thu, 06 Dec 2007 23:23:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Final-ly done.</title>
		<link>http://10-yen.net/wordpress/2007/11/04/final-ly-done/</link>
		<comments>http://10-yen.net/wordpress/2007/11/04/final-ly-done/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 00:33:25 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Final Project]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Work Journal]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/11/04/final-ly-done/</guid>
		<description><![CDATA[
It has been a long 3 months of work; time spanning three terms and multiple projects and at long last, it is done: The Final Project.

The project itself has gone through a number of revisions, but has always been focused on Generative Art.  It started its life as a program that would analyze and [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://10-yen.net/wordpress/2007/11/04/final-ly-done/' title='Final-ly done'><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/chillin_out.jpg' alt='Final-ly done' /></a></p>
<p>It has been a long 3 months of work; time spanning three terms and multiple projects and at long last, it is done: <a href="http://finalproject.10-yen.net" title="The Final Project">The Final Project</a>.</p>
<p><span id="more-273"></span></p>
<p>The project itself has gone through a number of revisions, but has always been focused on Generative Art.  It started its life as a program that would analyze and interpret poetry to create appropriate artwork.  Then, as that idea proved too big a bite to chew, the project was given a new wrapper; that of an e-card application.  In this state, it lived for quite some time in the realm of development and documentation until near the end of the project, it became apparent that e-cards too would spoil some of the unique value inherent in Generative Arts.  Thus, the project shifted again into something different, though not mutually exclusive to the e-card concept.  This new direction was that of personalized, modern art that is driven by one&#8217;s voice.  The concept of using voice as a vehicle for generating the artwork was developed during the e-card stage as a way of bring more physical elements into the creation process and making it seem more personal.  Thus, this was the final brief for the piece:</p>
<blockquote><p>
XYZ runs a very successful â€œDo it yourselfâ€ chain of stores that allows customers to create artwork on a variety of kitchenware and ceramic items.  While their physical stores are successful, the company sees potential in the power and versatility of the web to deliver a new kind of self-created art piece.  At the same time, similar to the analog creation of artwork in their physical stores, XYZ is placing key focus on having oneâ€™s personal touch influence the artwork.  In particular, XYZ is looking for a website that can use an analog input as the base to create artwork rather than a purely computer driven methodology.  In addition, since one of the advantages of the internet is rapid distribution, XYZ wants to provide options for downloading and ordering the completed pieces.</p>
<p>This project will create a website that integrates analog with computer driven methods to create art.</p></blockquote>
<p>Unfortunately, due to time pressures, I was unable to fully realize a new brand or website wrapper for the project, but that is something that can be addressed in the future.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-1.jpg' title='Welcome to The Engine' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-1.thumbnail.jpg' alt='Welcome to The Engine' /></a></p>
<p>The real meat of the project is, of course, the generative engine.  The Engine (as I like to say) was an extremely complicated little creation for me.  With no experience in the field of generative art, I was mostly experimenting with new concepts.  For those folks who have been regularly checking here (thank you!), you will have seen some of the early development as evidenced in <a href="http://10-yen.net/wordpress/2007/09/11/algorithm-component-development/" title = "Early Algorithm Development"> this first post on different algorithms</a> and <a href="http://10-yen.net/wordpress/2007/09/14/final-project-artwork-and-general-update/" title = "More integration">this later post with more integration</a>.  I knew my methodology for creating generative art was right, but I didn&#8217;t really have the sense of personalization and unique elements beyond that of simple randomization.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-2.jpg' title='Voice Record Menu' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-2.thumbnail.jpg' alt='Voice Record Menu' /></a></p>
<p>That&#8217;s where the &#8220;plug-ins&#8221; originated.  Bringing in the user&#8217;s voice had the unexpected advantage of generating interesting shapes to act as a basis for artwork placement as well as adding in a degree of personalization that had not been achieved before.  Originally, I wanted to include more options, but time crunch and deciding to limit options for the sake of simplicity led me to reduce it to only one, that of the circle.  </p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-3.jpg' title='Image Selection Menu' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-3.thumbnail.jpg' alt='Image Selection Menu' /></a></p>
<p>Selecting one&#8217;s own vector imagery was always an inherent part of the project, from the early conceptualization period.  The only thing that needed to be done was to create different kinds of interesting imagery.  For that, I enlisted the help of three fellow students with a penchant for creating vector images to develop a number for me. Their work plus some of my own and other free ones I found online gave me a strong basis of 78 different options.  In the future, I would like to implement a feature to allow people to upload their own imagery or create new images on the site itself.  Unfortunately, they were beyond the scope of the project this time round.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-4.jpg' title='Color Selection Menu' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-4.thumbnail.jpg' alt='Color Selection Menu' /></a></p>
<p>Color selection was something that I had planned to include from the early stages as well &#8211; offering colors for different moods.  I thought I would provide different color palettes for users to pick from, but when I discovered that <a href="http://kuler.adobe.com" title="Kuler"> Adobe&#8217;s Kuler</a> offers an API capable of returning color palettes from user searches, I knew that was what I wanted to do.  Why force users to pick from 5 or 6 different color palettes when I could allow them to search for their own?  Of course, this came with a bit of a cost.  Kuler&#8217;s API is rather slow and sometimes returns malformed XML, leading to no end of headaches for me.  Even the final version occasionally has issues due to Kuler.  Oh well.</p>
<p>All of these different plug-ins originally were very much integrated into a single code set, each with their own form and function hardcoded in.  Unfortunately, while that allowed me to create pretty pictures, it didn&#8217;t allow me to do much with the code after that.  Not to mention that so much of the backend had turned to spaghetti with code sending data all over the place with no direction.  It was rather terrible and difficult to understand.  So I rewrote it.  </p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-5.jpg' title='The Generator' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-5.thumbnail.jpg' alt='The Generator' /></a></p>
<p>The biggest thing was to separate form and function on the code side; if I could create menu-independent backend, it would be simple to change the menu&#8217;s visual treatment without having to perform major surgery on the code behind it.  The other big thing was to start integrating new functions into The Generator.  In order to make concepts like moving through time on the generator were completely impossible in my former version of the code.  Thus, I had to re-conceive how data would be stored and displayed.  Happily, once that had been established, it was an easy feat to add in all the other elements like zoom, voice affecter and waveform overlay.  In addition, the new method of data storage allowed for vector output to be much easier later on.  </p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-6.jpg' title='Download Menu' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/11/picture-6.thumbnail.jpg' alt='Download Menu' /></a></p>
<p>Speaking on output, the download menu was an area that took a bit of time.  JPEG export was kindly provided by <a href="http://sanderkruger.blogspot.com/2006/08/kick-off.html" title="AS3 JPG encoder">this Actionscript 3 compliant encoder</a>.  While it was capable of reducing quality as well, I wanted it only to export at full resolution.  Unfortunately, it had a cap on around 2 Megapixels (2000 px X 2000 px), so I was forced to limit the size of the images to those dimensions.  However, once there, it was a simple matter to set up <a href="http://osflash.org/projects/amfphp" title = "amfphp">AMFphp</a> to receive the bitstream, save out a JPG image to the server, and allow users to download it.  The vector output provided a bit more trouble.  </p>
<p>I wanted to export some sort of vector imagery from flash.  Now exporting anything out of flash is difficult enough, but vectors in particular are a pain.  I looked at php-driven solutions where a pdf would be assembled on the server and saved out, but I couldn&#8217;t understand how to make that sort of idea work, so I thought some more.  After some time, I came up with the solution of exporting an XML document from flash that would contain all the required vector elements of the document.  Then, php would save this file and send me a message.  I would use another program called <a href="http://www.processing.org/" title="Processing.org">Processing</a>, to take and interpret the XML to produce a vector image.  While there are PDF libraries available in Processing, the SVG export ones worked exactly the way I wanted them to, so I was able to produce my vector imagery with that method.  </p>
<p>The final area I looked into was the menu system and some usability.  While it was nowhere near my main focus for the project, I felt that it needed to be clean, simple and usable to really be a success.  That would mean, of course, cleaning up the menus, uniting their looks and generally creating a friendly navigation system.  I used the icons that I developed earlier since they are bright and legible, though they may be replaced later with the development of a brand.  A lot of little work went into making the user experience work, even at a simple level, and it would be tough to really cover it all, so let&#8217;s just that that I did my best to guide and assist the users through the menu system to the important materials.</p>
<p>Thus, I was able to create this little application.  It was a tremendous amount of work, but very rewarding and the sense of accomplishment at the end was amazing.  In the future, I&#8217;d like to add even more features and explore the area of generative media further and further, but for now, I think I&#8217;ll just take a bit of a break.  </p>
<p>Time Breakdown</p>
<p>Project Management &#8230;.. 32.75 hrs &#8230;.. 9.74%<br />
Research &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. 46.25 hrs &#8230;.. 13.76%<br />
Branding &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. 16.75 hrs &#8230;.. 4.98%<br />
Design  &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. 31.25 hrs &#8230;.. 9.3%<br />
Development  &#8230;&#8230;&#8230;&#8230;. 209.07 hrs &#8230;. 62.21%</p>
<p>If you are interested, <a href="http://10-yen.net/storage/Aaron_Bell_Final_Project_Production_Book.pdf" title="Production Book">here is a pdf of my production book</a>, which covers much of the above information and some other nuggets plus including pictures and other interesting items.</p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/11/04/final-ly-done/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New Menus</title>
		<link>http://10-yen.net/wordpress/2007/10/26/new-menus/</link>
		<comments>http://10-yen.net/wordpress/2007/10/26/new-menus/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 07:12:17 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Final Project]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Work Journal]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/10/26/new-menus/</guid>
		<description><![CDATA[Well folks, I&#8217;m back, and now with new menus and bug fixes!  I never realized how many there could be until I started really trying to break things (like clicking a button over and over and over to see what happened; always fun).  However, things are coming along and are working better than [...]]]></description>
			<content:encoded><![CDATA[<p>Well folks, I&#8217;m back, and now with new menus and bug fixes!  I never realized how many there could be until I started really trying to break things (like clicking a button over and over and over to see what happened; always fun).  However, things are coming along and are working better than ever.  I&#8217;m really feeling good about where the project is at the moment!</p>
<p>Check it out if you have a moment!</p>
<p><a href="http://finalproject.10-yen.net" title="final project link">To the Project</a></p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/10/26/new-menus/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Going Silver</title>
		<link>http://10-yen.net/wordpress/2007/10/24/going-silver/</link>
		<comments>http://10-yen.net/wordpress/2007/10/24/going-silver/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 01:16:32 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Final Project]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/10/24/going-silver/</guid>
		<description><![CDATA[
In the realm of game development, when a game has &#8220;gone gold,&#8221; it is fully done and ready to ship to consumers.
My code for my final project is now silver.  

I&#8217;ve implemented everything I wanted to and as far as I can tell, it all works without bugs.  Thus, I felt it was [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://10-yen.net/wordpress/2007/10/24/going-silver/' title='Gone Silver'><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/10/gonesilver-1.jpg' alt='Gone Silver' /></a></p>
<p>In the realm of game development, when a game has &#8220;gone gold,&#8221; it is fully done and ready to ship to consumers.</p>
<p>My code for my final project is now silver.  </p>
<p><span id="more-264"></span></p>
<p>I&#8217;ve implemented everything I wanted to and as far as I can tell, it all works without bugs.  Thus, I felt it was a good time to post this up here for you folks to check out and play with.  There are no instructions, but I think things are *mostly* understandable without guidance.  I will need to change user interfaces of course, but the essential bone structure is all there and happy.  If you find any bugs, just send me a message!</p>
<p>There are some important things to note.  First, this generative project is voice driven.  The first menu is where you record your voice.  That will directly influence where the artwork is placed.  Also, while the final imagery is drawing (items are being placed on the screen), you can similarly use your voice to affect the scale of the imagery.  The louder one is, the larger the images will be.  So, in case you folks were wondering, you will need a microphone.^^</p>
<p>The JPG and SVG export options both work.  JPG results in a direct download.  SVG will record your creation and send me an e-mail informing me that someone has requested one.  The SVG part isn&#8217;t the most elegant solution, but it is was the best I could do to ensure that vectors were preserved; and I&#8217;m not good enough with java to make it work server-side.  </p>
<p>I&#8217;ll put together a gallery for your pleasure at some point later &#8211; probably after the project is over with in 8 days.  Also, if you use my little engine here for something, please credit me and send a link back here.  It is nice to know where things are ending up (hmm, a watermark could be nice too &#8211; on jpgs).  </p>
<p>In any case, have fun and let me know how things go!</p>
<p><b><a href = "http://finalproject.10-yen.net" title="The Engine">Welcome to the Engine.</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/10/24/going-silver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Project Update</title>
		<link>http://10-yen.net/wordpress/2007/10/06/project-update/</link>
		<comments>http://10-yen.net/wordpress/2007/10/06/project-update/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 19:02:23 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Final Project]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Graphics]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/10/06/project-update/</guid>
		<description><![CDATA[
Hey folks,  it has been far too long since I last posted on here!  Part of the reason was due to a shift in focus of the project and due to a need to pound out code.  The other part is that my final project has been regularly devouring my time (I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://10-yen.net/wordpress/2007/10/06/project-update/' title='First Look Header'><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/10/first-look.jpg' alt='First Look Header' /></a></p>
<p>Hey folks,  it has been far too long since I last posted on here!  Part of the reason was due to a shift in focus of the project and due to a need to pound out code.  The other part is that my final project has been regularly devouring my time (I&#8217;m generally at school working from around 10 in the morning until 11 or midnight, if not later) and that has prevented me from posting updates.  </p>
<p>However, I have something to show now!</p>
<p><span id="more-259"></span></p>
<p>These are some of my first renders with a (mostly) fully functioning generative engine.  </p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/10/first.jpg' title='First Saved Render' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/10/first.thumbnail.jpg' alt='First Saved Render' /></a></p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/10/october.jpg' title='October Theme Render' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/10/october.thumbnail.jpg' alt='October Theme Render' /></a></p>
<p>In general, the project has moved away from the idea and concept of the &#8220;e-card&#8221; into a realm of producing generative art.  There is still the personalization and, interestingly enough, more analog input into the design, but I feel that the medium of art pieces represents and presents the media much stronger than an e-card could.</p>
<p>Overall, I&#8217;m rather happy with the result. These renders are pre-rewrite, so there are still some slight problems present (like some of the graphics getting cut off with a sheer line), but I&#8217;m most glad to see that the system works.  Up until yesterday, I wasn&#8217;t sure I was going to be able to produce interesting, nice-looking pieces, but now I know I can.  There is still much work to do since I didn&#8217;t code it particularly well the first time, but that should be easy enough to resolve now in advance of my review next Friday.  </p>
<p>I&#8217;ll keep you folks updated as things progress!</p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/10/06/project-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Algorithm Component Development</title>
		<link>http://10-yen.net/wordpress/2007/09/11/algorithm-component-development/</link>
		<comments>http://10-yen.net/wordpress/2007/09/11/algorithm-component-development/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 17:28:49 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Final Project]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[Work Journal]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/09/11/algorithm-component-development/</guid>
		<description><![CDATA[
In the process of developing the components for my final project, I spend a good bit of time developing these algebraic equations that could then be used by themselves or in patterns.  The end result is an extremely powerful pair of arrays that I can do just about anything with.  Check it out [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://10-yen.net/wordpress/2007/09/11/algorithm-component-development/' title='Algorithm Development Header'><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/algorithm-header.jpg' alt='Algorithm Development Header' /></a></p>
<p>In the process of developing the components for my final project, I spend a good bit of time developing these algebraic equations that could then be used by themselves or in patterns.  The end result is an extremely powerful pair of arrays that I can do just about anything with.  Check it out after the link</p>
<p><span id="more-217"></span></p>
<p>My goal for the component was to create a set of points that would define the shape and to develop components that would be extremely easy to alter from the outside.  If I could do that, it would be really easy to feed any sort of variables into the component and return a pair of arrays of points.  Then, that set of points could be used as x and y coordinates to place any sort of vector graphics onto the stage.  To start, I wrote down the various kinds of components I wanted to make; a circle, a sine wave, a cosine wave and a spiral.  Then I spent time pseudo-coding how to develop the code that would feed into my arrays for each of the different shapes (wikipedia is a great resource for equations!).  Finally, I started coding on the computer building what I thought would be the easiest to make; the circle.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/09/circle.jpg' title='Circle' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/circle.jpg' alt='Circle' /></a></p>
<p>As it turned out, since the circle was the first component I decided to make, it took by far the longest. I also had to build the testing file and testing code.  The main necessities for the component are starting rotation (where the first point will be placed), how many points there are (determines the spacing between points) and the radius of the circle.  All these variables can be shifted by the external component controller as well as internally depending on what is needed.  As the points are plotted, they are fed into an array for x values and one for y values.  Thus with the two arrays I have the entire set of points for the circle.  Finally, the controller calls the testing function that draws dots based on the x and y coordinates from the array.  I was rather happy to see it all working properly!</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/09/log-spiral.jpg' title='Logarithmic Spiral' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/log-spiral.jpg' alt='Logarithmic Spiral' /></a></p>
<p>Next, I started working with generating a spiral.  While I originally called it just &#8220;spiral,&#8221; it was actually generating a logarithmic spiral and when I later decided to add in other kinds of spirals, I needed to alter the naming for the function.  This component uses mostly the same code from the circle example, except with one exception &#8211; the two lines that generate the x and y positions.  I used these formulas as my basis for identifying what the x and y values.<br />
<code><br />
//Logarithmic Spiral<br />
// y = a * e ^ (tb) * sin(Theta)<br />
// x = a * e ^ (tb) * cos(Theta)<br />
</code></p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/09/arch-spiral.jpg' title='Archimedean Spiral' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/arch-spiral.jpg' alt='Archimedean Spiral' /></a></p>
<p>Very similar to the Logarithmic Spiral, the Archimedean Spiral has only a single difference; the replacement of a multiplication with an addition as seen below.</p>
<p><code>//Archimedean Spiral<br />
// y = a * e ^ (tb) + sin(Theta)<br />
// x = a * e ^ (tb) + cos(Theta)</code></p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/09/sine.jpg' title='Sine Wave' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/sine.jpg' alt='Sine Wave' /></a><br />
^Sine </p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/09/cosine.jpg' title='Cosine Wave' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/cosine.jpg' alt='Cosine Wave' /></a><br />
^Cosine</p>
<p>The sine wave and cosine wave evolved together, since they are so similar.  As seen in the code, the difference is just the addition of PI/2 inside the sine.  </p>
<p>Sine<br />
<code>// y = A * sin(wt) + D</code><br />
Cosine<br />
<code>// y = A * sin(wt+PI/2) + D</code></p>
<p>After developing the first set of code for the circle, each additional function only took a half-hour to 45 minutes to create, which greatly helped speed up the development time.  As a final addition, I made each variable randomly assigned when the component was created, so every time one clicks on a specific function, one will receive a different looking set of points.  All in all, I&#8217;m very pleased with the way that the components work and look forward to developing uses for them.  </p>
<p><strong><a href="http://www.10-yen.net/video_storage/algorithm_tester.swf" title="Algorithm Tester">View the component tester here</a></strong></p>
<p>From here, I need to create a few more components (namely a straight line and a spring-like shape) and then start developing concepts for larger shapes that will make usage of these smaller components.  I&#8217;m also going to look into introducing randomness into the design to produce shapes that, while appearing more random, are still arranged in a shape.  Onward!</p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/09/11/algorithm-component-development/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Generative Interactive Trees</title>
		<link>http://10-yen.net/wordpress/2007/09/04/generative-interactive-trees/</link>
		<comments>http://10-yen.net/wordpress/2007/09/04/generative-interactive-trees/#comments</comments>
		<pubDate>Tue, 04 Sep 2007 20:45:22 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Work Journal]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/09/04/generative-interactive-trees/</guid>
		<description><![CDATA[
My generative trees project, which I have been tracking on here, has finally been finished.  Not only can you generatively draw trees, but you can also grab and influence the branches.  

Development Cycle

Fractal Basis
This was the beginning of this project.  I felt that it was important to analyze and understand how fractals [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://10-yen.net/wordpress/2007/09/04/generative-interactive-trees/" title="Generative Tree Header"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/09/tree2.jpg' alt='Generative Tree Presentation Header' /></a><br />
My generative trees project, which I have been tracking on here, has finally been finished.  Not only can you generatively draw trees, but you can also grab and influence the branches.  </p>
<p><span id="more-205"></span></p>
<p>Development Cycle</p>
<ol>
<li><a href="http://10-yen.net/wordpress/2007/07/17/fractal-magic/" title="Fractals">Fractal Basis</a>
<p>This was the beginning of this project.  I felt that it was important to analyze and understand how fractals are generated as they are the basis for L-systems.</p>
</li>
<li><a href="http://10-yen.net/wordpress/wp-content/uploads/2007/09/early_tree-1.jpg"  title='First Generation Tree' rel="lightbox" rel="lightbox">First Generation Tree</a>
<p>After working with the fractals, I made my first generative tree.  It involved one single recursive algorithm with no variations.  Unfortunately, since there was no differentiation between trunk, branch and leaf, the look of the tree is not very realistic</p>
</li>
<li><a href="http://10-yen.net/wordpress/2007/07/22/generative-trees/"title="Early Generative Tree">Second Generation Tree</a>
<p>After developing the first generation tree, I split up the process even more, creating 4 different files that work together; a FLA starter file, a tree file, a branch file and a leaf file.  The FLA calls the tree, which calls itself and branches which call themselves and leaves.  The big advantage of this process is that it is extremely easy to control styling to each of the different elements and implement direct targeting onto any particular part</li>
<li><a href="http://10-yen.net/wordpress/wp-content/uploads/2007/09/tree-grower.swf" title="Tree Grower Application">Tree Grower Application</a>
<p>This is the final version of the tree, integrating the interactive elements so that you can pull on the branches as well as Inverse Kinematic chains that allow for the branches to be influenced by each other and bounce back.  The Final version of the file is designed for a multitouch display screen where one can physically use one&#8217;s fingers to pull on branches.  The tree in this file is turned 90 degrees in order to take advantage of the length of the multitouch display.  I&#8217;m afraid I have been unable to get it to work properly vertically, but I will continue to try and improve it.  </p>
</li>
</ol>
<p>Overall, I&#8217;m really happy with how the project turned out.  There were a number of issues and bugs that needed to be overcome, especially in the IK chains, but ultimately I found every last one.  I feel especially good about the project as I developed all the code myself and gained a very strong understanding of recursive functions.  In addition, it was created in Actionscript 3 and is my first project in that language, so I&#8217;m glad that it actually turned out, let alone turned out well!  I would like to revisit this project later and add in new features like being able to prune the branches and grow elements, but the implementation of those features was beyond the time limit and scope I had available.  </p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/09/04/generative-interactive-trees/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Generative Trees</title>
		<link>http://10-yen.net/wordpress/2007/07/22/generative-trees/</link>
		<comments>http://10-yen.net/wordpress/2007/07/22/generative-trees/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 06:12:34 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Work Journal]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/07/22/generative-trees/</guid>
		<description><![CDATA[
I have been working on an application to generate trees in preparation for my term project in Object Oriented Programming (flash) and Designing Physical Interfaces.  It has been a lot of work and not the easiest to say the least; especially in as3.  However, I recently had a bit of a breakthrough.

Using the [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://10-yen.net/wordpress/2007/07/22/generative-trees/' title='Tree Grower Header'><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/tree-grower-1.jpg' alt='Tree Grower Header' /></a></p>
<p>I have been working on an application to generate trees in preparation for my term project in Object Oriented Programming (flash) and Designing Physical Interfaces.  It has been a lot of work and not the easiest to say the least; especially in as3.  However, I recently had a bit of a breakthrough.</p>
<p><span id="more-171"></span></p>
<p>Using the stochastic L-System rule set (aka random chance of different rules being applied) given <a href="http://www.acm.org/crossroads/xrds8-2/plantsim.html" title="Simulating plant growth">on this site about simulating plant growth</a>, I generated the below flash application.  I apologize as it may take some time to load and run as the tree generation process can take some time.  The current recursion level is set to 12.</p>
<div id="flashcontent">
  Here is the location where the swf lives.  You may need to update your flash to Flash 9 in order to view the swf.
</div>
<p><script type="text/javascript">
   var so = new SWFObject("http://www.10-yen.net/video_storage/treeGrower.swf", "treeGrower", "450", "600", "9", "#FFFFFF");
   so.write("flashcontent");
</script></p>
<p>As you can tell, some of the trees are far better than others.  Some, in fact, look like bushes or half-deformed creations.  Ahh, the joys of generation&#8230;  I find the whole plant tends to look better around 15 recursions, but that takes a bit too long to run!  In any case, the setup of this file breaks down into 4 main sections.  A FLA to start the process, a tree class, a branch class and a leaf class.  The tree class is identifiable by the dark brown, the branch by the light brown and the leaf by the green.  At the moment, the only item that is randomized is the rule set, although the decay on recursion (currently the tree class has the most decay of -4), the angle of extrusion (here set to around 20 degrees) and the length (currently 2, but dependant on the recursion level) can also be randomized.  Another item I would like to add in is a decay on the length so that the tree trunk is the thickest all the way down to the smallest branch.  </p>
<p>So much to do!  Please look forward to it!</p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/07/22/generative-trees/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fractal Magic</title>
		<link>http://10-yen.net/wordpress/2007/07/17/fractal-magic/</link>
		<comments>http://10-yen.net/wordpress/2007/07/17/fractal-magic/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 07:01:02 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Work Journal]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/07/17/fractal-magic/</guid>
		<description><![CDATA[This term, I&#8217;m working on a project for both my Designing Physical Interfaces class and my OOP (Object Oriented Programming) class.  My idea was to create a &#8220;virtual gardener&#8221; program for a multi-touch display that would allow one to prune, adjust its growth and more.  Not just that, but I want the tree [...]]]></description>
			<content:encoded><![CDATA[<p>This term, I&#8217;m working on a project for both my Designing Physical Interfaces class and my OOP (Object Oriented Programming) class.  My idea was to create a &#8220;virtual gardener&#8221; program for a multi-touch display that would allow one to prune, adjust its growth and more.  Not just that, but I want the tree to be fractal driven so they are different every time the program is run or the tree is generated.  In preparation for this project, I started spending time with L-systems, or Liedermeyer Systems.</p>
<p><span id="more-139"></span></p>
<p>An L-system or Lindenmayer system is a formal grammar (a set of rules and symbols) most famously used to model the growth processes of plant development, but also able to model the morphology of a variety of organisms. L-systems can also be used to generate self-similar fractals such as iterated function systems. L-systems were introduced and developed in 1968 by the Hungarian theoretical biologist and botanist from the University of Utrecht, Aristid Lindenmayer (1925â€“1989).</p>
<p>Example 1: Algae</p>
<p>Lindenmayer&#8217;s original L-system for modelling the growth of algae.</p>
<p>    variables : A B<br />
    constants : none<br />
    start  : A<br />
    rules  : (A â†’ AB), (B â†’ A)</p>
<p>which produces:</p>
<p>    n = 0 : A<br />
    n = 1 : AB<br />
    n = 2 : ABA<br />
    n = 3 : ABAAB<br />
    n = 4 : ABAABABA<br />
    n = 5 : ABAABABAABAAB<br />
    n = 6 : ABAABABAABAABABAABABA<br />
    n = 7 : ABAABABAABAABABAABABAABAABABAABAAB </p>
<p>(<a href="http://en.wikipedia.org/wiki/L_Systems" title="wikipedia link">from Wikipedia</a>)</p>
<p>At first, when I started trying to figure out how to create L systems in flash, I used an array.  That array would take the starting variable and plug it into the first division of the array.  Then a line of code would go through and apply the two rules to that first division, adding in the new rules as it went.  After that, the process would repeat until the desired number of iterations were completed.  From there, the code would read out the entire array and draw lines based on what was inserted into each division.</p>
<p>In Flash 8, this didn&#8217;t work too well as it couldn&#8217;t handle much past 5 or 6 iterations of some of the more complicated rule sets.  Flash CS3 could handle up to around 8 or 9, but still this wasn&#8217;t optimal.  After hunting around online, I found <a href="http://www.scriptable.com/blog/actionscript/2005/03/turtle-graphics-class.html" title="Turtle Graphics link">a blog entry by Mitch Allen about turtle graphics</a> created in flash using recusive functions.  </p>
<p>Understanding Mitch&#8217;s code took me a while, primarily because the logic hurt my brain.  However, I pushed through it and figured out how the system worked!  From there, I started attempting to implement the L systems on the Wikipedia page.</p>
<p>The first one I successfully completed was the Koch Curve.</p>
<p>    variables : F<br />
    start  : F<br />
    rules  : (F â†’ F+Fâˆ’Fâˆ’F+F) </p>
<p>in this case, the &#8220;+&#8221; and &#8220;-&#8221; symbol mean turn left and right, respectively.  For this Koch curve, the angle of their curve is 90 degrees.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch_3swf.jpg' title='Koch Curve at 3 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch_3swf.jpg' alt='Koch Curve at 3 iterations' /></a><br />
at 3 iterations</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch_6swf.jpg' title='Koch Curve at 6 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch_6swf.jpg' alt='Koch Curve at 6 iterations' /></a><br />
at 6 iterations</p>
<p>After the Koch Curve, I attempted to make some of the other ones on the page, but I found myself having trouble.  Either the code wasn&#8217;t working right (via improper entry) or the rules on the page were wrong.  So I went out in search of a different page with more options.  Ultimately, I found <a href="http://mathforum.org/advanced/robertd/lsys2d.html" title="Robert M. Dickau">Robert Dickau&#8217;s Two-dimensional L-systems</a> page that contains a large number of different L systems with the rule sets for them.  I created a number of the different l systems on this page.</p>
<p>The Triangle Koch Curve (F -> F+F&#8211;F+F, 60Â°):</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch-triangles_3.jpg' title='Koch Curve Triangles at 3 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch-triangles_3.jpg' alt='Koch Curve Triangles at 3 iterations' /></a><br />
at 3 iterations.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch-triangles_9.jpg' title='Koch Curve Triangles at 9 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/koch-triangles_9.jpg' alt='Koch Curve Triangles at 9 iterations' /></a><br />
at 9 iterations.</p>
<p>Dragon Curve (X -> X+YF+, Y -> -FX-Y)</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/dragon_10.jpg' title='Dragon Curve at 10 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/dragon_10.jpg' alt='Dragon Curve at 10 iterations' /></a><br />
at 10 iterations.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/dragon_15.jpg' title='Dragon Curve at 15 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/dragon_15.jpg' alt='Dragon Curve at 15 iterations' /></a><br />
at 15 iterations.</p>
<p>Arrowhead curve (X -> YF+XF+Y, Y -> XF-YF-X, 60Â°):</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/arrowhead_5.jpg' title='arrowhead 5 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/arrowhead_5.jpg' alt='arrowhead 5 iterations' /></a><br />
at 5 iterations.</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/07/arrowhead_9.jpg' title='arrowhead at 9 iterations' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/07/arrowhead_9.jpg' alt='arrowhead at 9 iterations' /></a><br />
at 9 iterations.</p>
<p>With all these fractals under my belt, I feel more prepared to start developing tree l-systems with their more complicated rules and methodologies!  I look forward to seeing what kind of creations I can develop with these for this project and for my final project, which I will talk more about later!</p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/07/17/fractal-magic/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Consumeristic Pictotype.</title>
		<link>http://10-yen.net/wordpress/2007/05/17/find-the-designer-find-the-product/</link>
		<comments>http://10-yen.net/wordpress/2007/05/17/find-the-designer-find-the-product/#comments</comments>
		<pubDate>Thu, 17 May 2007 18:50:19 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Typography]]></category>

		<guid isPermaLink="false">http://10-yen.net/wordpress/2007/05/17/find-the-designer-find-the-product/</guid>
		<description><![CDATA[On Erik Spiekermann&#8217;s blog, I found a link to something very interesting, called Amaztype.  The site asks you to choose one of Amazon&#8217;s different databases, media type (book, cd, dvd, etc.), title or author and asks for a search term.  What it then does is searches Amazon&#8217;s database for that word, gathering sample [...]]]></description>
			<content:encoded><![CDATA[<p>On <a href="http://www.spiekermann.com" title="Link to Spiekermann's Blog">Erik Spiekermann</a>&#8217;s blog, I found a link to something very interesting, called <a href="http://amaztype.tha.jp/" title="Amaztype link">Amaztype</a>.  The site asks you to choose one of Amazon&#8217;s different databases, media type (book, cd, dvd, etc.), title or author and asks for a search term.  What it then does is searches Amazon&#8217;s database for that word, gathering sample images and data when it finds it.  Finally, the site generates the search term you entered using the media it found.  Tis a rather fun and interesting page!</p>
<p><a href='http://10-yen.net/wordpress/wp-content/uploads/2007/05/aaron.jpg' title='Aaron' rel="lightbox"><img src='http://10-yen.net/wordpress/wp-content/uploads/2007/05/aaron.thumbnail.jpg' alt='Aaron' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://10-yen.net/wordpress/2007/05/17/find-the-designer-find-the-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

