This is an implementation in Go of the Mandelbrot Set calculated taking profit of distributed computing and multithreading.
$ go run main.go
Run the application in slave mode on a cluster node:
$ go run main.go --role=slave
Run the application in master mode on a cluster node:
$ go run main.go --role=master --slaves=192.16.0.2,192.16.0.3,192.16.0.4
192.16.0.2, 192.16.0.3 and 192.16.0.4 are sample IPs of cluster nodes with the application running in slave mode. The master node communicates continuously with the slave nodes and render all the regions of the Mandelbrot Set in real-time in a system window.
Use a and s keys to zoom-in and zoom-out respectively (be patient when zooming). Use arrow keys to move.