Skip to content

yshklarov/percolator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Percolator

Percolator is a tool for simulating percolation on a planar lattice.

Currently it only does site percolation on the square lattice.

Screenshots

screenshot 1

screenshot 2

screenshot 3

screenshot 4

Installing

Percolator runs on Windows and Linux.

For Linux, see the building procedure below.

Windows binaries are available here.

Building

Linux: Install CMake and GLFW (if you're on debian: packages cmake and libglfw3-dev). Then use the standard CMake build procedure. For example:

$ git clone git@github.com:yshklarov/percolator.git
$ mkdir percolator/build
$ cd percolator/build
$ cmake ..
$ cmake --build . -v -j8
$ ./percolator

Windows: Load the folder as a CMake project in you favorite IDE. All external includes and libraries are already in the source tree. The build has been tested with MSVC 19.25.28612 on x64.

Other platforms: Percolator uses ImGui for the user interface. ImGui supports many different platforms and graphics backends, so it should be relatively straightforward to get Percolator to build on your system.

About

Lattice percolation simulation playground

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published