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