Skip to content

Visualize the phenomenon of percolation using the Union Find data structure

License

Notifications You must be signed in to change notification settings

pixyj/percolate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percolate

A simple web interface to visualize percolation in a square surface using the Union-Find data structure.

Clone the repo:

$ cd web
$ python -m SimpleHTTPServer

To run a simulation to verify that the percolation threshold is ~0.5927 for large squares, run the python code. Find the results in the generated csv file.

$ cd py
$ python percolate.py

About

Visualize the phenomenon of percolation using the Union Find data structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published