Skip to content

nsmith5/go-ising

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-ising

Build Status

Ising model simulation written in Go. Streams state as mjpeg movie. To build simply run:

$ git clone https://github.com/nfsmith5/go-ising
$ pushd go-ising
$ go get
$ go build

To run, execute the binary

$ ./go-ising
2020/05/12 23:04:17 Server binding to :8080...

If you point your browser to localhost:8080 you'll see a movie streaming with the realtime status of the simulation. Beta (the inverse temperature scaled by Boltzman's contant) can be controlled with a simple POST require.

$ # Modify beta to 1
$ curl -X POST -d '1' localhost:8080

About

API Driven Ising Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published