Git Product home page Git Product logo

flowersystem's Introduction

Flowersystem

Assignement in Kadenze course "Nature in Code" by Shiffman. Based on the example "03_Faces_interactiveselection". In the example "03_Faces_interactiveselection" you can choose between faces and the program makes a new generation based on your choice and some mutationvalue. I changed this in a choice between flowers hoh are in generation 0, randomly made by the computer on base of 15 genes. This genes take care of the color and the shape of the flowers. When the users has made his choices (every flower cab get 1 till 50 points) the user pushes a button and the program will make a tree with the flowers of choice. How higher the number (called Fitness), how more flowers are on the tree. The user pushes a button again and the program makes a new generation by randomly choose a "mam"and a "dad", who make a child by donating 50% of their dna. On every 100 genes there are 15 mutations. This seems a lot. But because we have only 6 flowers there is not a very large genes pool and like in the real world this means there will be less and less variation. The user can try to make more flowers he ore she finds beautiful. I have some ideas to develop the program.

  • the user can save flowers who he/she likes
  • the user can choose which genes to keep in the next generation

New ideas are welcome. Also contributions to the code.

flowersystem's People

Contributors

lebo124 avatar

Watchers

James Cloos avatar  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.