Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buddhabrot

Simple buddhabrot generator written in Go.

alt tag

Requirements

The renderer uses SDL. On Mac you can install the library via homebrew:

$ brew install sdl 
$ brew install sdl_image
$ brew install sdl_ttf

Install

$ go get ./...
$ go install

Usage

$ buddhabrot ~/buddha.png

This will open a window and display the render progress more or less real-time. When you're happy with the end result just close the window and the image will be saved into the given file.

NAME:
   Buddhabrot - generate buddahbrot fractals

USAGE:
   Buddhabrot [global options] command [command options] [arguments...]

VERSION:
   0.1.0

COMMANDS:
   help, h  Shows a list of commands or help for one command
   
GLOBAL OPTIONS:
   --width, -w '600'    
   --height, -t '600'   
   --color, -c '50,200,500' color palette, if only one value given (i.e.: '-c 40') it will render a greyscale image
   --help, -h     show help
   --version, -v    print the version

About

Buddhabrot generator written in Go

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages