2023-03-11 08:15:10 +01:00
|
|
|
# Fractol
|
2023-03-11 04:53:15 +01:00
|
|
|
Fractol is a Fractal zoomer using the mlx library
|
|
|
|
|
|
|
|
---
|
|
|
|
## Improvements
|
|
|
|
### Features
|
2023-03-11 04:56:53 +01:00
|
|
|
auto zoom to current center.\
|
|
|
|
Seperate Calculation from drawing so that color flowing can be controlled without recalculating\
|
|
|
|
calulate and display fractal dimension?, count edge pixels at standard zoom?\
|
|
|
|
option to display numbers of the numberplane?, if so how to shrink with zoom?\
|
|
|
|
add an option to blend colors in a gradient\
|
2023-03-11 04:57:29 +01:00
|
|
|
vector graphic fractols based on lines if possible?
|
2023-03-11 04:53:15 +01:00
|
|
|
### Faster Rendering
|
2023-03-11 04:56:53 +01:00
|
|
|
multithreading, give every Y line to the next thread.\
|
|
|
|
If both numbers get very close to zero it is definitely in the mandelbrot (mess up precision?)\
|
|
|
|
Check if the last number is very close to the current number every 10 iterations, if so break, it is in the mandelbrot (mess up precision?)\
|
|
|
|
Use Symmetric properties to draw the first line and last line at the same time (only helpful with very low zoom values else it only adds conditions.)\
|
|
|
|
Somehow stop calculating if a new calculation is next in line\
|
2023-03-11 04:57:29 +01:00
|
|
|
Edge Detection?
|
2023-03-11 04:53:15 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
## Bugs
|
2023-03-11 04:55:43 +01:00
|
|
|
**fractal getting out of aspect when wildly zooming in and out**\
|
2023-03-11 04:53:15 +01:00
|
|
|
**CY and CX value wrong when the doubles are negative**
|
|
|
|
|
|
|
|
---
|
|
|
|
## Usage
|
|
|
|
1. Simply clone or download the repository
|
|
|
|
2. Run `make` in the cloned directory
|
|
|
|
3. Start the server with `./fract-ol [FRACTAL] [ITERATIONS] [COLORSCHEME]`
|
|
|
|
|
|
|
|
---
|
|
|
|
[This project is part of the studies at 42](https://42.fr/en/homepage/)
|