?

Log in

No account? Create an account
Image - dmv/blogs/lj

> Recent Entries
> Archive
> Friends
> Profile
> dmv/index

Links
dmv/index

Alt. Info Streams
Twitter
Memestream
Flickr Stream

April 10th, 2002


Previous Entry Share Next Entry
10:13 am - Image
So I went to see ommkarja's cousin perform at club cafe in a
[Error: Irreparable invalid markup ('<a href-"http://www.clubcafelive.com/calendar.asp?id>') in entry. Owner must fix manually. Raw contents below.]

So I went to see <lj user="ommkarja">'s cousin perform at <a href="http://www.clubcafelive.com">club cafe</a> in a <a href-"http://www.clubcafelive.com/calendar.asp?id=4&year=2002&index=10">band</a> last night. And since I didn't finish my proposal for <a href="http://www-2.cs.cmu.edu/afs/cs/academic/class/15849c-s02/www/index.html">electronic nanotechnology</a>... I'll spent the time before class updating livejournal.

<img align="left" src="http://www.contrib.andrew.cmu.edu/~dmv/art/ant2.gif">
So the new image: its probably not in its final form.
<br clear="all">

<img align="right" src="http://www.contrib.andrew.cmu.edu/~dmv/art/graystatic.gif">
Right now, I don't think its as interesting as the static.
<br clear="all">

But its more intellectually interesting. There are <a href="http://users.iol.it/acnard/ant.html">more famous</a> ant cellular automata. I'll update this line if I can find an online reference to the algorithm I used -- it was in a proceedings I read this summer. The algorithm is pretty for its simplicity: Start with <i>n</i> "ants" on a single location. For every ant in a location occupied by at least one other ant, randomly move <b><code>{ -1,0, 1 }</code></b> step in both the <i>X</i> and <i>Y</i> direction. Stop when there is no motion. That's it.

So the image in time-steps of 300 ants. And it freezes in purple at the static point. Fascinating image now, no? Neat patterns to emerge from something so simple. Colors are scaled based on the number of ants occuping a location. Simple 30 minute python script... code available, naturally.

(Leave a comment)


> Go to Top
LiveJournal.com