pub struct Simplex;
Expand description
2/3/4 dimensional Simplex noise.
Trait Implementations§
Source§impl Noise for Simplex
impl Noise for Simplex
Source§fn seed(self, seed: i32) -> Seeded<Self>where
Self: Sized,
fn seed(self, seed: i32) -> Seeded<Self>where
Self: Sized,
Sets a seed to be sampled with. Read more
Source§fn frequency(self, frequency: f32) -> Frequency<Self>where
Self: Sized,
fn frequency(self, frequency: f32) -> Frequency<Self>where
Self: Sized,
Modifies a noise with a frequency multiplier. Read more
Source§fn ridged(self) -> Ridged<Self>where
Self: Sized,
fn ridged(self) -> Ridged<Self>where
Self: Sized,
Modifies a noise to create a peak at 0. Read more
Source§fn triangle_wave(self, frequency: f32) -> TriangleWave<Self>where
Self: Sized,
fn triangle_wave(self, frequency: f32) -> TriangleWave<Self>where
Self: Sized,
Applies a triangle wave to the output of a base noise function. Read more
Source§impl SampleWithSeed<2> for Simplex
impl SampleWithSeed<2> for Simplex
Source§impl SampleWithSeed<2, Simd<f32, 2>> for Simplex
Available on crate feature nightly-simd
only.
impl SampleWithSeed<2, Simd<f32, 2>> for Simplex
Available on crate feature
nightly-simd
only.Source§impl SampleWithSeed<3> for Simplex
impl SampleWithSeed<3> for Simplex
Source§impl SampleWithSeed<3, Simd<f32, 4>> for Simplex
Available on crate feature nightly-simd
only.
impl SampleWithSeed<3, Simd<f32, 4>> for Simplex
Available on crate feature
nightly-simd
only.Source§impl SampleWithSeed<4> for Simplex
impl SampleWithSeed<4> for Simplex
Source§impl SampleWithSeed<4, Simd<f32, 4>> for Simplex
Available on crate feature nightly-simd
only.
impl SampleWithSeed<4, Simd<f32, 4>> for Simplex
Available on crate feature
nightly-simd
only.impl Copy for Simplex
impl Eq for Simplex
impl StructuralPartialEq for Simplex
Auto Trait Implementations§
impl Freeze for Simplex
impl RefUnwindSafe for Simplex
impl Send for Simplex
impl Sync for Simplex
impl Unpin for Simplex
impl UnwindSafe for Simplex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more