Coder Social home page Coder Social logo

paper-burning's Introduction

About

Simulation of paper burning in two dimensions. Deformation of the paper due to burning hasn't been modeled.

Notes on Patchiness vs Spread Regularity

Lower the threshold, the likelier it is that propagation happens. If probability of propagation is 1, expansion happens in a diamond fashion, with no patches at all.

Patches are almost never seen in the case of online computation of spread probability. In the case of offline texmap storage, we have two choices: either store the out-of-cell transition probabilities, or store just one into-cell transition probability. The second method requires 1/K times the amount of storage space as the first method, but if a cell has a low into-cell probability, it is very likely doomed to end up as an unburnt patch. The first method also has patchiness, probably due to the fact that the out-of-cell transitions do not change (after all, we are only reading a precomputed texture). Consider a cell that just started burning. Since the four out-of-cell probabilities in the case of online computation are computed anew in each iteration, the out-of-cell probability that will burn a specific unburnt neighbour cell has 10 chances to be a 'good' value. By contrast, in offline computation, it is pretty much set in stone what the out-of-cell probabilities are going to be - they do not change over 10 iterations.

paper-burning's People

Contributors

ajnirp avatar

Watchers

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