Coder Social home page Coder Social logo

pygameworlddavemiller's Introduction

An evolution-world model

Required Python packages: pygame opencv-python

This project is a transliteration of the Dave Miller's biosim4 into Python using PyGame is an underlying simulation engine. In this first pass, I attempt to reinterpret a workable subset of the function of biosim4, focusing on the neural-network, evolution, simulation of each generation, and visualization of same. Details, especially in flexibility of configuraton and tracking/recording have been neglected or glossed over.

See: http://www.millermattson.com/dave/?p=429 And: https://github.com/davidrmiller/biosim4

Currently, under development, and not working yet. See tests in 'tests' folder, and main.py in the src folder.

In an effort to get something up and running that visually matches David's video presentations, I am assuming that all genes are 4 bytes in length and that all genomes for a particular simulation are of equal and fixed length. David's code allows for verying length genes.

See David's video on You Tube. https://www.youtube.com/watch?v=N3tRFayqVtk

Note: I am using this exercise as a means to practice test-driven development. Which may account for the number of "intermediate" tests.

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.