Reduce default frame count to a sane number.
This commit is contained in:
parent
35889b5561
commit
55ddf3312d
@ -1,6 +1,8 @@
|
|||||||
# Natural Log Fractal
|
# Natural Log Fractal
|
||||||
|
|
||||||
Created by iterating `z' = ln(-z) / ln(z)`.
|
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.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
@ -10,7 +12,7 @@ make
|
|||||||
```
|
```
|
||||||
|
|
||||||
This will generate a series of frames zooming into the fractal (default is
|
This will generate a series of frames zooming into the fractal (default is
|
||||||
200), and link them together into a video. May take a while to run, depending
|
20), and link them together into a video. May take a while to run, depending
|
||||||
on your CPU.
|
on your CPU.
|
||||||
|
|
||||||
![h.png](h.png)
|
![h.png](h.png)
|
||||||
|
@ -2,7 +2,7 @@ use image::{ImageBuffer, Rgb};
|
|||||||
use rayon::prelude::*;
|
use rayon::prelude::*;
|
||||||
|
|
||||||
// Number of frames to generate.
|
// Number of frames to generate.
|
||||||
const FRAMES = 200;
|
const FRAMES = 20;
|
||||||
|
|
||||||
// Frame size.
|
// Frame size.
|
||||||
const IMGW: u32 = 1024;
|
const IMGW: u32 = 1024;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user