Skip to content

Program for generating Mandelbrot and Julia set fractals in Go

Notifications You must be signed in to change notification settings

haakonbaa/fractals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractals!

A simple program for generating Mandelbrot and Filled Julia set fractals written in go.

Building

The program can be built and run using the go compiler:

go build -o fractals main.go fractals.go
./fractals [arguments]

Usage

To get detailed info about the usage, simply run the program without any arguments. See the examples below:

Generating a Mandelbrot fractal

./fractals m -real=-0.5 -radius=1.2 

mandelbrot

Generating a Filled Jula set fractal

./fractals j -creal=-1.25 -cimag=0.1 

julia

Zooming is also possible

./fractals m -real=-0.16 -imag=1.0405 -radius=0.026 -iters=300

mandlebrotzoom

Gif's can easily be created as well

./fractals m gif -real=-1.7844714 -width=608 -height=342 -scale=0.4 -iters=3000 -zoom=0.5

About

Program for generating Mandelbrot and Julia set fractals in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages