(index ("simplex-noise-2d" 0) ("simplex-noise-3d" 829) ("simplex-noise-4d" 1658) ("cell-noise-2d" 2486) ("cell-noise-3d" 3280) ("flow-nosie-2d" 4074) ("simplex-noise-2d-source" 4623) ("simplex-noise-3d-source" 4623) ("simplex-noise-4d-source" 4623) ("cell-noise-2d-source" 4623) ("cell-noise-3d-source" 4623) ("flow-noise-2d-source" 4623))
(def (sig (constant " simplex-noise-2d" (id simplex-noise-2d))) (p (b "Exports")) (pre "   (snoise (POSITION #:vec2)) -> #:float") (p "Given a 2D position, return the simplex noise value at that point.") (pre "   (fractal-snoise (POSITION #:vec2) (OCTAVES #:int) (FREQUENCY #:float) \n                   (AMPLITUDE #:float) (PERSISTENCE #:float) (LACUNARITY #:float) \n        -> #:float") (p "Given a 2D position, return the fractal simplex noise value at that point. " (tt "OCTAVES") " is the number of octaves of noise to sample, " (tt "FREQUENCY") " is the frequency of the first octave, " (tt "AMPLITUDE") " is the amplitude of the first octave, " (tt "PERSISTENCE") " is the amount by which the frequency is scaled over each octave, " (tt "LACUNARITY") " is the amount by which the amplitude is scaled over each octave."))
(def (sig (constant " simplex-noise-3d" (id simplex-noise-3d))) (p (b "Exports")) (pre "   (snoise (POSITION #:vec3)) -> #:float") (p "Given a 3D position, return the simplex noise value at that point.") (pre "   (fractal-snoise (POSITION #:vec3) (OCTAVES #:int) (FREQUENCY #:float) \n                    (AMPLITUDE #:float) (PERSISTENCE #:float) (LACUNARITY #:float) \n        -> #:float") (p "Given a 3D position, return the fractal simplex noise value at that point. " (tt "OCTAVES") " is the number of octaves of noise to sample, " (tt "FREQUENCY") " is the frequency of the first octave, " (tt "AMPLITUDE") " is the amplitude of the first octave, " (tt "PERSISTENCE") " is the amount by which the frequency is scaled over each octave, " (tt "LACUNARITY") " is the amount by which the amplitude is scaled over each octave"))
(def (sig (constant " simplex-noise-4d" (id simplex-noise-4d))) (p (b "Exports")) (pre "   (snoise (POSITION #:vec4)) -> #:float") (p "Given a 4D position, return the simplex noise value at that point.") (pre "   (fractal-snoise (POSITION #:vec4) (OCTAVES #:int) (FREQUENCY #:float) \n                   (AMPLITUDE #:float) (PERSISTENCE #:float) (LACUNARITY #:float) \n        -> #:float") (p "Given a 4D position, return the fractal simplex noise value at that point. " (tt "OCTAVES") " is the number of octaves of noise to sample, " (tt "FREQUENCY") " is the frequency of the first octave, " (tt "AMPLITUDE") " is the amplitude of the first octave, " (tt "PERSISTENCE") " is the amount by which the frequency is scaled over each octave, " (tt "LACUNARITY") " is the amount by which the amplitude is scaled over each octave"))
(def (sig (constant " cell-noise-2d" (id cell-noise-2d))) (p (b "Exports")) (pre "   jitter -> #:float") (p "A variable that sets the amount of possible “jitter” for each feature point. Should be a value between 0.0 and 1.0, with 0.0 creating a regular grid of points and 1.0 creating the greatest randomness. If there are problems with discontinuities, decrease the jitter. Defaults to 0.9.") (pre "   (cell-noise (POSITION #:vec2)) -> #:float") (p "Given a 2D position, return the distance to the nearest feature point. This is fast, but lower-quality than " (tt "cell-noise2")) (pre "   (cell-noise2 (POSITION #:vec2)) -> #:vec2") (p "Given a 2D position, return the a vector containing the distance to the nearest feature point and second nearest feature point (" (tt "(F1 F2)") ")."))
(def (sig (constant " cell-noise-3d" (id cell-noise-3d))) (p (b "Exports")) (pre "   jitter -> #:float") (p "A variable that sets the amount of possible “jitter” for each feature point. Should be a value between 0.0 and 1.0, with 0.0 creating a regular grid of points and 1.0 creating the greatest randomness. If there are problems with discontinuities, decrease the jitter. Defaults to 0.9.") (pre "   (cell-noise (POSITION #:vec3)) -> #:float") (p "Given a 3D position, return the distance to the nearest feature point. This is fast, but lower-quality than " (tt "cell-noise2")) (pre "   (cell-noise2 (POSITION #:vec3)) -> #:vec2") (p "Given a 3D position, return the a vector containing the distance to the nearest feature point and second nearest feature point (" (tt "(F1 F2)") ")."))
(def (sig (constant " flow-nosie-2d" (id flow-nosie-2d))) (p (b "Exports")) (pre "   isotropic -> #:bool") (p "A variable that controls whether the noise created is faster but less isotropic (set to " (tt "#f") ") or slower but more isotropic (set to " (tt "#t") "). Defaults to " (tt "#f") ".") (pre "   (flow-noise (POSITION (in #:vec2)) (ROTATION (in #:float)) (GRADIENT (out #:vec2))\n     -> #:float") (p "Given a 2D position and rotation, returns the value of the flow-noise at that point as well as the gradient (via " (tt "GRADIENT") ")."))
(def (sig (string " simplex-noise-2d-source" (id simplex-noise-2d-source)) (string " simplex-noise-3d-source" (id simplex-noise-3d-source)) (string " simplex-noise-4d-source" (id simplex-noise-4d-source)) (string " cell-noise-2d-source" (id cell-noise-2d-source)) (string " cell-noise-3d-source" (id cell-noise-3d-source)) (string " flow-noise-2d-source" (id flow-noise-2d-source))) (p "The source for each shader is provided in these strings, in the case that the user does not want to directly use glls."))
