#include "image.hpp" #include "noise.hpp" #include "lerp.hpp" int main (void) { util::image::buffer img (1920, 1080); //static constexpr auto lerp_t = lerp::cubic; //using basis_t = util::noise::gradient; //using noise_t = util::noise::fbm; using noise_t = util::noise::fbm>; util::noise::fill (img, noise_t {}); auto grey = img.clone (); util::pgm::write (grey, "noise.ppm"); }