Slashdot Mirror


Evolution of Mona Lisa Via Genetic Programming

mhelander writes "In his weblog Roger Alsing describes how he used genetic programming to arrive at a remarkably good approximation of Mona Lisa using only 50 semi-transparent polygons. His blog entry includes a set of pictures that let you see how 'Poly Lisa' evolved over roughly a million generations. Both beautiful to look at and a striking way to get a feel for the power of evolutionary algorithms."

26 of 326 comments (clear)

  1. Any GA implementation.. woo by QuantumG · · Score: 4, Funny

    Genetic Algorithms are like the AI equivalent of text editors... everybody has spent a weekend writing one at some point.

    --
    How we know is more important than what we know.
    1. Re:Any GA implementation.. woo by martin-boundary · · Score: 4, Funny

      And afterwards it's just like the creationism vs evolution debate... everybody wonders what God was thinking when he wrote vi.

    2. Re:Any GA implementation.. woo by Swizec · · Score: 2, Funny

      Damn it! I'm lagging behind because I've done neither. FUCK. *rushes out of the office to go rot at home coding stuff nobody needs*

    3. Re:Any GA implementation.. woo by QuantumG · · Score: 3, Funny

      Be sure to write your own LISP interpreter too.

      --
      How we know is more important than what we know.
    4. Re:Any GA implementation.. woo by QuantumG · · Score: 4, Funny

      umm, Knuth didn't write vi, Bill Joy did.

      --
      How we know is more important than what we know.
    5. Re:Any GA implementation.. woo by martin-boundary · · Score: 2, Funny

      Heretic! You think Bill Joy isn't God! Everyone knows that Knuth uses Emacs, you heathen.

    6. Re:Any GA implementation.. woo by QuantumG · · Score: 5, Funny

      Knuth uses pen, paper and toggle switches.. the way it's meant to be done.

      --
      How we know is more important than what we know.
    7. Re:Any GA implementation.. woo by TheRaven64 · · Score: 3, Funny

      Nietzsche said 'God is dead,' which eliminates both Knuth and Joy. Obviously God is Dijkstra.

      --
      I am TheRaven on Soylent News
    8. Re:Any GA implementation.. woo by Bob-taro · · Score: 5, Funny

      Vi is divine. Emacs is the work of man.

      vivivi is the editor of the beast.

      --
      Prov 9:8 Do not rebuke mockers or they will hate you; rebuke the wise and they will love you.
    9. Re:Any GA implementation.. woo by Hotawa+Hawk-eye · · Score: 1, Funny
  2. Re:Triangles by ThatsNotFunny · · Score: 2, Funny

    Dorito Lisa?

    --
    "Was it a millionaire who said 'Imagine No Posessions?'" -- Elvis Costello
  3. Re:Pretty Cool But Not Evolution in the Usual Sens by Roland+Piquepaille · · Score: 5, Funny

    Evolution with a comparison function is called intelligent design. Here for example is the code snipped that created man (from the good book):
    ...
    while(strcmp(image(man),image(god)))
    {
        free(man);
        man=(man_t*)malloc(sizeof(man_t));
    }
    bless(man); ...

  4. Re:Triangles by syousef · · Score: 5, Funny

    I would've liked to see it done with triangles... complex polygons just feels a bit like cheating. Not that it isn't super cool

    Here it is done with 914400 tiny coloured pixe^H^H^H^Hrectangles:

    http://avline.abacusline.co.uk/pictures/jpeg/pics/mona.jpg

    --
    These posts express my own personal views, not those of my employer
  5. Re:First by Anonymous Coward · · Score: 2, Funny

    Yeah, you forgot to tick "Post Anonymously"...

  6. Re:image compression by Anonymous Coward · · Score: 1, Funny

    well in that case you need to check this out:

    http://farm4.static.flickr.com/3162/3063863618_bedb6183d8_o.jpg

  7. Re:First by PincusJr · · Score: 1, Funny

    But I'm not a coward ;)

  8. Re:Brilliant! by Anonymous Coward · · Score: 2, Funny

    • it uses straight edged polygons as opposed...

    ...as opposed to these beer drinking, promiscuous polygons.

  9. Definitive proof by Comboman · · Score: 3, Funny

    Finally we have definitive proof that the Mona Lisa evolved from simple polygons instead of being "intelligently designed" by that fictional Leonardo guy.

    --
    Support Right To Repair Legislation.
  10. Re:Source code by daveime · · Score: 2, Funny

    Yes, the whole thing would have been FAR more accessible as a 40000 character perl regex.

    Dumbass, go troll your anti-ms propaganda elsewhere :-(

  11. Re:Brilliant! by Chapter80 · · Score: 2, Funny

    Sexual recombination in an evolving population is almost infinitely more powerful. There's some deep mathematics behind the power of sexual recombination, but it is so powerful that essentially all species above bacteria have seized on it.

    Shit, I always just say "want to go up to my room to see my etchings?" Good to hear what lines my competition is using!

  12. Re:Feeding the troll... by darkpixel2k · · Score: 4, Funny

    And it gives a great alternative to Java.

    I have a great alternative to being burned alive. It's being beaten to death with a baseball bat.

    --
    There's no place like ::1 (I've completed my transition to IPv6)
  13. Re:Source code by darkpixel2k · · Score: 3, Funny

    Yes, the whole thing would have been FAR more accessible as a 40000 character perl regex.

    Dumbass, go troll your anti-ms propaganda elsewhere :-(

    Yeah, but it'd be like 5 lines in Python... ;)

    --
    There's no place like ::1 (I've completed my transition to IPv6)
  14. Re:Feeding the troll... by Anonymous Coward · · Score: 1, Funny

    OK, I need to know something here. Software has evolved into a messy tangle of thousands of languages with cryptic syntax and incomprehensibly complex features. You all seem to instantly master them and can argue over the tiniest semantic issues. Yet most of you software types are completely baffled and stymied by the elementary ITS/IT IS problem. Why can't you learn that IT'S is not a possessive pronoun? It doesn't need an apostrophe because it's ALREADY possessive!!!

  15. So what do you think? by sgt+scrub · · Score: 2, Funny

    ftfa: So what do you think?

    She still wouldn't date someone on /.

    --
    Having to work for a living is the root of all evil.
  16. Re:Source code by darkpixel2k · · Score: 2, Funny

    Yeah, but it'd be like 5 lines in Python... ;)

    It'll be a single function call in the next Mathematica release :)

    Hey--this is slashdot. You can't talk about proprietary software in here unless you are bashing it! Hand in your geek card.

    --
    There's no place like ::1 (I've completed my transition to IPv6)
  17. Re:Source code by neomunk · · Score: 2, Funny

    Calm down, Emacs is getting a macro for it too!