noilib-simple 0.5.1

A simple noise library
Documentation
  • Coverage
  • 0%
    0 out of 7 items documented0 out of 6 items with examples
  • Size
  • Source code size: 37.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.26 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • engusmaze/noilib-simple-rs
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • engusmaze

Noilib simple

This is just a simple implementation of perlin noise and value noise made in rust.

A simple example
use noilib_simple::NoiseGenerator;

fn main() {
    let seed = 123;
    let noise = NoiseGenerator::new(seed); // Initializing noise generator

    let x = 1.0;
    let y = 5.5;
    println!("{}", noise.perlin(x, y)); // Print the noise value at x and y coordinates
}

Some examples of noises this library is able to produce

Perlin noise

Perlin noise

Value noise

Value noise

Perlin noise with 4 octaves

Perlin noise with 4 octaves

Value noise with 4 octaves

Value noise with 4 octaves