This code will generate a png
render of the mandlebrot set (see example below).
You can tinker with the variables in main.go to view different parts of the set etc.
-
clone the repo
-
build the code
# this will output the executable go build
-
run the executable (on windows it would be
mandlebrot.exe
)# <WIDTH> is an optional parameter to set the width of the desired render in pixels ./mandlebrot <WIDTH>