Skip to content

dhandeo/potts-simulation

Repository files navigation

POTTS model simulation running within browser

See the functioning`Here <http://dhandeo.github.com/potts-simulation/index.html>`_

Implementation

  • About 100 squares each running a simulation
  • Each simulation: 5x5 or 10x10 grid

Container class

  • Manages the canvas
  • Accepts simulation objects
  • Displays play / pause / reset functions
  • Outputs information
  • In a loop
    • Runs simulation
    • Gathers information

A simulation class

  • Accepts parameters for initialization function
  • Simulation function

References

About

Pots simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published