some new things, mostly not working or finished
This commit is contained in:
12
math/mandelbrot.h
Normal file
12
math/mandelbrot.h
Normal 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
|
||||
Reference in New Issue
Block a user