aboutsummaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-25 17:41:43 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-25 17:42:43 +0100
commitbf02e60b7b38e257b930a7188e42ade25920f71f (patch)
tree4bf965e77470a76d186a1d8af0f43ad464397d31 /src/state.c
parenta5795a2b1fae5ce8f1ac1157893bc8e3b4f5071f (diff)
downloadfractol-bf02e60b7b38e257b930a7188e42ade25920f71f.tar.gz
fractol-bf02e60b7b38e257b930a7188e42ade25920f71f.tar.bz2
fractol-bf02e60b7b38e257b930a7188e42ade25920f71f.zip
Added screenshots
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state.c b/src/state.c
index f079b6c..ae9f107 100644
--- a/src/state.c
+++ b/src/state.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/24 09:58:01 by cacharle #+# #+# */
-/* Updated: 2020/02/25 15:57:01 by cacharle ### ########.fr */
+/* Updated: 2020/02/25 17:31:49 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -31,7 +31,7 @@ void state_update_palette(t_state *state)
hsl.l = 127;
state->palette[i] = color_hsl_to_rgb(hsl);
}
- state->palette[i].hexcode = 0x0;
+ state->palette[i].hexcode = 0x111111;
}
static int st_state_dispatch_func(t_state *state, char *fractal_name)
@@ -75,7 +75,7 @@ int state_init(t_state *state, char *fractal_name)
state->center.i = 0.0;
state->plane.r = 4.0;
state->plane.i = 4.0;
- state->iterations = 30;
+ state->iterations = 50;
state->palette = NULL;
state_update_palette(state);
state->updated = false;