blob: 0cae1d4202b5152335ddddb07c9b80b02f7477e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Mandelbrot set visualizer
A visualizer for the [Mandelbrot Set](https://en.wikipedia.org/wiki/Mandelbrot_set).
## Dependencies
- [SDL2](https://www.libsdl.org/) for the graphics
## Install
SDL2: `sudo apt install libsdl2-dev`
## Usage
1. compile: `make all`
2. run: `./mandel`
## TODO
- [ ] Color gradient with control points and cubic iterpolation
like <https://stackoverflow.com/a/25816111>
- [ ] Smooth shading for out of set iteration colors.
- [ ] Draw to bmp image.
- [x] Create pixel array and update the render line by line.
- [ ] Display coordinates and other useful info.
- [x] Computation done in parallel.
- [x] Command line options
- [x] Anti-aliasing with supersampling
- [ ] Other (not random?) supersampling algorithm
|