Skip to content
/ cfractal Public

A fractal generator in C (written for CodeDay Houston 2015)

License

Notifications You must be signed in to change notification settings

tckmn/cfractal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfractal

To compile:

$ make

To run:

$ bin/fractal 1 2 3 6 7 13 15 17 19

Substitute the list of numbers for which variations you want the fractal to include (requires at least two).

-w [NUM] and -h [NUM] flags specify width and height, which both default to 1000.

Outputs to out000.ppm. You may convert this to ex. png with ImageMagick:

$ convert out000.ppm out.png

To do animations, include the -f [NUM] flag specifying how many frames of animations to render. This will produce out000.ppm through out<f-1>.ppm, and then automagically combine them into out.gif if you have ImageMagick installed.

About

A fractal generator in C (written for CodeDay Houston 2015)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published