Coder Social home page Coder Social logo

pinga's Introduction

pinga

Interactive Genetic Algorithm in Processing (Python mode)

Contents

 handson: sketchbook for hands-on session (see below)
    bank: image bank (see below)
   faces: hands-on solution
sketches: another "species" using the same interactive GA engine

Hands-on sketchbook

The directory handson is incomplete. It already contains a visual frontend and some of the genetic-algorithm related routines.

The following routines will be implemented during the hands-on session:

  • random_individual(), generates new individual from scratch
  • draw_individual(), aka produce the "phenotype"
  • mutate(), one of the genetic "operators"
  • create_child(), another genetic operator

If there is time left, we will also implement the following routines (otherwise we paste them from sketchbook in the faces directory`):

  • new_population_random(), generates new population of random individuals
  • new_population_mutants(), generates new population of mutants from existing population
  • new_population_children(), generates new population of children of selected individuals

Image bank

The directory bank contains images of eyes, noses and mouths. New images can be downloaded from the web and simply saved into this folder to be made available for the program. However, all images must start either with the word "eye", "nose", or "mouth" in order to be found by the program.

pinga's People

Contributors

trevisanj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.