/ blog projects miniprojects tagcloud   about contact github flickr where am I?

Genetic programming language with a strong type system

First prototype in python, work in progress, I should think of more interesting project names.

repository

Sun Sep 22 2013 06:47:45 GMT+0200 (CEST), 48 months ago

an algoritmic music generator that interprets cellular automata as notes, its an alsa MIDI device.

Cellular automata rules are described by a simple RAM machine language and are evolved. There are some interesting things about the language itself, I'll post the details later.

Fitness function is a human clicking on "the nice ones".

Sun Sep 22 2013 06:47:37 GMT+0200 (CEST), 48 months ago


a bunch of selfish prisoners having sex and mutating. WHOA. a very basic evolutionary algorithm, a last night's play.

Prisoner's dilemma is a scenario in a game theory (check it out if you don't know about it) its interesting to me in part because it explains human moral intuitions through a selfish evolutionary perspective, in other words, why people are generally nice to each other.

In the iterated prisoners dilemma the game is played repeatedly thus each agent has an opportunity to learn about other agents behaviours and potentially punish noncooperation. Cooperation may then arise as an equilibrium outcome.

solutions:

I didn't get tit for tat which I originaly expected, nor did I manage to get any other cooperative equilibrium. cooperation does evolve, but it doesn't last, strange, I expected that cooperative species will raise and stay dominant as I enlarge the number of interactions before a step in the evolution. (its rational to be nice if you need to stick around) need to investigate and think about this some more.

I'll post more info and code later or never. screenshot and someone with a different approach and a spacial dimension.

Tue Sep 10 2013 07:07:06 GMT+0200 (CEST), 48 months ago

After looking at the rorschach test, I wanted more. supirisingly, I couldn't find any rorschach generators online, so, python, tkinter and randomwalk with random size blobs and simmetrical reflection, I thought that some tweaking or more complicated algorithm would be needed but this works great.

click on a canvas for (re)generation.

examples and source.


Tue Sep 10 2013 07:07:06 GMT+0200 (CEST), 48 months ago