Skip to content

morcmarc/buddhabrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages