aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/fractals.h
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-04-20 02:43:17 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-04-20 02:43:17 -0400
commit5cba5bc63de403c779fd4fa762216280d4396444 (patch)
treef1c2da748ab8f5bd88b40d09cd617838257dfb23 /src/fractals.h
parent74c1057a1cea4ec5fc3a8f338b24af553cc83399 (diff)
reorganized src files
Diffstat (limited to 'src/fractals.h')
-rw-r--r--src/fractals.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fractals.h b/src/fractals.h
new file mode 100644
index 0000000..60d9013
--- /dev/null
+++ b/src/fractals.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <complex.h>
+#include <stddef.h>
+#include <stdint.h>
+
+size_t mandelbrot(const double complex z0, const size_t max_iterations);
+size_t multibrot(const double complex z0, const size_t max_iterations, const uintmax_t d);
+size_t julia(const double R, const double complex z0, const double complex c, const size_t max_iterations);