Struct anl::ImplicitBasisFunction [] [src]

pub struct ImplicitBasisFunction { /* fields omitted */ }

The BasisFunction function encapsulates basic noise generators. The function is customizable; you can choose what type of noise to generate and what interpolation style to use. The types of basis and interpolation functions are enumerated as enum.BasisType.html and enum.InterpType.html respectively.

In order to mitigate the occurrence of grid-aligned artifacts, especially in fractal functions, basis functions incorporate a 2D axial rotation (for 2D variants) and a 3D axial rotation (for 3D and above variants) that are seeded to randomized axis/angles when the function is constructed. These randomized rotations alter the alignment of the function with the lattice boundaries, and serve in most cases to help obscure the grid artifacts.

BasisFunction serves as the primary signal generator for ANL.

Methods

impl ImplicitBasisFunction
[src]

Trait Implementations

impl Default for ImplicitBasisFunction
[src]

Returns the "default value" for a type. Read more

impl ImplicitModule for ImplicitBasisFunction
[src]