go-ising

command module
v0.0.0-...-ad846a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2020 License: MIT Imports: 15 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL