Git Product home page Git Product logo

propagation-feu-de-foret's Introduction

Propagation d'un feu dans une forêt

Simulation de la propagation d'un feu dans une forêt : Les régles de la simulation sont :

  • Un taux d'arbres ainsi qu'une taille donné par l'utilisateur
  • Un arbre en feu depuis deux passes de la boucle de la simulation devient brulé et ne propage plus le feu
  • Un arbre en feu peut enflammer uniquement les 4 cases directement adjacentes à lui
  • la simulation s'arrête lorsque qu'il n'y a plus d'arbres en feu (simulation bloquée)
  • modules utilisés : tkinter, termcolor (à installer), matplotlib (à installer)

Simulation of the propagation of a fire in a forest :

  • A rate of trees as well as a size given by the user.
  • A tree that has been on fire for two passes of the simulation loop becomes burnt and no longer propagates fire.
  • A burning tree can only ignite the 4 squares directly adjacent to it.
  • the simulation stops when there are no more burning trees (blocked simulation)
  • Modules used : tkinter, termcolor (installation needed), matplotlib (installation needed)

propagation-feu-de-foret's People

Contributors

ilade-s avatar

Watchers

 avatar

propagation-feu-de-foret's Issues

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.