chickadee » noise » flow-nosie-2d

flow-nosie-2dconstant

Exports

   isotropic -> #:bool

A variable that controls whether the noise created is faster but less isotropic (set to #f) or slower but more isotropic (set to #t). Defaults to #f.

   (flow-noise (POSITION (in #:vec2)) (ROTATION (in #:float)) (GRADIENT (out #:vec2))
     -> #:float

Given a 2D position and rotation, returns the value of the flow-noise at that point as well as the gradient (via GRADIENT).