<?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>metabiosis &#187; code</title>
	<atom:link href="http://metabiosis.kuri.mu/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://metabiosis.kuri.mu</link>
	<description>Dependence of one organism on another for the preparation of an environment in which it can live.</description>
	<lastBuildDate>Mon, 12 Apr 2010 18:43:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Dot Matrix patterns</title>
		<link>http://metabiosis.kuri.mu/2008/03/25/dot-matrix-patterns/</link>
		<comments>http://metabiosis.kuri.mu/2008/03/25/dot-matrix-patterns/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 00:18:32 +0000</pubDate>
		<dc:creator>aymeric</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2008/03/25/dot-matrix-patterns/</guid>
		<description><![CDATA[In &#8220;hello process&#8221;, each iteration, through all the small bits of FORTH code inside the block file image, is visualized as one line of graphics on paper from the dot matrix printer. These graphics are not generated as an image and sent to the printer, but instead are directly using the 8-pin graphics mode of [...]]]></description>
			<content:encoded><![CDATA[<p>In &#8220;hello process&#8221;, each iteration, through all the small bits of FORTH code inside the block file image, is visualized as one line of graphics on paper from the dot matrix printer. These graphics are not generated as an image and sent to the printer, but instead are directly using the 8-pin graphics mode of the printer.</p>
<p>In this case, each of the eight bits in a byte of data sent to the printer corresponds to one pin on the printhead. A bit&#8217;s value can be either 1 or 0. When the printer receives the data, it interprets a bit with a value of 1 as a command to fire the corresponding pin. Bits that are set to 0 don&#8217;t cause pins to fire.</p>
<p>Each block code will end up with its own &#8220;byte ID&#8221; so it can be visualized and identified on paper in the graphics line. But before getting there, a few tests have been done to try different bit combos and select the generators the most aesthetically pleasing for us :)</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-06.jpg' title='Dot Matrix patterns 6'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-06-128x95.jpg' alt='Dot Matrix patterns 6' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-02.jpg' title='Dot Matrix patterns 2'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-02-128x95.jpg' alt='Dot Matrix patterns 2' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-03.jpg' title='Dot Matrix patterns 3'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-03-128x95.jpg' alt='Dot Matrix patterns 3' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-07.jpg' title='Dot Matrix patterns 7'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-07-128x95.jpg' alt='Dot Matrix patterns 7' /></a></p>
<p><span id="more-365"></span></p>
<p>Below, one of the small quick and dirty shell scripts used to quickly test different patterns:</p>
<p><code>#!/bin/sh<br />
# OKI 320 ML tests<br />
# this test is to generate (crap) random 8 pin mode patterns<br />
#PRNG<br />
function rand {<br />
    echo "obase=8;`expr $RANDOM % 256`" | bc<br />
}<br />
function randpat {<br />
    n=1<br />
    while [ $n -le 256 ]; do<br />
        RND=`rand`<br />
        echo -ne '\'$RND<br />
        n=$((n+1))<br />
    done<br />
}<br />
PATTERN=`randpat`<br />
# noise<br />
# PATTERN2=`head /dev/urandom -c 1024`<br />
echo -e '^[@^[5^[9^[*1\4'$PATTERN'^[@' | lp -o raw</code></p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-05.jpg' title='Dot Matrix patterns 5'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-05-128x95.jpg' alt='Dot Matrix patterns 5' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-01.jpg' title='Dot Matrix patterns 6'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-01-128x95.jpg' alt='Dot Matrix patterns 1' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-04.jpg' title='Dot Matrix patterns 4'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-04-128x95.jpg' alt='Dot Matrix patterns 4' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-08.jpg' title='Dot Matrix patterns 8'><img src='http://metabiosis.kuri.mu/files/2008/03/dot_pattern-08-128x95.jpg' alt='Dot Matrix patterns 8' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2008/03/25/dot-matrix-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>touch me, touch me</title>
		<link>http://metabiosis.kuri.mu/2007/06/11/touch-me-touch-me/</link>
		<comments>http://metabiosis.kuri.mu/2007/06/11/touch-me-touch-me/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 14:33:43 +0000</pubDate>
		<dc:creator>aymeric</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2007/06/11/touch-me-touch-me/</guid>
		<description><![CDATA[The software part of pond is almost ready and we&#8217;re now mounting all the bits and pieces together including the touch screens. Everything is working fine but we had a bit of troubles with the serial touchscreen, even though it is supposed to be working on Xorg, the calibration software provided by penmount is really [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="https://devel.goto10.org/svn/metabiosis/projects/pond/trunk/">software part</a> of pond is almost ready and we&#8217;re now mounting all the bits and pieces together including the touch screens. Everything is working fine but we had a bit of troubles with the serial touchscreen, even though it is supposed to be <a href="http://webcvs.freedesktop.org/xorg/driver/xf86-input-penmount/">working on Xorg</a>, the calibration software provided by penmount is really outdated and produce bogus data.</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/touchscreen-1-640x480.png' title='touchscreen-1-640×480.png'><img src='http://metabiosis.kuri.mu/files/2007/09/touchscreen-1-640x480-128x95.png' alt='touchscreen-1-640×480.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/touchscreen-2-640x480.png' title='touchscreen-2-640×480.png'><img src='http://metabiosis.kuri.mu/files/2007/09/touchscreen-2-640x480-128x95.png' alt='touchscreen-2-640×480.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/touchscreen-3-640x480.png' title='touchscreen-3-640×480.png'><img src='http://metabiosis.kuri.mu/files/2007/09/touchscreen-3-640x480-128x95.png' alt='touchscreen-3-640×480.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/touchscreen-4-640x480.png' title='touchscreen-4-640×480.png'><img src='http://metabiosis.kuri.mu/files/2007/09/touchscreen-4-640x480-128x95.png' alt='touchscreen-4-640×480.png' /></a></p>
<p><span id="more-128"></span></p>
<p>Not to mention the impossibility to store the calibration settings on the firmware (only windows apparently&#8230;) so everything needs to be stored directly in the xorg.conf file. The free xorg input driver works I think, as it read from /dev/ttyS0 and translate the data in X11 events, but not the right events unfortunately. Because we could not find any documentation on the calibration settings, it is also virtually impossible to manually configure the driver.</p>
<p>Fortunately, <a href="http://zwizwa.goto10.org">tom</a> came up with a cool <a href="http://zwizwa.goto10.org/darcs/penmount/">hack</a>, so now we read directly from /dev/ttyS0 by calling a pseudo driver that just filter out the unwanted hexadecimal crap and translate it correctly. The calibration is simply done within PF. In the end this solution is even more elegant than using the xorg driver and reading the X11 events from PF.</p>
<p>And yes it feels nice to play with the little thingies on the screen.</p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2007/06/11/touch-me-touch-me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jumping</title>
		<link>http://metabiosis.kuri.mu/2006/10/26/jumping/</link>
		<comments>http://metabiosis.kuri.mu/2006/10/26/jumping/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 19:25:38 +0000</pubDate>
		<dc:creator>marloes</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2006/10/26/jumping/</guid>
		<description><![CDATA[We&#8217;ve now implemented the jumping of datapackets from one ecosystem to the next. We have also been working on the visualisation of the process. Newborn packets are surrounded by a circle, fertile packets glow and dying packets fade&#8230; We will continue to work on the visualisation and networking of the ecosystems.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve now implemented the jumping of datapackets from one ecosystem to the next. We have also been working on the visualisation of the process. Newborn packets are surrounded by a circle, fertile packets glow and dying packets fade&#8230; We will continue to work on the visualisation and networking of the ecosystems.</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/jumping-1.png' title='jumping-1.png'><img src='http://metabiosis.kuri.mu/files/2007/09/jumping-1-128x95.png' alt='jumping-1.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/jumping-2.png' title='jumping-2.png'><img src='http://metabiosis.kuri.mu/files/2007/09/jumping-2-128x95.png' alt='jumping-2.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/jumping-3.png' title='jumping-3.png'><img src='http://metabiosis.kuri.mu/files/2007/09/jumping-3-128x95.png' alt='jumping-3.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/jumping-4.png' title='jumping-4.png'><img src='http://metabiosis.kuri.mu/files/2007/09/jumping-4-128x95.png' alt='jumping-4.png' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2006/10/26/jumping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>implemented shape generator</title>
		<link>http://metabiosis.kuri.mu/2006/10/20/implemented-shape-generator/</link>
		<comments>http://metabiosis.kuri.mu/2006/10/20/implemented-shape-generator/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 17:25:21 +0000</pubDate>
		<dc:creator>marloes</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2006/10/20/implemented-shape-generator/</guid>
		<description><![CDATA[In our &#8220;go forth &#38; *&#8221; software, we&#8217;ve now implemented the previously mentioned shapegenerator. We also introduced fertility cycles, reproduction and the prevention of over- and underpopulation. Our next step is making the packets jump from one ecosystem to the next.]]></description>
			<content:encoded><![CDATA[<p>In our &#8220;go forth &amp; *&#8221; software, we&#8217;ve now implemented the previously mentioned shapegenerator. We also introduced fertility cycles, reproduction and the prevention of over- and underpopulation. Our next step is making the packets jump from one ecosystem to the next.</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/ecosystem-1.png' title='ecosystem-1.png'><img src='http://metabiosis.kuri.mu/files/2007/09/ecosystem-1-128x95.png' alt='ecosystem-1.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/ecosystem-2.png' title='ecosystem-2.png'><img src='http://metabiosis.kuri.mu/files/2007/09/ecosystem-2-128x95.png' alt='ecosystem-2.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/ecosystem-3.png' title='ecosystem-3.png'><img src='http://metabiosis.kuri.mu/files/2007/09/ecosystem-3-128x95.png' alt='ecosystem-3.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/ecosystem-4.png' title='ecosystem-4.png'><img src='http://metabiosis.kuri.mu/files/2007/09/ecosystem-4-128x95.png' alt='ecosystem-4.png' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2006/10/20/implemented-shape-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miniphy</title>
		<link>http://metabiosis.kuri.mu/2006/09/20/miniphy/</link>
		<comments>http://metabiosis.kuri.mu/2006/09/20/miniphy/#comments</comments>
		<pubDate>Wed, 20 Sep 2006 15:35:58 +0000</pubDate>
		<dc:creator>aymeric</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2006/09/20/miniphy/</guid>
		<description><![CDATA[Miniphy is a Packet Forth words library that provides various simple math shortcuts and handy functions that can be useful to handle simple 2D vectors. While working on &#8220;go forth &#38; *&#8221; it became obvious to avoid as much as possible buillt-in components and prefer generic libraries that can live outside of the project itself [...]]]></description>
			<content:encoded><![CDATA[<p>Miniphy is a Packet Forth words library that provides various simple math shortcuts and handy functions that can be useful to handle simple 2D vectors.</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/simplephy-1.png' title='simplephy-1.png'><img src='http://metabiosis.kuri.mu/files/2007/09/simplephy-1-128x95.png' alt='simplephy-1.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/simplephy-2.png' title='simplephy-2.png'><img src='http://metabiosis.kuri.mu/files/2007/09/simplephy-2-128x95.png' alt='simplephy-2.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/simplephy-3.png' title='simplephy-3.png'><img src='http://metabiosis.kuri.mu/files/2007/09/simplephy-3-128x95.png' alt='simplephy-3.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/simplephy-4.png' title='simplephy-4.png'><img src='http://metabiosis.kuri.mu/files/2007/09/simplephy-4-128x95.png' alt='simplephy-4.png' /></a></p>
<p><span id="more-39"></span></p>
<p>While working on &#8220;go forth &amp; *&#8221; it became obvious to avoid as much as possible buillt-in components and prefer generic libraries that can live outside of the project itself for later use and better code structure.</p>
<p>At the moment miniphy is the first of those metabiosis Forth libs to have made its way out of the main project and will be kept synced with it for later fixes and improvements. Future version will in priority implement double space geometry for 2D vectors and later 3D vectors (higher dimensions are also considered but will be probably live next to the n-dimension multigrid tool instead).</p>
<p>Miniphy comes with simple examples that show how to use it for autonomous agents.<br />
You can grab miniphy here: <a title="http://devel.goto10.org" href="http://devel.goto10.org/listing.php?repname=metabiosis&amp;path=%2F06-miniphy%2F&amp;rev=0&amp;sc=0">http://devel.goto10.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2006/09/20/miniphy/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>shape generator</title>
		<link>http://metabiosis.kuri.mu/2006/09/07/shape-generator/</link>
		<comments>http://metabiosis.kuri.mu/2006/09/07/shape-generator/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 12:22:23 +0000</pubDate>
		<dc:creator>marloes</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2006/09/07/shape-generator/</guid>
		<description><![CDATA[To give each packet of data its own personality and shape, i&#8217;ve made a shape generating script in PF. The shape is determined by the packets &#8220;DNA&#8221;. In this script the DNA consists of 4 random numbers between 0 and 9, linked to the following characteristics: sociability, speed, reproductivity and love for travelling. Some packets [...]]]></description>
			<content:encoded><![CDATA[<p>To give each packet of data its own personality and shape, i&#8217;ve made a shape generating script in PF. The shape is determined by the packets &#8220;DNA&#8221;. In this script the DNA consists of 4 random numbers between 0 and 9, linked to the following characteristics: sociability, speed, reproductivity and love for travelling. Some packets will hate to travel, are super slow, but very social, others are incredibly fast, non-reproductive and totally asocial&#8230;<br />
<em>The code can be found here: <a href="http://devel.goto10.org/listing.php?repname=metabiosis&#38;path=%2F05-shapegen%2F&#38;rev=0&#38;sc=0">http://devel.goto10.org</a></em></p>
<p><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape10.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape9.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape8.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape7.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape6.png" /><img src="http://metabiosis.kuri.mu/files/2006/09/shape5.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape2.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape1.png" /><img align="bottom" src="http://metabiosis.kuri.mu/files/2006/09/shape12.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2006/09/07/shape-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lsystems and Pure Data</title>
		<link>http://metabiosis.kuri.mu/2006/09/07/lsystems-and-puredata/</link>
		<comments>http://metabiosis.kuri.mu/2006/09/07/lsystems-and-puredata/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 10:44:00 +0000</pubDate>
		<dc:creator>marloes</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2006/09/07/lsystems-and-puredata/</guid>
		<description><![CDATA[For the workshop Go Forth! during Futuresonic festival in Manchester, I made a little example of how to hook Packet Forth to Pure Data using OSC. The PF part is an Lsystem that draws lines, step by step, growing into a little chaotic cluster. The PD part receives the string that generates the lines and [...]]]></description>
			<content:encoded><![CDATA[<p>For the workshop <a title="Go Forth!" href="http://goto10.org/-/goforth.html"><strong>Go Forth!</strong></a> during Futuresonic festival in Manchester, I made a little example of how to hook <a title="PF" href="https://packets.goto10.org">Packet Forth</a> to <a title="Pure Data" href="http://www.puredata.info/">Pure Data</a> using OSC. The PF part is an Lsystem that draws lines, step by step, growing into a little chaotic cluster. The PD part receives the string that generates the lines and interprets the numbers turning them into sound.</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-7.png' title='lsys-osc-7.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-7-128x95.png' alt='lsys-osc-7.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-3.png' title='lsys-osc-3.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-3-128x95.png' alt='lsys-osc-3.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-2.png' title='lsys-osc-2.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-2-128x95.png' alt='lsys-osc-2.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-1.png' title='lsys-osc-1.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-1-128x95.png' alt='lsys-osc-1.png' /></a></p>
<p><em>The code (together with all Go Forth! PF workshop material)  can be found here: <a title="http://devel.goto10.org" href="http://devel.goto10.org/listing.php?repname=metabiosis&#38;path=%2F04-workshop_goforth%2F&#38;rev=0&#38;sc=0">http://devel.goto10.org</a> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2006/09/07/lsystems-and-puredata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lsystems in pf</title>
		<link>http://metabiosis.kuri.mu/2006/09/05/testing/</link>
		<comments>http://metabiosis.kuri.mu/2006/09/05/testing/#comments</comments>
		<pubDate>Tue, 05 Sep 2006 18:28:11 +0000</pubDate>
		<dc:creator>marloes</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://metabiosis.goto10.org/2006/09/05/testing/</guid>
		<description><![CDATA[Recently I read some things about Lsystems and started building one in Packet Forth. L-systems are a mathematical formalism proposed by Aristid Lindenmayer in 1968 as a foundation for an axiomatic theory of biological development. The system I wrote works like any other Lsystem. It takes a seed and a rule on how to grow [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I read some things about Lsystems and started building one in Packet Forth. L-systems are a mathematical formalism proposed by Aristid Lindenmayer in 1968 as a foundation for an axiomatic theory of biological development. The system I wrote works like any other Lsystem. It takes a seed and a rule on how to grow from that seed. It is a string rewriting system based on cell divisions in multicellular organisms such as plants. For instance: you start with a seed : A. The rule you use for rewriting is A -&gt; ABA. You can now apply the rule to the seed to create a new string: ABA, and reaply the rule: ABABABA, and so on. Each item in the string is used as directions for a turtle, who visualizes the string. My system produces strings of numbers 0 to 6, interpreted by the turtle as left, right, forward, backward, stop, push and pop. The push and pop make it possible to create branches.</p>
<p><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-5.png' title='lsys-osc-5.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-5-128x95.png' alt='lsys-osc-5.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-8.png' title='lsys-osc-8.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-8-128x95.png' alt='lsys-osc-8.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-6.png' title='lsys-osc-6.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-6-128x95.png' alt='lsys-osc-6.png' /></a><a rel="thumbnail" href='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-4.png' title='lsys-osc-4.png'><img src='http://metabiosis.kuri.mu/files/2007/09/lsys-osc-4-128x95.png' alt='lsys-osc-4.png' /></a></p>
<p><em> The code can be found on:<a title="http://devel.goto10.org" href="http://devel.goto10.org/listing.php?repname=metabiosis&amp;path=%2F02-lsys%2F&amp;rev=0&amp;sc=0"> </a><a title="http://devel.goto10.org" href="http://devel.goto10.org/listing.php?repname=metabiosis&amp;path=%2F02-lsys%2F&amp;rev=0&amp;sc=0">http://devel.goto10.org</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://metabiosis.kuri.mu/2006/09/05/testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

