aboutsummaryrefslogtreecommitdiff
path: root/inc/config.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-20 16:53:25 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-20 16:53:25 +0200
commit322c1a49f59d3fc6441804bbbb29da22567e4bcb (patch)
tree1806d82a7f5cecdf4c256da86454ddf2530305cd /inc/config.h
parent5d6b59778a7346317ddfc549c350c0960a7a54a7 (diff)
downloadmandelbrot-322c1a49f59d3fc6441804bbbb29da22567e4bcb.tar.gz
mandelbrot-322c1a49f59d3fc6441804bbbb29da22567e4bcb.tar.bz2
mandelbrot-322c1a49f59d3fc6441804bbbb29da22567e4bcb.zip
Correct resize, linear iterpolation draft
Diffstat (limited to 'inc/config.h')
-rw-r--r--inc/config.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/inc/config.h b/inc/config.h
index c336c51..680d893 100644
--- a/inc/config.h
+++ b/inc/config.h
@@ -1,9 +1,20 @@
#ifndef CONFIG_H
# define CONFIG_H
-# define MANDEL_WINDOW_WIDTH 640
-# define MANDEL_WINDOW_HEIGHT 480
+# include "mandel.h"
+
+# define MANDEL_WINDOW_WIDTH 400
+# define MANDEL_WINDOW_HEIGHT 400
# define MANDEL_WINDOW_TITLE "Mandelbrot"
# define MANDEL_ITERATIONS 50
+static ControlPoint g_theme[] = {
+ {0.0, {0x00, 0x0F, 0x64} },
+ {0.16, {0x20, 0x6B, 0xCB} },
+ {0.42, {0xED, 0xFF, 0xFF} },
+ {0.6425, {0xFF, 0xAA, 0x00} },
+ {1.0, {0x00, 0x02, 0x00} },
+ // {0.8575, {0x00, 0x02, 0x00} },
+};
+
#endif