pub struct OpenSimplex2s;
Expand description
2/3 dimensional OpenSimplex2s noise. Smooth variant.
When sampling in 3 Dimensions you can improve the visual isotropy in a the respective planes via improve_xy
or improve_xz
.
Trait Implementations§
Source§impl Clone for OpenSimplex2s
impl Clone for OpenSimplex2s
Source§fn clone(&self) -> OpenSimplex2s
fn clone(&self) -> OpenSimplex2s
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OpenSimplex2s
impl Debug for OpenSimplex2s
Source§impl Noise for OpenSimplex2s
impl Noise for OpenSimplex2s
fn seed(self, seed: i32) -> Seeded<Self>where
Self: Sized,
fn frequency(self, frequency: f32) -> Frequency<Self>where
Self: Sized,
fn fbm(self, octaves: u32, gain: f32, lacunarity: f32) -> Fbm<Self>where
Self: Sized,
fn ridged(self) -> Ridged<Self>where
Self: Sized,
fn triangle_wave(self, frequency: f32) -> TriangleWave<Self>where
Self: Sized,
fn tileable(self, width: f32, height: f32) -> Tileable<Self>where
Self: Sized,
fn mul_seed(self, value: i32) -> MulSeed<Self>where
Self: Sized,
Source§impl OpenSimplexNoise for OpenSimplex2s
impl OpenSimplexNoise for OpenSimplex2s
Source§fn improve_xy(self) -> ImproveXy<Self>where
Self: Sized,
fn improve_xy(self) -> ImproveXy<Self>where
Self: Sized,
Improves 3D orientation for the
XY
plane.Source§fn improve_xz(self) -> ImproveXz<Self>where
Self: Sized,
fn improve_xz(self) -> ImproveXz<Self>where
Self: Sized,
Improves 3D orientation for the
XZ
plane.Source§impl PartialEq for OpenSimplex2s
impl PartialEq for OpenSimplex2s
Source§impl SampleWithSeed<2> for OpenSimplex2s
impl SampleWithSeed<2> for OpenSimplex2s
Source§impl SampleWithSeed<2, Simd<f32, 2>> for OpenSimplex2s
Available on crate feature nightly-simd
only.
impl SampleWithSeed<2, Simd<f32, 2>> for OpenSimplex2s
Available on crate feature
nightly-simd
only.Source§impl SampleWithSeed<3> for OpenSimplex2s
impl SampleWithSeed<3> for OpenSimplex2s
Source§impl SampleWithSeed<3, Simd<f32, 4>> for OpenSimplex2s
Available on crate feature nightly-simd
only.
impl SampleWithSeed<3, Simd<f32, 4>> for OpenSimplex2s
Available on crate feature
nightly-simd
only.impl Copy for OpenSimplex2s
impl Eq for OpenSimplex2s
impl StructuralPartialEq for OpenSimplex2s
Auto Trait Implementations§
impl Freeze for OpenSimplex2s
impl RefUnwindSafe for OpenSimplex2s
impl Send for OpenSimplex2s
impl Sync for OpenSimplex2s
impl Unpin for OpenSimplex2s
impl UnwindSafe for OpenSimplex2s
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