some new things, mostly not working or finished

This commit is contained in:
2025-11-08 18:16:10 +01:00
parent 5792bfbd9a
commit 795fb42900
30 changed files with 4789 additions and 1 deletions

12
math/mandelbrot.h Normal file
View File

@@ -0,0 +1,12 @@
#ifndef MANDELBROT_H
#define MANDELBROT_H
#include "complex.h"
typedef struct { unsigned char r, g, b; } Color;
int mandelbrot(Complex z0, int max_iter);
Color grey_mandelbrot(Complex z0, int max_iter); // optional, for backward compatibility
Color color_mandelbrot(Complex z0, int max_iter);
#endif