1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
//! A procedural noise generation library for Rust.
//!
//! # Example
//!
//! ```rust
//! use noise::{NoiseFn, Perlin, Seedable};
//!
//! let perlin = Perlin::new(1);
//! let val = perlin.get([42.4, 37.7, 2.8]);
//! ```
#![cfg_attr(not(feature = "std"), no_std)]
#![deny(missing_copy_implementations)]
#[macro_use]
extern crate alloc;
pub use crate::noise_fns::*;
pub mod core;
mod gradient;
mod math;
mod noise_fns;
pub mod permutationtable;
pub mod utils;