Package-level declarations
Types
Properties
Cell3D
represents a predefined 3-dimensional grid or lattice of points in space, where each point is represented as a Vector3
object containing three coordinates (x, y, z). These coordinates are used for various computational purposes such as procedural generation, cell-based simulations, or spatial analysis.
Functions
Generates a Billow noise value, which is a type of fractal noise that emphasizes the absolute value of noise layers.
Generates a 2D Billow noise value, which is a type of fractal noise that emphasizes the absolute value of noise layers.
Generates a 3D Billow noise value, which is a type of fractal noise that emphasizes the absolute value of noise layers.
Generates a 4D Billow noise value, which is a type of fractal noise that emphasizes the absolute value of noise layers.
Generates a fractal noise pattern using the Billow algorithm.
Generates a 4D billow noise value, which is a type of fractal noise that emphasizes the absolute value of noise layers.
Computes the value of a cubic interpolation given control points and a parameter t.
Computes the fractional Brownian motion (FBM) value for a given input using a specified noise function.
Computes a fractal Brownian motion (FBM) value for a given 2D position using the provided noise function.
Computes fractal Brownian motion (fBm) at a specific 3D position using a given noise function.
Generates a fractal Brownian motion (fbm) value based on the provided noise function.
Generates fractional Brownian motion (fBm) using a base noise function. fBm is a technique to produce fractal-like procedural textures or terrains.
Computes fractional Brownian motion (fBm) for a given seed, coordinates, and noise function.
Computes fractal Brownian motion (fBm) using the given noise function.
Generates a random number following a Gaussian (normal) distribution.
Generates a random 2D vector with components sampled from independent Gaussian (normal) distributions.
Generates a random Vector3 following a Gaussian (normal) distribution.
Generates a random Vector4
where each component is sampled independently from a Gaussian (normal) distribution.
Calculates a perturbed position based on gradient noise.
Perturbs a position vector in 3D space by applying a gradient noise algorithm.
Applies fractal gradient perturbation to the given position vector using the specified parameters. This method introduces multiple layers of noise to create a fractal effect by perturbing the position iteratively based on the number of octaves, frequency, and amplitude adjustments.
Applies fractal gradient perturbation to a 3D position vector.
Generates a list of hashed points based on the shape's triangulation.
Generates a 2D hash-based vector using specified seed, input value, and range bounds.
Generates a hash-based 2D vector based on the provided seed, input value, and range constraints.
Returns a list of pairs in which the first component is a radius and the second component a list of Vector2 positions of items with that radius.
Creates a random point distribution on a given area Each point gets n tries at generating the next point By default the points are generated along the circumference of r + epsilon to the point They can also be generated on a ring like in the original algorithm from Robert Bridson
Generates a rigid noise value using fractional Brownian motion (fBm) by combining multiple layers of noise.
Computes a value based on a rigid multi-fractal noise function using a 2D position.
Computes a multi-octave rigid noise value for a given position.
Generates a 4D rigid multi-octave noise value based on the provided parameters and noise function.
Computes a value based on a rigid multi-fractal noise function.
Generates a rigid multi-fractal noise value based on the given parameters.
Returns a list of 2D points contained in the ShapeProvider. The algorithm iterates a maximum of tries times trying to find points that maintain the separation to each other specified via placementRadius while keeping a distanceToEdge distance to the contour of the shape.
Computes the 4D Simplex noise value at the given position and seed.
Computes a 2D simplex noise value for given coordinates and seed.
Computes a 3D simplex noise value for the given coordinates and seed.
Generates a 4D Simplex noise value based on the given coordinates and seed.
Generates a 2D simplex noise vector based on the given seed and input position.
Generates a 3D vector using simplex noise based on the given seed and x-coordinate.
Generates a 4D vector using Simplex noise based on the given seed and 1D input. Each component of the vector is generated by shifting the input x-coordinate for different noise values.
Generates a random 2D vector uniformly distributed within the specified rectangular bounds.
Generates a list of uniformly distributed points within the shape provided by the ShapeProvider.
Generates a random double value within the specified range min, max.
Generates a uniformly distributed random integer within the specified range.
Generates a uniform random IntVector2
within the specified range.
Generates a random IntVector2
with each component within the specified ranges.
Generates a random 2D vector with components uniformly distributed within the specified range.
Generates a random 2D vector with each component uniformly distributed within the specified ranges.
Generates a random vector with each component uniformly distributed between the specified minimum and maximum bounds.
Generates a random vector with components uniformly distributed between the specified minimum and maximum bounds.
Generates a random 4-dimensional vector with each component sampled uniformly from a specified range between min and max.
Generates a random 4-dimensional vector where each component is uniformly distributed within the provided range.
Generates a random 2D vector uniformly distributed within a ring defined by the inner and outer radii.
Generates a random 3D vector within a uniform ring defined by the provided inner and outer radii. The ring resides in a 3D space, and vectors are uniformly distributed within the specified range.
Generates a uniformly distributed random 4D vector within a ring-shaped area defined by an inner and outer radius.
Generates a list of uniformly distributed random points within a specified rectangular area.
Generates a list of random double values within the specified range.
Generates a list of Vector2
instances, each initialized with random values within the specified range.
Generates a list of uniformly distributed random Vector3
instances.
Generates an infinite sequence of random Vector2
points uniformly distributed within the specified rectangle.
Generates a list of 2D vectors uniformly distributed within a ring defined by the inner and outer radii.
Generates a list of uniformly distributed random vectors within a ring defined by inner and outer radii.