diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-08-28 11:54:17 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-08-28 11:54:17 +0200 |
| commit | ff61da6fb9720106d7869a0e5026810450d8f515 (patch) | |
| tree | fa12610ddaee05343a0e1dfc9a034d84d1b86337 /header.h | |
| parent | f7884d1aec1c803149a63d2811d767704d62ce77 (diff) | |
| download | mandelbrot_cpu-ff61da6fb9720106d7869a0e5026810450d8f515.tar.gz mandelbrot_cpu-ff61da6fb9720106d7869a0e5026810450d8f515.tar.bz2 mandelbrot_cpu-ff61da6fb9720106d7869a0e5026810450d8f515.zip | |
Color Palette, need shortcut
Added color palette instead of brighness level to display the set
boundaries.
Vim-like shortcut to move around.
Diffstat (limited to 'header.h')
| -rw-r--r-- | header.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -10,8 +10,12 @@ # define IMAG_LO -2.0 # define IMAG_HI 2.0 -# define MAX_ITERATION 30 -# define _INFINITY 4 +# define MAX_ITERATION 35 +# define ESCAPE_VALUE 2 + +/* typedef long double LDouble; */ + +typedef int Color; typedef struct { @@ -24,6 +28,7 @@ typedef struct double real_hi; double imag_lo; double imag_hi; + Color *palette; } GState; // mandelbrot.c |
