2024-11-21 22:26:00 -05:00
|
|
|
# Natural Log Fractal
|
|
|
|
|
2024-12-16 00:09:46 -05:00
|
|
|
Created by iterating `z' = ln(-z) / ln(z)`. I haven't seen this fractal
|
|
|
|
anywhere else, discovered it while messing around with some shader code.
|
|
|
|
Reproduced here to learn multithreading in Rust.
|
2024-11-21 22:26:51 -05:00
|
|
|
|
2024-12-16 00:07:18 -05:00
|
|
|
Usage:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://git.signorovitch.org/jacob/ln-fractal && cd ln-fractal
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
2024-12-16 00:17:31 -05:00
|
|
|
This will generate a series of frames zooming into the fractal (default is 50),
|
2024-12-16 00:12:53 -05:00
|
|
|
and link them together into a video. May take a while to run, depending on your
|
2024-12-16 00:17:31 -05:00
|
|
|
CPU (takes about 30s on an i9-12900K with 24 threads). The video is saved as
|
2025-01-06 21:32:14 -05:00
|
|
|
`output.gif`, and the frames can be viewed directly in `imgs/`.
|
2024-12-16 00:07:18 -05:00
|
|
|
|
2024-11-21 22:26:51 -05:00
|
|
|
![h.png](h.png)
|