Skip to main contentCrate nlmrs
Source pub use grid::Grid;pub use operation::abs;pub use operation::add;pub use operation::add_value;pub use operation::classify;pub use operation::invert;pub use operation::max;pub use operation::min;pub use operation::min_and_max;pub use operation::multiply;pub use operation::multiply_value;pub use operation::scale;pub use operation::threshold;
- export
- gradient
- grid
- hill_grow
- noise
- operation
- patch
- anisotropic_noise
- Returns an anisotropic fBm NLM with values ranging [0, 1).
- billow_noise
- Returns a billow NLM with values ranging [0, 1).
- binary_space_partitioning
- Returns a binary space partitioning (BSP) NLM with values in [0, 1).
- blue_noise
- Returns a spectral blue noise NLM with values ranging [0, 1).
- brownian_motion
- Returns a Brownian motion (Gaussian random walk) density NLM with values ranging [0, 1).
- cahn_hilliard
- Returns a Cahn-Hilliard phase-separation NLM with values ranging [0, 1).
- cellular_automaton
- Returns a cellular automaton NLM with binary values {0.0, 1.0}.
- checkerboard
- Returns a checkerboard NLM with binary values {0.0, 1.0}.
- concentric_rings
- Returns a concentric rings NLM with values ranging [0, 1).
- correlated_walk
- Returns a correlated random walk density NLM with values ranging [0, 1).
- crystal_growth
- Returns a crystal growth NLM with values ranging [0, 1).
- curl_noise
- Returns a curl noise NLM with values ranging [0, 1).
- diffusion_limited_aggregation
- Returns a diffusion-limited aggregation (DLA) NLM with binary values {0.0, 1.0}.
- distance_gradient
- Returns a distance gradient NLM with values ranging [0, 1).
- domain_warp
- Returns a domain-warped Perlin noise NLM with values ranging [0, 1).
- eden_growth
- Returns an Eden growth model NLM. Binary values {0.0, 1.0}.
- edge_gradient
- Returns an edge gradient NLM with values ranging [0, 1).
- excitable_media
- Returns an excitable-media NLM with values in [0, 1).
- fault_uplift
- Returns a fault uplift terrain NLM with values ranging [0, 1).
- fbm_noise
- Returns a fractal Brownian motion (fBm) NLM with values ranging [0, 1).
- forest_fire
- Returns a forest fire NLM with values ranging [0, 1).
- fractal_brownian_surface
- Returns a fractal Brownian surface NLM parameterised by the Hurst exponent. Values in [0, 1).
- gabor_noise
- Returns a Gabor noise NLM with values ranging [0, 1).
- game_of_life
- Returns a Conway’s Game of Life activity-density NLM with values ranging [0, 1).
- gaussian_blobs
- Returns a Gaussian blobs NLM with values in [0, 1).
- gaussian_field
- Returns a spatially correlated Gaussian random field NLM with values in [0, 1).
- hexagonal_voronoi
- Returns a hexagonal Voronoi NLM with values ranging in (0, 1].
- hill_grow
- Returns a hill-grow NLM with values ranging [0, 1).
- hybrid_noise
- Returns a hybrid multifractal NLM with values ranging [0, 1).
- hydraulic_erosion
- Returns a hydraulic erosion NLM with values ranging [0, 1).
- invasion_percolation
- Returns an invasion percolation NLM. Binary values {0.0, 1.0}.
- ising_model
- Returns an Ising model NLM. Binary values {0.0, 1.0}.
- landscape_gradient
- Returns an elliptical landscape gradient centred at the grid midpoint. Values in [0, 1).
- levy_flight
- Returns a Levy flight NLM with values ranging [0, 1).
- lognormal_field
- Returns a lognormal random field NLM with values ranging [0, 1).
- midpoint_displacement
- Returns a midpoint displacement NLM with values ranging [0, 1).
- mosaic
- Returns a mosaic (discrete Voronoi) NLM with values ranging [0, 1).
- multifractal_terrain
- Returns a heterogeneous multifractal terrain NLM with values ranging [0, 1).
- neighbourhood_clustering
- Returns a neighbourhood clustering NLM with values ranging [0, 1).
- percolation
- Returns a binary percolation NLM with values in {0.0, 1.0}.
- perlin_noise
- Returns a Perlin noise NLM with values ranging [0, 1).
- perlin_worley
- Returns a Perlin-Worley noise NLM with values ranging [0, 1).
- physarum
- Returns a Physarum (slime mould) network NLM with values ranging [0, 1).
- planar_gradient
- Returns a planar gradient NLM with values ranging [0, 1).
- poisson_disk
- Returns a Poisson disk sampling NLM. Binary values {0.0, 1.0}.
- predator_prey
- Returns a predator-prey (Lotka-Volterra) NLM with values ranging [0, 1).
- radial_sweep
- Returns a radial sweep NLM with values ranging [0, 1).
- random
- Returns a spatially random NLM with values ranging [0, 1).
- random_cluster
- Returns a random cluster NLM with values ranging [0, 1).
- random_element
- Returns a random element nearest-neighbour NLM with values ranging [0, 1).
- reaction_diffusion
- Returns a Gray-Scott reaction-diffusion NLM. Values in [0, 1).
- rectangular_cluster
- Returns a rectangular cluster NLM with values ranging [0, 1).
- ridged_noise
- Returns a ridged multifractal NLM with values ranging [0, 1).
- river_network
- Returns a river network NLM with values ranging [0, 1).
- rock_paper_scissors
- Returns a cyclic-dominance (rock-paper-scissors) NLM with values in [0, 1).
- sandpile
- Returns a Bak-Tang-Wiesenfeld sandpile NLM with values ranging [0, 1).
- schelling
- Returns a Schelling segregation NLM with values in {0.0, 0.5, 1.0}.
- simplex_noise
- Returns an OpenSimplex noise NLM with values ranging [0, 1).
- sine_composite
- Returns a sine composite NLM with values ranging [0, 1).
- sir_epidemic
- Returns a spatial SIR epidemic NLM with values ranging [0, 1).
- space_colonization
- Returns a space colonisation vascular network NLM with values ranging [0, 1).
- spectral_synthesis
- Returns a spectral synthesis NLM with values ranging [0, 1).
- spiral_gradient
- Returns a spiral gradient NLM with values ranging [0, 1).
- spot_noise
- Returns a spot noise NLM with values ranging [0, 1).
- substrate
- Returns a crack-propagation substrate NLM with values ranging [0, 1).
- thermal_erosion
- Returns a thermally eroded heightmap NLM with values ranging [0, 1).
- tiled_noise
- Returns a seamlessly tileable Perlin noise NLM with values ranging [0, 1).
- triangular_tessellation
- Returns a triangular tessellation NLM with values ranging [0, 1).
- truchet
- Returns a Truchet-tile NLM with values in [0, 1).
- turbulence
- Returns a turbulence NLM with values ranging [0, 1).
- value_noise
- Returns a value noise NLM with values ranging [0, 1).
- voronoi_crease
- Returns a Voronoi crease NLM with values ranging [0, 1).
- voronoi_distance
- Returns a Voronoi distance NLM with values ranging [0, 1).
- wave_gradient
- Returns a wave gradient NLM with values ranging [0, 1).
- worley_noise
- Returns a Worley (cellular) noise NLM with values ranging [0, 1).