noise 0.9.0

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, Constant, Cylinders, Displace, Perlin};

mod utils;

fn main() {
    let cboard = Checkerboard::default();
    let constant = Constant::new(0.0);
    let cylinders = Cylinders::new();
    let perlin = Perlin::default();
    let displace = Displace::new(cylinders, cboard, perlin, constant, constant);

    utils::write_example_to_file(&PlaneMapBuilder::new(displace).build(), "displace.png");
}