20 releases

0.8.2 Oct 26, 2022
0.7.0 Dec 17, 2020
0.6.0 Oct 1, 2019
0.5.1 Mar 24, 2018
0.0.4 Nov 21, 2014

#71 in Algorithms

Download history 3803/week @ 2023-02-13 4439/week @ 2023-02-20 4507/week @ 2023-02-27 4751/week @ 2023-03-06 4737/week @ 2023-03-13 3505/week @ 2023-03-20 3399/week @ 2023-03-27 3484/week @ 2023-04-03 3574/week @ 2023-04-10 3393/week @ 2023-04-17 3710/week @ 2023-04-24 3890/week @ 2023-05-01 2916/week @ 2023-05-08 2711/week @ 2023-05-15 3792/week @ 2023-05-22 4177/week @ 2023-05-29

13,974 downloads per month
Used in 79 crates (46 directly)


6.5K SLoC

Github Link CI Status Documentation Version MSRV


Procedural Noise Generation library for Rust
Explore the docs »

Report Bug · Request Feature

noise = "0.8"

About The Project

Noise-rs is a Rust library to generate smoothly varying noise for textural use and graphical display.

Noise generators are contained in NoiseFn modules, and can be combined to make very complex noise results.

Planetary Surface Example

planet surface image planet surface 4x planet surface 16x

Gradient Noise

Gradient noise produces a smooth, continuous value over space. It's achieved by dividing space into regions, placing a random gradient at each vertex, and then blending between those gradients.

Noise Functions

These are the actual noise functions, which just take a coordinate using get() and return a value. They can be chained together when declared, creating very complex noise results.

See the individual function pages for their descriptions, and the examples for their usage.


use noise::Fbm;
use noise::utils::{NoiseMapBuilder, PlaneMapBuilder};

fn main() {
  let fbm = Fbm::new();

          .set_size(1000, 1000)
          .set_x_bounds(-5.0, 5.0)
          .set_y_bounds(-5.0, 5.0)

FBM Noise

For more examples, refer to the Examples


See the open issues for a list of proposed features (and known issues).


Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as below, without any additional terms or conditions.


Licensed under either of

at your option.


Project Link: https://github.com/razaekel/noise-rs