josecelano / mandelbrot-orbits-rust

Plotting Mandelbrot Set periods using Rust language.
MIT License
1 stars 0 forks source link

Use RBG colors #16

Open josecelano opened 2 years ago

josecelano commented 2 years ago

We are using ColorType::L8. We could use RBG to apply other colours, but that would increase the size needed in memory to 3 bytes. And that would lower the maximum image size you can render with your computer because the full image is in memory before writing it into a file. In case you want a bigger image, you could always split it into parts.