Coder Social home page Coder Social logo

nlpz404 / gentics Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 40 KB

[gen]Tics es un ecosistema virtual, sonoro e interactivo desarrollado en p5.js y tone.js.

Home Page: https://nlpz404.github.io/genTics/

License: MIT License

HTML 2.25% JavaScript 97.75%
creative-coding genetic-algorithms interactive-art sound-synthesis web-application

gentics's Introduction

[gen]Tics

ReadMe en español disponible aquí.

Virtual, sonic, and interactive ecosystem developed in p5.js and tone.js. This ecosystem is inhabited by 'tics', small sound-generating cells. 'Tics' can move, eat, mutate, and reproduce with chances of inheritance. Users can interact with them by feeding them, altering their environment, or modifying some of their parameters.

Online version available: https://nlpz404.github.io/genTics/.

Rules

  • Tics with a black dot have developed a mutation.
  • Tics with a white dot have become predators, allowing them to eat tics from another species.
  • Tics constantly lose their 'xp' and replenish it by eating.
  • Food regenerates when there are fewer than 20 foods on the map, or when any food has not been eaten for more than 30 seconds.
  • A satiated tic will inform the position of the nearest food to nearby tics of its own species.
  • Tics sing when they encounter other tics of its own species.

Interaction

Actions on the map:

  • Click to add food.
  • 'a' + click adds a forest.
  • 's' + click adds a desert.
  • 'd' + click adds a mountain.

Interaction buttons:

  • Add instances of each species.
  • Reset the food.
  • Temporarily increase the speed and vision range of a species.

Installation and Usage

  1. Clone this repository to your local machine.
  2. Open the index.html file in your web browser.

Alternatively, you can access the online version: genTics.

Credits

This project is partially based on Evolution_Simulator by KerrickC. Part of its code has been used as a starting point, which has then been modified and extended to suit the specific needs of [gen]Tics.

Contribution

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

gentics's People

Contributors

nlpz404 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.