noise 0.8.1

Procedural noise generation library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate noise;

use noise::{utils::*, Checkerboard, ScalePoint};

fn main() {
    let cboard = Checkerboard::default();
    let scale_point = ScalePoint::new(cboard).set_all_scales(1.0, 2.0, 3.0, 1.0);

    PlaneMapBuilder::<_, 2>::new(scale_point)
        .set_size(500, 500)
        .set_x_bounds(-5.0, 5.0)
        .set_y_bounds(-5.0, 5.0)
        .build()
        .write_to_file("scale_point.png");
}