Reduce default frame count to a sane number.

This commit is contained in:
Jacob Signorovitch 2024-12-16 00:09:46 -05:00
parent 35889b5561
commit 55ddf3312d
2 changed files with 5 additions and 3 deletions

View File

@ -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)

View File

@ -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;