The cricket Reference Manual

This is the cricket Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 04:54:27 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 cricket

A library for generating and manipulating coherent noise

Author

Michael Fiano <>

Home Page

https://git.mfiano.net/mfiano/cricket

License

MIT

Version

0.1.0

Dependencies
  • arrow-macros (system).
  • cl-cpus (system).
  • lparallel (system).
  • seedable-rng (system).
  • mfiano-utils (system).
  • uiop (system).
  • zpng (system).
Source

cricket.asd.

Child Components

3 Modules

Modules are listed depth-first from the system components tree.


3.2 cricket/modifiers

Dependency

generators (module).

Source

cricket.asd.

Parent Component

cricket (system).

Child Components

3.3 cricket/map

Dependency

modifiers (module).

Source

cricket.asd.

Parent Component

cricket (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 cricket/cricket.asd

Source

cricket.asd.

Parent Component

cricket (system).

ASDF Systems

cricket.


4.1.2 cricket/package.lisp

Source

cricket.asd.

Parent Component

cricket (system).

Packages

4.1.3 cricket/conditions.lisp

Dependency

package.lisp (file).

Source

cricket.asd.

Parent Component

cricket (system).

Public Interface
Internals

4.1.4 cricket/common.lisp

Dependency

conditions.lisp (file).

Source

cricket.asd.

Parent Component

cricket (system).

Public Interface
Internals

4.1.5 cricket/generators/perlin-1d.lisp

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.perlin-1d.

Public Interface
Internals

4.1.6 cricket/generators/perlin-2d.lisp

Dependency

perlin-1d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.perlin-2d.

Public Interface
Internals

4.1.7 cricket/generators/perlin-3d.lisp

Dependency

perlin-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.perlin-3d.

Public Interface
Internals

4.1.8 cricket/generators/perlin-4d.lisp

Dependency

perlin-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.perlin-4d.

Public Interface
Internals

4.1.9 cricket/generators/simplex-1d.lisp

Dependency

perlin-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.simplex-1d.

Public Interface
Internals

4.1.10 cricket/generators/simplex-2d.lisp

Dependency

simplex-1d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.simplex-2d.

Public Interface
Internals

4.1.11 cricket/generators/simplex-3d.lisp

Dependency

simplex-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.simplex-3d.

Public Interface
Internals

4.1.12 cricket/generators/simplex-4d.lisp

Dependency

simplex-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.simplex-4d.

Public Interface
Internals

4.1.13 cricket/generators/open-simplex-2d.lisp

Dependency

simplex-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex-2d.

Public Interface
Internals

4.1.14 cricket/generators/open-simplex-3d.lisp

Dependency

open-simplex-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex-3d.

Public Interface
Internals

4.1.15 cricket/generators/open-simplex-4d.lisp

Dependency

open-simplex-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex-4d.

Public Interface
Internals

4.1.16 cricket/generators/open-simplex2f-2d.lisp

Dependency

open-simplex-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex2f-2d.

Public Interface
Internals

4.1.17 cricket/generators/open-simplex2f-3d.lisp

Dependency

open-simplex2f-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex2f-3d.

Public Interface
Internals

4.1.18 cricket/generators/open-simplex2f-4d.lisp

Dependency

open-simplex2f-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex2f-4d.

Public Interface
Internals

4.1.19 cricket/generators/open-simplex2s-2d.lisp

Dependency

open-simplex2f-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex2s-2d.

Public Interface
Internals

4.1.20 cricket/generators/open-simplex2s-3d.lisp

Dependency

open-simplex2s-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex2s-3d.

Public Interface
Internals

4.1.21 cricket/generators/open-simplex2s-4d.lisp

Dependency

open-simplex2s-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.open-simplex2s-4d.

Public Interface
Internals

4.1.22 cricket/generators/value-2d.lisp

Dependency

open-simplex2s-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.value-2d.

Public Interface
Internals

4.1.23 cricket/generators/value-3d.lisp

Dependency

value-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.value-3d.

Public Interface
Internals

4.1.24 cricket/generators/cellular-2d.lisp

Dependency

value-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.cellular-2d.

Public Interface
Internals

4.1.25 cricket/generators/cellular-3d.lisp

Dependency

cellular-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.cellular-3d.

Public Interface
Internals

4.1.26 cricket/generators/cylinders-3d.lisp

Dependency

cellular-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.cylinders-3d.

Public Interface
Internals

4.1.27 cricket/generators/spheres-3d.lisp

Dependency

cylinders-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.spheres-3d.

Public Interface
Internals

4.1.28 cricket/generators/checker-2d.lisp

Dependency

spheres-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.checker-2d.

Public Interface
Internals

4.1.29 cricket/generators/constant.lisp

Dependency

checker-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.constant.

Public Interface
Internals

4.1.30 cricket/generators/fbm-2d.lisp

Dependency

constant.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.fbm-2d.

Public Interface
Internals

4.1.31 cricket/generators/fbm-3d.lisp

Dependency

fbm-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.fbm-3d.

Public Interface
Internals

4.1.32 cricket/generators/fbm-4d.lisp

Dependency

fbm-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.fbm-4d.

Public Interface
Internals

4.1.33 cricket/generators/billow-2d.lisp

Dependency

fbm-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.billow-2d.

Public Interface
Internals

4.1.34 cricket/generators/billow-3d.lisp

Dependency

billow-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.billow-3d.

Public Interface
Internals

4.1.35 cricket/generators/billow-4d.lisp

Dependency

billow-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.billow-4d.

Public Interface
Internals

4.1.36 cricket/generators/multifractal-2d.lisp

Dependency

billow-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.multifractal-2d.

Public Interface
Internals

4.1.37 cricket/generators/multifractal-3d.lisp

Dependency

multifractal-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.multifractal-3d.

Public Interface
Internals

4.1.38 cricket/generators/multifractal-4d.lisp

Dependency

multifractal-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.multifractal-4d.

Public Interface
Internals

4.1.39 cricket/generators/hybrid-multifractal-2d.lisp

Dependency

multifractal-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.hybrid-multifractal-2d.

Public Interface
Internals

4.1.40 cricket/generators/hybrid-multifractal-3d.lisp

Dependency

hybrid-multifractal-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.hybrid-multifractal-3d.

Public Interface
Internals

4.1.41 cricket/generators/hybrid-multifractal-4d.lisp

Dependency

hybrid-multifractal-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.hybrid-multifractal-4d.

Public Interface
Internals

4.1.42 cricket/generators/ridged-multifractal-2d.lisp

Dependency

hybrid-multifractal-4d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.ridged-multifractal-2d.

Public Interface
Internals

4.1.43 cricket/generators/ridged-multifractal-3d.lisp

Dependency

ridged-multifractal-2d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.ridged-multifractal-3d.

Public Interface
Internals

4.1.44 cricket/generators/ridged-multifractal-4d.lisp

Dependency

ridged-multifractal-3d.lisp (file).

Source

cricket.asd.

Parent Component

generators (module).

Packages

%cricket.generators.ridged-multifractal-4d.

Public Interface
Internals

4.1.45 cricket/modifiers/abs.lisp

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.abs.

Public Interface
Internals

4.1.46 cricket/modifiers/add.lisp

Dependency

abs.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.add.

Public Interface
  • + (function).
  • + (structure).
  • sample (method).
Internals

4.1.47 cricket/modifiers/blend.lisp

Dependency

add.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.blend.

Public Interface
Internals

4.1.48 cricket/modifiers/cache.lisp

Dependency

blend.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.cache.

Public Interface
Internals

4.1.49 cricket/modifiers/clamp.lisp

Dependency

cache.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.clamp.

Public Interface
Internals

4.1.50 cricket/modifiers/curve.lisp

Dependency

clamp.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.curve.

Public Interface
Internals

4.1.51 cricket/modifiers/displace.lisp

Dependency

curve.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.displace.

Public Interface
Internals

4.1.52 cricket/modifiers/divide.lisp

Dependency

displace.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.divide.

Public Interface
  • / (function).
  • / (structure).
  • sample (method).
Internals

4.1.53 cricket/modifiers/expt.lisp

Dependency

divide.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.expt.

Public Interface
Internals

4.1.54 cricket/modifiers/fractalize.lisp

Dependency

expt.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.fractalize.

Public Interface

fractalize (function).


4.1.55 cricket/modifiers/max.lisp

Dependency

fractalize.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.max.

Public Interface
Internals

4.1.56 cricket/modifiers/min.lisp

Dependency

max.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.min.

Public Interface
Internals

4.1.57 cricket/modifiers/negate.lisp

Dependency

min.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.negate.

Public Interface
Internals

4.1.58 cricket/modifiers/multiply.lisp

Dependency

negate.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.multiply.

Public Interface
  • * (function).
  • * (structure).
  • sample (method).
Internals

4.1.59 cricket/modifiers/power.lisp

Dependency

multiply.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.power.

Public Interface
Internals

4.1.60 cricket/modifiers/rotate.lisp

Dependency

power.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.rotate.

Public Interface
Internals

4.1.61 cricket/modifiers/scale.lisp

Dependency

rotate.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.scale.

Public Interface
Internals

4.1.62 cricket/modifiers/select.lisp

Dependency

scale.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.select.

Public Interface
Internals

4.1.63 cricket/modifiers/strengthen.lisp

Dependency

select.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.strengthen.

Public Interface
Internals

4.1.64 cricket/modifiers/subtract.lisp

Dependency

strengthen.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.subtract.

Public Interface
  • - (function).
  • - (structure).
  • sample (method).
Internals

4.1.65 cricket/modifiers/terrace.lisp

Dependency

subtract.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.terrace.

Public Interface
Internals

4.1.66 cricket/modifiers/translate.lisp

Dependency

terrace.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.translate.

Public Interface
Internals

4.1.67 cricket/modifiers/turbulence.lisp

Dependency

translate.lisp (file).

Source

cricket.asd.

Parent Component

modifiers (module).

Packages

%cricket.modifiers.turbulence.

Public Interface
Internals

4.1.68 cricket/map/color.lisp

Source

cricket.asd.

Parent Component

map (module).

Internals

4.1.69 cricket/map/gradient.lisp

Dependency

color.lisp (file).

Source

cricket.asd.

Parent Component

map (module).

Public Interface

define-gradient (macro).

Internals

4.1.70 cricket/map/image.lisp

Dependency

gradient.lisp (file).

Source

cricket.asd.

Parent Component

map (module).

Public Interface
Internals

4.1.71 cricket/map/map.lisp

Dependency

image.lisp (file).

Source

cricket.asd.

Parent Component

map (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 %cricket.generators.ridged-multifractal-3d

Source

ridged-multifractal-3d.lisp.

Use List

common-lisp.

Internals

5.2 %cricket.generators.open-simplex-2d

Source

open-simplex-2d.lisp.

Use List

common-lisp.

Internals

5.3 %cricket.modifiers.rotate

Source

rotate.lisp.

Use List

common-lisp.

Internals

5.4 %cricket.generators.open-simplex2s-4d

Source

open-simplex2s-4d.lisp.

Use List

common-lisp.

Internals

5.5 %cricket.modifiers.multiply

Source

multiply.lisp.

Use List

common-lisp.

Internals

5.6 %cricket.generators.multifractal-3d

Source

multifractal-3d.lisp.

Use List

common-lisp.

Internals

5.7 %cricket.generators.simplex-4d

Source

simplex-4d.lisp.

Use List

common-lisp.

Internals

5.8 %cricket.generators.ridged-multifractal-4d

Source

ridged-multifractal-4d.lisp.

Use List

common-lisp.

Internals

5.9 %cricket.generators.ridged-multifractal-2d

Source

ridged-multifractal-2d.lisp.

Use List

common-lisp.

Internals

5.10 %cricket.modifiers.divide

Source

divide.lisp.

Use List

common-lisp.

Internals

5.11 %cricket.generators.constant

Source

constant.lisp.

Use List

common-lisp.

Internals

5.12 %cricket.generators.open-simplex2s-3d

Source

open-simplex2s-3d.lisp.

Use List

common-lisp.

Internals

5.13 %cricket.modifiers.cache

Source

cache.lisp.

Use List

common-lisp.

Internals

5.15 %cricket.generators.cellular-3d

Source

cellular-3d.lisp.

Use List

common-lisp.

Internals

5.16 %cricket.modifiers.negate

Source

negate.lisp.

Use List

common-lisp.

Internals

5.17 %cricket.generators.open-simplex-3d

Source

open-simplex-3d.lisp.

Use List

common-lisp.

Internals

5.18 %cricket.generators.fbm-2d

Source

fbm-2d.lisp.

Use List

common-lisp.

Internals

5.19 %cricket.modifiers.turbulence

Source

turbulence.lisp.

Use List

common-lisp.

Internals

5.20 %cricket.generators.fbm-4d

Source

fbm-4d.lisp.

Use List

common-lisp.

Internals

5.21 %cricket.modifiers.min

Source

min.lisp.

Use List

common-lisp.

Internals

5.22 %cricket.modifiers.translate

Source

translate.lisp.

Use List

common-lisp.

Internals

5.23 %cricket.generators.hybrid-multifractal-4d

Source

hybrid-multifractal-4d.lisp.

Use List

common-lisp.

Internals

5.24 %cricket.generators.cylinders-3d

Source

cylinders-3d.lisp.

Use List

common-lisp.

Internals

5.25 %cricket.generators

Source

package.lisp.

Used By List

cricket.

Public Interface

5.26 %cricket.generators.simplex-2d

Source

simplex-2d.lisp.

Use List

common-lisp.

Internals

5.27 %cricket.generators.open-simplex2f-2d

Source

open-simplex2f-2d.lisp.

Use List

common-lisp.

Internals

5.28 %cricket.generators.open-simplex2f-3d

Source

open-simplex2f-3d.lisp.

Use List

common-lisp.

Internals

5.29 %cricket.modifiers.curve

Source

curve.lisp.

Use List

common-lisp.

Internals

5.30 %cricket.generators.perlin-1d

Source

perlin-1d.lisp.

Use List

common-lisp.

Internals

5.31 %cricket.modifiers.fractalize

Source

fractalize.lisp.

Use List

common-lisp.


5.32 %cricket.generators.billow-4d

Source

billow-4d.lisp.

Use List

common-lisp.

Internals

5.33 %cricket.generators.simplex-3d

Source

simplex-3d.lisp.

Use List

common-lisp.

Internals

5.34 %cricket.generators.fbm-3d

Source

fbm-3d.lisp.

Use List

common-lisp.

Internals

5.35 %cricket.generators.open-simplex2s-2d

Source

open-simplex2s-2d.lisp.

Use List

common-lisp.

Internals

5.36 %cricket.generators.open-simplex2f-4d

Source

open-simplex2f-4d.lisp.

Use List

common-lisp.

Internals

5.37 %cricket.modifiers.scale

Source

scale.lisp.

Use List

common-lisp.

Internals

5.38 %cricket.generators.perlin-4d

Source

perlin-4d.lisp.

Use List

common-lisp.

Internals

5.39 %cricket.generators.value-3d

Source

value-3d.lisp.

Use List

common-lisp.

Internals

5.40 %cricket.modifiers.expt

Source

expt.lisp.

Use List

common-lisp.

Internals

5.41 %cricket.modifiers.clamp

Source

clamp.lisp.

Use List

common-lisp.

Internals

5.42 %cricket.generators.hybrid-multifractal-3d

Source

hybrid-multifractal-3d.lisp.

Use List

common-lisp.

Internals

5.43 %cricket.modifiers.max

Source

max.lisp.

Use List

common-lisp.

Internals

5.44 %cricket.generators.billow-3d

Source

billow-3d.lisp.

Use List

common-lisp.

Internals

5.45 %cricket.generators.hybrid-multifractal-2d

Source

hybrid-multifractal-2d.lisp.

Use List

common-lisp.

Internals

5.46 %cricket.modifiers.subtract

Source

subtract.lisp.

Use List

common-lisp.

Internals

5.47 %cricket.generators.multifractal-2d

Source

multifractal-2d.lisp.

Use List

common-lisp.

Internals

5.48 %cricket.modifiers.blend

Source

blend.lisp.

Use List

common-lisp.

Internals

5.49 %cricket.map

Source

package.lisp.

Use List

common-lisp.

Used By List

cricket.

Public Interface
Internals

5.50 %cricket.modifiers.displace

Source

displace.lisp.

Use List

common-lisp.

Internals

5.51 %cricket.generators.checker-2d

Source

checker-2d.lisp.

Use List

common-lisp.

Internals

5.52 %cricket.generators.spheres-3d

Source

spheres-3d.lisp.

Use List

common-lisp.

Internals

5.53 %cricket.modifiers.abs

Source

abs.lisp.

Use List

common-lisp.

Internals

5.54 %cricket.generators.value-2d

Source

value-2d.lisp.

Use List

common-lisp.

Internals

5.55 %cricket.generators.perlin-3d

Source

perlin-3d.lisp.

Use List

common-lisp.

Internals

5.56 %cricket.generators.multifractal-4d

Source

multifractal-4d.lisp.

Use List

common-lisp.

Internals

5.57 %cricket.internal

Source

package.lisp.

Use List

common-lisp.

Used By List

cricket.

Public Interface
Internals

5.58 %cricket.generators.billow-2d

Source

billow-2d.lisp.

Use List

common-lisp.

Internals

5.59 %cricket.modifiers.select

Source

select.lisp.

Use List

common-lisp.

Internals

5.60 %cricket.modifiers.strengthen

Source

strengthen.lisp.

Use List

common-lisp.

Internals

5.61 %cricket.modifiers.power

Source

power.lisp.

Use List

common-lisp.

Internals

5.62 %cricket.generators.open-simplex-4d

Source

open-simplex-4d.lisp.

Use List

common-lisp.

Internals

5.63 %cricket.modifiers

Source

package.lisp.

Used By List

cricket.

Public Interface

5.64 %cricket.modifiers.terrace

Source

terrace.lisp.

Use List

common-lisp.

Internals

5.65 %cricket.generators.simplex-1d

Source

simplex-1d.lisp.

Use List

common-lisp.

Internals

5.66 %cricket.generators.perlin-2d

Source

perlin-2d.lisp.

Use List

common-lisp.

Internals

5.67 %cricket.generators.cellular-2d

Source

cellular-2d.lisp.

Use List

common-lisp.

Internals

5.68 %cricket.modifiers.add

Source

add.lisp.

Use List

common-lisp.

Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Macros

Macro: define-gradient ((type) &body body)
Package

%cricket.map.

Source

gradient.lisp.


6.1.2 Ordinary functions

Function: * (source1 source2)

Construct a sampler that, when sampled, outputs the result of multiplying the outputs of ‘source1‘ and ‘source2‘.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

multiply.lisp.

Function: + (source1 source2)

Construct a sampler that, when sampled, outputs the result of adding the outputs of ‘source1‘ and ‘source2‘.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

add.lisp.

Function: - (source1 source2)

Construct a sampler that, when sampled, outputs the result of subtracting the output ‘source2‘ from the output of ‘source1‘.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

subtract.lisp.

Function: / (source1 source2)

Construct a sampler that, when sampled, outputs the result of dividing the output ‘source1‘ by the output of ‘source2‘.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

divide.lisp.

Function: abs (source)

Construct a sampler that, when sampled, outputs the absolute value of the output of ‘source‘.

‘source‘: The input sampler (required).

Package

%cricket.modifiers.

Source

abs.lisp.

Function: billow-2d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 2-dimensional billow fractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 2-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-2d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

billow-2d.lisp.

Function: billow-3d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 3-dimensional billow fractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 3-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-3d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

billow-3d.lisp.

Function: billow-4d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 4-dimensional billow fractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 4-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-4d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

billow-4d.lisp.

Function: blend (source1 source2 control)

Construct a sampler that, when sampled, outputs a blend between the outputs of ‘source1‘ and ‘source2‘, by means of a linear interpolation using the output value of ‘control‘ as the interpolation parameter.

If the output of ‘control‘ is negative, the blended output is weighted towards the output of ‘source1‘. If the output of ‘control‘ is positive, the blended output is weighted towards the output of ‘source2‘.

‘source1‘: The sampler to weight towards if the output of ‘control‘ is negative (required).

‘source2‘: The sampler to weight towards if the output of ‘control‘ is positive (required).

‘control‘: The sampler that determines the weight of the blending operation (required).

Package

%cricket.modifiers.

Source

blend.lisp.

Function: cache (source)

Construct a sampler that, when sampled, caches the set of input coordinates and the output of its input sampler. If a set of input coordinates differs from the previous input coordinates, the cache is invalidated and the new input coordinates and output value is cached.

Caching is useful if a sampler is used as a source for multiple modifiers. Without caching, the duplicated input sources would redundantly compute the same outputs, which would be expensive, especially if long modifier chains are shared.

‘source‘: The sampler to cache (required).

Package

%cricket.modifiers.

Source

cache.lisp.

Function: cellular-2d (&key seed distance-method output-type jitter)

Construct a sampler that, when sampled, outputs 2-dimensional cellular noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘distance-method‘: One of ‘:manhattan‘, ‘:euclidean‘, ‘:euclidean-squared‘, ‘:chebyshev‘, or ‘:minkowski4‘, denoting the distance function to use (optional, default: ‘:euclidean‘).

‘output-type‘: One of ‘:value‘, ‘:f1‘, ‘:f2‘, ‘:f1+f2‘, ‘:f2-f1‘, ‘:f1*f2‘, or ‘:f1/f2‘ denoting the features to use (optional, default: ‘:f1‘).

‘jitter‘: A real number between 0.0 and 1.0, with values closer to one randomly distributing cells away from their grid alignment (optional, default: 1.0).

Package

%cricket.generators.

Source

cellular-2d.lisp.

Function: cellular-3d (&key seed distance-method output-type jitter)

Construct a sampler that, when sampled, outputs 3-dimensional cellular noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘distance-method‘: One of ‘:manhattan‘, ‘:euclidean‘, ‘:euclidean-squared‘, ‘:chebyshev‘, or ‘:minkowski4‘, denoting the distance function to use (optional, default: ‘:euclidean‘).

‘output-type‘: One of ‘:value‘, ‘:f1‘, ‘:f2‘, ‘:f1+f2‘, ‘:f2-f1‘, ‘:f1*f2‘, or ‘:f1/f2‘ denoting the features to use (optional, default: ‘:f1‘).

‘jitter‘: A real number between 0.0 and 1.0, with values closer to one randomly distributing cells away from their grid alignment (optional, default: 1.0).

Package

%cricket.generators.

Source

cellular-3d.lisp.

Function: checker-2d (&key seed)

Construct a sampler that, when sampled, outputs a 2-dimensional checkered grid pattern, with values being either -1.0 or 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

checker-2d.lisp.

Function: clamp (source min max)

Construct a sampler that, when sampled, clamps the output of ‘source‘ to be within the range ‘min‘..‘max‘. If the output of ‘source‘ is less than ‘min‘, the result will be ‘min‘. If the output of ‘source‘ is greater than ‘max‘, the result will be ‘max‘.

‘source‘: The input sampler to clamp (required).

‘min‘: A real number denoting the lower bound of the clamping range (required).

‘max‘: A real number denoting the upper bound of the clamping range (required).

Package

%cricket.modifiers.

Source

clamp.lisp.

Function: constant (value &key seed)

Construct a sampler that, when sampled, outputs the constant ‘value‘ supplied. This is useful for debugging and applications where you need to combine a constant value.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

constant.lisp.

Function: curve (source &key points)

Construct a sampler that, when sampled, outputs the result of sampling from ‘source‘ after remapping to an arbitrary curve.

The curve is defined by a list of point pairs given with ‘points‘, with its format being a list of cons cells. Each cons cell in the list of points represents an input and an output number. The curve is a cubic spline, and so ‘points‘ must contain a list of four point pairs at a minimum. Additionally, no two point pairs can contain the same input point value.

When sampling the input sampler ‘source‘, the result is evaluated using the curve data, and maps it to a new output value.

‘source‘: The input sampler to map onto the curve (required).

‘points‘: A list of cons pairs denoting input (car) and output (cdr) control points of the curve (required).

Package

%cricket.modifiers.

Source

curve.lisp.

Function: cylinders-3d (&key seed frequency)

Construct a sampler that, when sampled, outputs 3-dimensional concentric cylinder values ranging from -1.0 to 1.0. The cylinders are oriented with their length along the Z axis.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘frequency‘: The frequency of the signal, which controls how small or large the cylinders are (optional, default: 1.0).

Package

%cricket.generators.

Source

cylinders-3d.lisp.

Function: displace (source &key x y z w)

Construct a sampler that, when sampled, modifies the input coordinates of its input sampler ‘source‘, before sampling from it. ‘x‘, ‘y‘, ‘z‘, and ‘w‘ are samplers, where the result of sampling from them are added to the input coordinate of the corresponding axis. After modifying of the input coordinates, ‘source‘ is then sampled with the new input coordinate set. Any displacement samplers that are not specified will not displace the corresponding axis of the input sampler.

‘source‘: The input sampler to displace (required).

‘x‘: A sampler that is evaluated and added to the X axis input coordinate of ‘source‘ (optional).

‘y‘: A sampler that is evaluated and added to the Y axis input coordinate of ‘source‘ (optional).

‘z‘: A sampler that is evaluated and added to the Z axis input coordinate of ‘source‘ (optional).

‘w‘: A sampler that is evaluated and added to the W axis input coordinate of ‘source‘ (optional).

Package

%cricket.modifiers.

Source

displace.lisp.

Function: expt (source power)

Construct a sampler that, when sampled, raises the power of the output of ‘source‘ to ‘power‘.

‘source‘: The input sampler (required).

‘power‘: The power to raise the output to (required).

Package

%cricket.modifiers.

Source

expt.lisp.

Function: fbm-2d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 2-dimensional fractional Brownian motion noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 2-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2f-2d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

fbm-2d.lisp.

Function: fbm-3d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 3-dimensional fractional Brownian motion noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 3-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2f-3d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

fbm-3d.lisp.

Function: fbm-4d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 4-dimensional fractional Brownian motion noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 4-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2f-4d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

fbm-4d.lisp.

Function: fractalize (source type &rest args &key octaves frequency lacunarity persistence attenuation)

Construct a sampler that, when sampled, outputs the result of fractalizing its input sampler’s output over an arbitrary number of octaves. ‘type‘ may be a keyword denoting any of the built-in generator fractal types:

‘:fbm‘: Fractional Brownian motion.

‘:billow‘: Creates billowy cloud or rock-like formations.

‘:multi‘: Multifractal whose fractal dimensions vary.

‘:hybrid-multi‘: Multifractal noise that results in valleys having smooth bottoms.

‘:ridged-multi‘: Creates ridges suitable for terrain generation.

The parameters supplied to this modifier are consistent with the behaviors they provide for the corresponding fractal generator.

There are a few differences between this modifier and the corresponding generator:

- This modifier fractalizes each dimension of the input sampler; there is no ability to specify the dimensionality of the output.

- The default parameter values of this modifier are generic, and may not match the default values of the corresponding generator. You should ensure that you are calling this with the desired parameter values if leaving any unspecified.

- The input sampler’s output is used for each octave of the generated fractal. This is in contrast to generator fractals, where their octaves are other generators each being seeded differently.

‘source‘: The input sampler (required).

‘type‘: A keyword denoting one of the valid fractal types (required).

‘octaves‘: The number of octaves to generate (optional, default: 4).

‘frequency‘: The frequency of the first octave (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

‘attenuation‘: The attenuation to apply to the weight of each octave - only applicable for the ‘:ridged-multi‘ type (optional, default: 2.0)

Package

%cricket.modifiers.

Source

fractalize.lisp.

Function: get-image-pixel (image x y)
Package

%cricket.map.

Source

image.lisp.

Function: hybrid-multifractal-2d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 2-dimensional hybrid multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 2-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-2d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.25).

Package

%cricket.generators.

Source

hybrid-multifractal-2d.lisp.

Function: hybrid-multifractal-3d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 3-dimensional hybrid multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 3-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-3d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.25).

Package

%cricket.generators.

Source

hybrid-multifractal-3d.lisp.

Function: hybrid-multifractal-4d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 4-dimensional hybrid multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 4-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-4d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.25).

Package

%cricket.generators.

Source

hybrid-multifractal-4d.lisp.

Reader: image-data (instance)
Writer: (setf image-data) (instance)
Package

%cricket.map.

Source

image.lisp.

Target Slot

data.

Reader: image-height (instance)
Writer: (setf image-height) (instance)
Package

%cricket.map.

Source

image.lisp.

Target Slot

height.

Reader: image-width (instance)
Writer: (setf image-width) (instance)
Package

%cricket.map.

Source

image.lisp.

Target Slot

width.

Function: make-map (source &key width height x-min x-max y-min y-max parallel-p)
Package

%cricket.map.

Source

map.lisp.

Reader: map-data (instance)
Writer: (setf map-data) (instance)
Package

%cricket.map.

Source

map.lisp.

Target Slot

data.

Reader: map-height (instance)
Writer: (setf map-height) (instance)
Package

%cricket.map.

Source

map.lisp.

Target Slot

height.

Function: map-value (map x y)
Package

%cricket.map.

Source

map.lisp.

Function: (setf map-value) (map x y)
Package

%cricket.map.

Source

map.lisp.

Reader: map-width (instance)
Writer: (setf map-width) (instance)
Package

%cricket.map.

Source

map.lisp.

Target Slot

width.

Function: max (source1 source2)

Construct a sampler that, when sampled, outputs the maximum of the outputs of its two input samplers.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

max.lisp.

Function: min (source1 source2)

Construct a sampler that, when sampled, outputs the minimum of the outputs of its two input samplers.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

min.lisp.

Function: multifractal-2d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 2-dimensional multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 2-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-2d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

multifractal-2d.lisp.

Function: multifractal-3d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 3-dimensional multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 3-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-3d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

multifractal-3d.lisp.

Function: multifractal-4d (&key seed generator octaves frequency lacunarity persistence)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 4-dimensional multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 4-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-4d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 0.5).

Package

%cricket.generators.

Source

multifractal-4d.lisp.

Function: negate (source)

Construct a sampler that, when sampled, negates the output value of its input sampler.

‘source‘: The input sampler (required).

Package

%cricket.modifiers.

Source

negate.lisp.

Function: open-simplex-2d (&key seed)

Construct a sampler that, when sampled, outputs 2-dimensional OpenSimplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

open-simplex-2d.lisp.

Function: open-simplex-3d (&key seed)

Construct a sampler that, when sampled, outputs 3-dimensional OpenSimplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

open-simplex-3d.lisp.

Function: open-simplex-4d (&key seed)

Construct a sampler that, when sampled, outputs 4-dimensional OpenSimplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

open-simplex-4d.lisp.

Function: open-simplex2f-2d (&key seed orientation)

Construct a sampler that, when sampled, outputs 2-dimensional OpenSimplex2F noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘orientation‘: One of ‘:standard‘ or ‘:x/y‘, denoting the orientation of the lattice. ‘:x/y‘ has the Y axis pointing down the main diagonal, which might be more suitable for a game where Y is vertical (optional, default: ‘:standard‘).

Package

%cricket.generators.

Source

open-simplex2f-2d.lisp.

Function: open-simplex2f-3d (&key seed orientation)

Construct a sampler that, when sampled, outputs 3-dimensional OpenSimplex2F noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘orientation‘: One of ‘:standard‘, ‘:xy/z‘, or ‘:xz/y‘, denoting the orientation of the lattice. ‘:xy/z‘ has better visual isotropy in XY, and ‘:xz/y‘ has better visual isotropy in XZ (optional, default: ‘:standard‘).

Package

%cricket.generators.

Source

open-simplex2f-3d.lisp.

Function: open-simplex2f-4d (&key seed orientation)

Construct a sampler that, when sampled, outputs 4-dimensional OpenSimplex2F noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘orientation‘: One of ‘:standard‘, ‘:xy/zw‘, ‘:xz/yw‘, or ‘:xyz/w‘, denoting the orientation of the lattice. ‘:xy/zw‘ is recommended for 3D terrain where X/Y or Z/W are horizontal. ‘:xz/yw‘ is recommended for 3D terrain where X/Z or Y/W are horizontal. ‘:xyz/w‘ is recommended for time-varied animations of 3D objects, where W is time (optional, default: ‘:standard‘).

Package

%cricket.generators.

Source

open-simplex2f-4d.lisp.

Function: open-simplex2s-2d (&key seed orientation)

Construct a sampler that, when sampled, outputs 2-dimensional OpenSimplex2S noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘orientation‘: One of ‘:standard‘ or ‘:x/y‘, denoting the orientation of the lattice. ‘:x/y‘ has the Y axis pointing down the main diagonal, which might be more suitable for a game where Y is vertical (optional, default: ‘:standard‘).

Package

%cricket.generators.

Source

open-simplex2s-2d.lisp.

Function: open-simplex2s-3d (&key seed orientation)

Construct a sampler that, when sampled, outputs 3-dimensional OpenSimplex2S noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘orientation‘: One of ‘:standard‘, ‘:xy/z‘, or ‘:xz/y‘, denoting the orientation of the lattice. ‘:xy/z‘ has better visual isotropy in XY, and ‘:xz/y‘ has better visual isotropy in XZ (optional, default: ‘:standard‘).

Package

%cricket.generators.

Source

open-simplex2s-3d.lisp.

Function: open-simplex2s-4d (&key seed orientation)

Construct a sampler that, when sampled, outputs 4-dimensional OpenSimplex2S noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘orientation‘: One of ‘:standard‘, ‘:xy/zw‘, ‘:xz/yw‘, or ‘:xyz/w‘, denoting the orientation of the lattice. ‘:xy/zw‘ is recommended for 3D terrain where X/Y or Z/W are horizontal. ‘:xz/yw‘ is recommended for 3D terrain where X/Z or Y/W are horizontal. ‘:xyz/w‘ is recommended for time-varied animations of 3D objects, where W is time (optional, default: ‘:standard‘).

Package

%cricket.generators.

Source

open-simplex2s-4d.lisp.

Function: perlin-1d (&key seed)

Construct a sampler that, when sampled, outputs 1-dimensional Perlin Improved noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

perlin-1d.lisp.

Function: perlin-2d (&key seed)

Construct a sampler that, when sampled, outputs 2-dimensional Perlin Improved noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

perlin-2d.lisp.

Function: perlin-3d (&key seed)

Construct a sampler that, when sampled, outputs 3-dimensional Perlin Improved noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

perlin-3d.lisp.

Function: perlin-4d (&key seed)

Construct a sampler that, when sampled, outputs 4-dimensional Perlin Improved noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

perlin-4d.lisp.

Function: power (source1 source2)

Construct a sampler that, when sampled, raises the output of ‘source1‘ to the power of the output of ‘source2‘.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

Package

%cricket.modifiers.

Source

power.lisp.

Function: render-map (map &key gradient)
Package

%cricket.map.

Source

map.lisp.

Function: ridged-multifractal-2d (&key seed generator octaves frequency lacunarity persistence attenuation)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 2-dimensional ridged multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 2-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-2d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 1.0).

‘attenuation‘: The attenuation to apply to the weight of each octave (optional, default: 2.0).

Package

%cricket.generators.

Source

ridged-multifractal-2d.lisp.

Function: ridged-multifractal-3d (&key seed generator octaves frequency lacunarity persistence attenuation)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 3-dimensional ridged multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 3-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-3d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 1.0).

‘attenuation‘: The attenuation to apply to the weight of each octave (optional, default: 2.0).

Package

%cricket.generators.

Source

ridged-multifractal-3d.lisp.

Function: ridged-multifractal-4d (&key seed generator octaves frequency lacunarity persistence attenuation)

Construct a sampler that, when sampled, outputs the application of multiple octaves of a 4-dimensional ridged multifractal noise, using the supplied ‘generator‘ function to construct each octave’s sampler.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘generator‘: a function object pointing to one of the built-in 4-dimensional generators that is used to construct a different sampler, each with a different seed, for each octave (optional, default ‘#’open-simplex2s-4d‘).

‘octaves‘: An integer between 1 and 32, denoting the number of octaves to apply (optional, default: 4).

‘frequency‘: The frequency of the first octave’s signal (optional, default: 1.0).

‘lacunarity‘: A multiplier that determines how quickly the frequency increases for successive octaves (optional, default: 2.0).

‘persistence‘: A multiplier that determines how quickly the amplitude diminishes for successive octaves (optional, default 1.0).

‘attenuation‘: The attenuation to apply to the weight of each octave (optional, default: 2.0).

Package

%cricket.generators.

Source

ridged-multifractal-4d.lisp.

Function: rotate (source &key x y z)

Construct a sampler that, when sampled, rotates the input coordinates around the origin before sampling from it. The coordinate system is assumed to be left-handed. The angle of rotation around each of the ‘x‘, ‘y‘, and ‘z‘ axes can be set individually.

‘source‘: The input sampler (required).

‘x‘: The angle in radians to rotate around the X axis (optional, default: 0.0).

‘y‘: The angle in radians to rotate around the Y axis (optional, default: 0.0).

‘z‘: The angle in radians to rotate around the Z axis (optional, default: 0.0).

Package

%cricket.modifiers.

Source

rotate.lisp.

Function: scale (source &key x y z w)

Construct a sampler that, when sampled, scales the input coordinates of ‘source‘ down (increases the wavelength, and decreases the frequency), by the amounts given for each of the ‘x‘, ‘y‘, ‘z‘, and ‘w‘ axes.

‘source‘: The input sampler (required).

‘x‘: The amount to scale along the X axis (optional, default: 1.0).

‘y‘: The amount to scale along the Y axis (optional, default: 1.0).

‘z‘: The amount to scale along the Z axis (optional, default: 1.0).

‘w‘: The amount to scale along the W axis (optional, default: 1.0).

Package

%cricket.modifiers.

Source

scale.lisp.

Function: select (source1 source2 control &key min max falloff)

Construct a sampler that, when sampled, outputs the result of sampling from either ‘source1‘ or ‘source2‘. The input sampler chosen is decided based upon the output of the ‘control‘ sampler.

If the output of ‘control‘ is within the range denoted by ‘min‘ and ‘max‘, ‘source2‘ is chosen. If the output of ‘control‘ is outside of this range, ‘source1‘ is chosen.

‘source1‘: The first input sampler (required).

‘source2‘: The second input sampler (required).

‘control‘: The sampler that determines the sampler to output (required).

‘min‘: A real number between -1.0 and 1.0 defining the lower bound of the selection range (optional, default: -1.0).

‘max‘: A real number between -1.0 and 1.0 defining the upper bound of the selection range (optional, default: 1.0).

‘falloff‘: A real number between 0.0 and 1.0 specifying the smoothness of the transition (optional, default: 0.0).

Package

%cricket.modifiers.

Source

select.lisp.

Function: simplex-1d (&key seed)

Construct a sampler that, when sampled, outputs 1-dimensional Simplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

simplex-1d.lisp.

Function: simplex-2d (&key seed)

Construct a sampler that, when sampled, outputs 2-dimensional Simplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

simplex-2d.lisp.

Function: simplex-3d (&key seed)

Construct a sampler that, when sampled, outputs 3-dimensional Simplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

simplex-3d.lisp.

Function: simplex-4d (&key seed)

Construct a sampler that, when sampled, outputs 4-dimensional Simplex noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

simplex-4d.lisp.

Function: spheres-3d (&key seed frequency)

Construct a sampler that, when sampled, outputs 3-dimensional concentric sphere values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

‘frequency‘: The frequency of the signal, which controls how small or large the spheres are (optional, default: 1.0).

Package

%cricket.generators.

Source

spheres-3d.lisp.

Function: strengthen (source strength &key bias)

Construct a sampler that, when sampled, modifies the output value of ‘source‘ by multiplying it by ‘strength‘, and optionally adding ‘bias‘ afterwards.

‘source‘: The input sampler (required).

‘strength‘: A multiplier to apply to the output of ‘source‘ (required).

‘bias‘: An additional bias amount to add to the result (optional, default: 0.0).

Package

%cricket.modifiers.

Source

strengthen.lisp.

Function: terrace (source &key points invert-p)

Construct a sampler that, when sampled, maps the output of its input sampler onto a terrace-forming curve, defined by the list of ‘points‘. ‘points‘ is a list of at least 2 real numbers, each with a unique value.

‘source‘: The input sampler (required).

‘points‘: A list of at least two control points that define the curve (required).

‘invert-p‘: Whether the curve is inverted between the control points (optional, default: nil).

Package

%cricket.modifiers.

Source

terrace.lisp.

Function: translate (source &key x y z w)

Construct a sampler that, when sampled, offsets the input coordinates of ‘source‘ by the amounts supplied each of the ‘x‘, ‘y‘, ‘z‘, and ‘w‘ axes, before sampling from it.

‘source‘: The input sampler (required).

‘x‘: The amount to offset along the X axis (optional, default: 0.0).

‘y‘: The amount to offset along the Y axis (optional, default: 0.0).

‘z‘: The amount to offset along the Z axis (optional, default: 0.0).

‘w‘: The amount to offset along the W axis (optional, default: 0.0).

Package

%cricket.modifiers.

Source

translate.lisp.

Function: turbulence (source displacement &key frequency power roughness)

Construct a sampler that, when sampled, displaces the input coordinates of its ‘source‘ input sampler before sampling from it. The displacement values come from the result of sampling a fractional Brownian motion application of the supplied ‘displacement‘ sampler, along with randomly generated values retrieved using the random number generator of ‘source‘.

‘source‘: The input sampler whose input coordinates are displaced (required).

‘displacement‘: A sampler that has ‘roughness‘ octaves of fractional Brownian motion applied to it to determine the random displacement (required).

‘frequency‘: The frequency of the fractional Brownian motion displacement (optional, default 1.0).

‘power‘: A scaling factor that is applied to the displacement amount (optional, default: 1.0).

‘roughness‘: The number of octaves to apply for the displacement fractional Brownian motion (optional, default: 3).

Package

%cricket.modifiers.

Source

turbulence.lisp.

Function: uniform-scale (source scalar)
Package

%cricket.modifiers.

Source

scale.lisp.

Function: value-2d (&key seed)

Construct a sampler that, when sampled, outputs 2-dimensional value noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

value-2d.lisp.

Function: value-3d (&key seed)

Construct a sampler that, when sampled, outputs 3-dimensional value noise values ranging from -1.0 to 1.0.

‘seed‘: A string used to seed the random number generator for this sampler, or NIL. If a seed is not supplied, one will be generated automatically which will negatively affect the reproducibility of the noise (optional, default: NIL).

Package

%cricket.generators.

Source

value-3d.lisp.

Function: write-image (image file-path)
Package

%cricket.map.

Source

image.lisp.


6.1.3 Generic functions

Generic Function: sample (sampler x &optional y z w)
Package

%cricket.internal.

Source

common.lisp.

Methods
Method: sample ((sampler turbulence) x &optional y z w)
Source

turbulence.lisp.

Method: sample ((sampler translate) x &optional y z w)
Source

translate.lisp.

Method: sample ((sampler terrace) x &optional y z w)
Source

terrace.lisp.

Method: sample ((sampler -) x &optional y z w)
Source

subtract.lisp.

Method: sample ((sampler strengthen) x &optional y z w)
Source

strengthen.lisp.

Method: sample ((sampler select) x &optional y z w)
Source

select.lisp.

Method: sample ((sampler scale) x &optional y z w)
Source

scale.lisp.

Method: sample ((sampler rotate) x &optional y z w)
Source

rotate.lisp.

Method: sample ((sampler power) x &optional y z w)
Source

power.lisp.

Method: sample ((sampler *) x &optional y z w)
Source

multiply.lisp.

Method: sample ((sampler negate) x &optional y z w)
Source

negate.lisp.

Method: sample ((sampler min) x &optional y z w)
Source

min.lisp.

Method: sample ((sampler max) x &optional y z w)
Source

max.lisp.

Method: sample ((sampler expt) x &optional y z w)
Source

expt.lisp.

Method: sample ((sampler /) x &optional y z w)
Source

divide.lisp.

Method: sample ((sampler displace) x &optional y z w)
Source

displace.lisp.

Method: sample ((sampler curve) x &optional y z w)
Source

curve.lisp.

Method: sample ((sampler clamp) x &optional y z w)
Source

clamp.lisp.

Method: sample ((sampler cache) x &optional y z w)
Source

cache.lisp.

Method: sample ((sampler blend) x &optional y z w)
Source

blend.lisp.

Method: sample ((sampler +) x &optional y z w)
Source

add.lisp.

Method: sample ((sampler abs) x &optional y z w)
Source

abs.lisp.

Method: sample ((sampler ridged-multifractal-4d) x &optional y z w)
Source

ridged-multifractal-4d.lisp.

Method: sample ((sampler ridged-multifractal-3d) x &optional y z w)
Source

ridged-multifractal-3d.lisp.

Method: sample ((sampler ridged-multifractal-2d) x &optional y z w)
Source

ridged-multifractal-2d.lisp.

Method: sample ((sampler hybrid-multifractal-4d) x &optional y z w)
Source

hybrid-multifractal-4d.lisp.

Method: sample ((sampler hybrid-multifractal-3d) x &optional y z w)
Source

hybrid-multifractal-3d.lisp.

Method: sample ((sampler hybrid-multifractal-2d) x &optional y z w)
Source

hybrid-multifractal-2d.lisp.

Method: sample ((sampler multifractal-4d) x &optional y z w)
Source

multifractal-4d.lisp.

Method: sample ((sampler multifractal-3d) x &optional y z w)
Source

multifractal-3d.lisp.

Method: sample ((sampler multifractal-2d) x &optional y z w)
Source

multifractal-2d.lisp.

Method: sample ((sampler billow-4d) x &optional y z w)
Source

billow-4d.lisp.

Method: sample ((sampler billow-3d) x &optional y z w)
Source

billow-3d.lisp.

Method: sample ((sampler billow-2d) x &optional y z w)
Source

billow-2d.lisp.

Method: sample ((sampler fbm-4d) x &optional y z w)
Source

fbm-4d.lisp.

Method: sample ((sampler fbm-3d) x &optional y z w)
Source

fbm-3d.lisp.

Method: sample ((sampler fbm-2d) x &optional y z w)
Source

fbm-2d.lisp.

Method: sample ((sampler constant) x &optional y z w)
Source

constant.lisp.

Method: sample ((sampler checker-2d) x &optional y z w)
Source

checker-2d.lisp.

Method: sample ((sampler spheres-3d) x &optional y z w)
Source

spheres-3d.lisp.

Method: sample ((sampler cylinders-3d) x &optional y z w)
Source

cylinders-3d.lisp.

Method: sample ((sampler cellular-3d) x &optional y z w)
Source

cellular-3d.lisp.

Method: sample ((sampler cellular-2d) x &optional y z w)
Source

cellular-2d.lisp.

Method: sample ((sampler value-3d) x &optional y z w)
Source

value-3d.lisp.

Method: sample ((sampler value-2d) x &optional y z w)
Source

value-2d.lisp.

Method: sample ((sampler open-simplex2s-4d) x &optional y z w)
Source

open-simplex2s-4d.lisp.

Method: sample ((sampler open-simplex2s-3d) x &optional y z w)
Source

open-simplex2s-3d.lisp.

Method: sample ((sampler open-simplex2s-2d) x &optional y z w)
Source

open-simplex2s-2d.lisp.

Method: sample ((sampler open-simplex2f-4d) x &optional y z w)
Source

open-simplex2f-4d.lisp.

Method: sample ((sampler open-simplex2f-3d) x &optional y z w)
Source

open-simplex2f-3d.lisp.

Method: sample ((sampler open-simplex2f-2d) x &optional y z w)
Source

open-simplex2f-2d.lisp.

Method: sample ((sampler open-simplex-4d) x &optional y z w)
Source

open-simplex-4d.lisp.

Method: sample ((sampler open-simplex-3d) x &optional y z w)
Source

open-simplex-3d.lisp.

Method: sample ((sampler open-simplex-2d) x &optional y z w)
Source

open-simplex-2d.lisp.

Method: sample ((sampler simplex-4d) x &optional y z w)
Source

simplex-4d.lisp.

Method: sample ((sampler simplex-3d) x &optional y z w)
Source

simplex-3d.lisp.

Method: sample ((sampler simplex-2d) x &optional y z w)
Source

simplex-2d.lisp.

Method: sample ((sampler simplex-1d) x &optional y z w)
Source

simplex-1d.lisp.

Method: sample ((sampler perlin-4d) x &optional y z w)
Source

perlin-4d.lisp.

Method: sample ((sampler perlin-3d) x &optional y z w)
Source

perlin-3d.lisp.

Method: sample ((sampler perlin-2d) x &optional y z w)
Source

perlin-2d.lisp.

Method: sample ((sampler perlin-1d) x &optional y z w)
Source

perlin-1d.lisp.


6.1.4 Standalone methods

Method: make-load-form ((object lattice-point) &optional environment)
Source

open-simplex2s-4d.lisp.

Method: make-load-form ((object lattice-point) &optional environment)
Source

open-simplex2s-3d.lisp.

Method: make-load-form ((object lattice-point) &optional environment)
Source

open-simplex2f-3d.lisp.

Method: make-load-form ((object lattice-point) &optional environment)
Source

open-simplex2s-2d.lisp.

Method: make-load-form ((object lattice-point) &optional environment)
Source

open-simplex2f-4d.lisp.

Method: print-object ((sampler sampler) stream)
Source

common.lisp.


6.1.5 Conditions

Condition: cricket-error
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

error.

Direct subclasses
Direct methods

sampler-type.

Direct slots
Slot: %sampler-type
Initargs

:sampler-type

Readers

sampler-type.

Writers

This slot is read-only.

Condition: invalid-cellular-distance-method
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods
Direct slots
Slot: %distance-method
Initargs

:distance-method

Readers

distance-method.

Writers

This slot is read-only.

Slot: %valid-distance-methods
Initargs

:valid-distance-methods

Readers

valid-distance-methods.

Writers

This slot is read-only.

Condition: invalid-cellular-output-type
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods
Direct slots
Slot: %output-type
Initargs

:output-type

Readers

output-type.

Writers

This slot is read-only.

Slot: %valid-output-types
Initargs

:valid-output-types

Readers

valid-output-types.

Writers

This slot is read-only.

Condition: invalid-fractal-octave-count
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods

value.

Direct slots
Slot: %value
Initargs

:value

Readers

value.

Writers

This slot is read-only.

Condition: invalid-open-simplex2-orientation
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods
Direct slots
Slot: %orientation
Initargs

:orientation

Readers

orientation.

Writers

This slot is read-only.

Slot: %valid-orientations
Initargs

:valid-orientations

Readers

valid-orientations.

Writers

This slot is read-only.

Condition: invalid-real-argument
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods
Direct slots
Slot: %argument
Initargs

:argument

Readers

argument.

Writers

This slot is read-only.

Slot: %value
Initargs

:value

Readers

value.

Writers

This slot is read-only.

Condition: invalid-sampler-argument
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods
Direct slots
Slot: %argument
Initargs

:argument

Readers

argument.

Writers

This slot is read-only.

Slot: %value
Initargs

:value

Readers

value.

Writers

This slot is read-only.

Condition: invalid-seed
Package

%cricket.internal.

Source

conditions.lisp.

Direct superclasses

cricket-error.

Direct methods

seed.

Direct slots
Slot: %seed
Initargs

:seed

Readers

seed.

Writers

This slot is read-only.


6.1.6 Structures

Structure: *
Package

%cricket.modifiers.

Source

multiply.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.multiply.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.multiply.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: +
Package

%cricket.modifiers.

Source

add.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.add.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.add.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: -
Package

%cricket.modifiers.

Source

subtract.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.subtract.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.subtract.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: /
Package

%cricket.modifiers.

Source

divide.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.divide.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.divide.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: abs
Package

%cricket.modifiers.

Source

abs.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.abs.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Structure: billow-2d
Package

%cricket.generators.

Source

billow-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.billow-2d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.billow-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.billow-2d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.billow-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.billow-2d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.billow-2d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: billow-3d
Package

%cricket.generators.

Source

billow-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.billow-3d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.billow-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.billow-3d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.billow-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.billow-3d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.billow-3d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: billow-4d
Package

%cricket.generators.

Source

billow-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.billow-4d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.billow-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.billow-4d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.billow-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.billow-4d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.billow-4d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: blend
Package

%cricket.modifiers.

Source

blend.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.blend.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.blend.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Slot: control
Package

%cricket.modifiers.blend.

Type

%cricket.internal:sampler

Readers

control.

Writers

(setf control).

Structure: cache
Package

%cricket.modifiers.

Source

cache.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.cache.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: cached-p
Package

%cricket.modifiers.cache.

Type

boolean

Readers

cached-p.

Writers

(setf cached-p).

Slot: value
Package

%cricket.modifiers.cache.

Type

mfiano-utils:f32

Initform

0.0

Readers

value.

Writers

(setf value).

Slot: x
Package

%cricket.modifiers.cache.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

x.

Writers

(setf x).

Slot: y
Package

%cricket.modifiers.cache.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

y.

Writers

(setf y).

Slot: z
Package

%cricket.modifiers.cache.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

z.

Writers

(setf z).

Slot: w
Package

%cricket.modifiers.cache.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

w.

Writers

(setf w).

Structure: cellular-2d
Package

%cricket.generators.

Source

cellular-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: seed
Package

%cricket.generators.cellular-2d.

Type

mfiano-utils:ub32

Initform

0

Readers

seed.

Writers

(setf seed).

Slot: distance-method
Package

%cricket.generators.cellular-2d.

Type

(member :manhattan :euclidean :euclidean-squared :chebyshev :minkowski4)

Initform

:euclidean

Readers

distance-method.

Writers

(setf distance-method).

Slot: output-type
Package

%cricket.generators.cellular-2d.

Type

(member :value :f1 :f2 :f1+f2 :f2-f1 :f1*f2 :f1/f2)

Initform

:f1

Readers

output-type.

Writers

(setf output-type).

Slot: jitter
Package

%cricket.generators.cellular-2d.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

jitter.

Writers

(setf jitter).

Structure: cellular-3d
Package

%cricket.generators.

Source

cellular-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: seed
Package

%cricket.generators.cellular-3d.

Type

mfiano-utils:ub32

Initform

0

Readers

seed.

Writers

(setf seed).

Slot: distance-method
Package

%cricket.generators.cellular-3d.

Type

(member :manhattan :euclidean :euclidean-squared :chebyshev :minkowski4)

Initform

:euclidean

Readers

distance-method.

Writers

(setf distance-method).

Slot: output-type
Package

%cricket.generators.cellular-3d.

Type

(member :value :f1 :f2 :f1+f2 :f2-f1 :f1*f2 :f1/f2)

Initform

:f1

Readers

output-type.

Writers

(setf output-type).

Slot: jitter
Package

%cricket.generators.cellular-3d.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

jitter.

Writers

(setf jitter).

Structure: checker-2d
Package

%cricket.generators.

Source

checker-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Structure: clamp
Package

%cricket.modifiers.

Source

clamp.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.clamp.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: min
Package

%cricket.modifiers.clamp.

Type

mfiano-utils:f32

Initform

-1.0

Readers

min.

Writers

(setf min).

Slot: max
Package

%cricket.modifiers.clamp.

Type

mfiano-utils:f32

Initform

1.0

Readers

max.

Writers

(setf max).

Structure: constant
Package

%cricket.generators.

Source

constant.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: value
Package

%cricket.generators.constant.

Type

mfiano-utils:f32

Initform

0.5

Readers

value.

Writers

(setf value).

Structure: curve
Package

%cricket.modifiers.

Source

curve.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.curve.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: control-points
Package

%cricket.modifiers.curve.

Type

simple-vector

Initform

(make-array 0)

Readers

control-points.

Writers

(setf control-points).

Structure: cylinders-3d
Package

%cricket.generators.

Source

cylinders-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: frequency
Package

%cricket.generators.cylinders-3d.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

frequency.

Writers

(setf frequency).

Structure: displace
Package

%cricket.modifiers.

Source

displace.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.displace.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: x
Package

%cricket.modifiers.displace.

Type

(or %cricket.internal:sampler null)

Readers

x.

Writers

(setf x).

Slot: y
Package

%cricket.modifiers.displace.

Type

(or %cricket.internal:sampler null)

Readers

y.

Writers

(setf y).

Slot: z
Package

%cricket.modifiers.displace.

Type

(or %cricket.internal:sampler null)

Readers

z.

Writers

(setf z).

Slot: w
Package

%cricket.modifiers.displace.

Type

(or %cricket.internal:sampler null)

Readers

w.

Writers

(setf w).

Structure: expt
Package

%cricket.modifiers.

Source

expt.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.expt.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: power
Package

%cricket.modifiers.expt.

Type

mfiano-utils:f32

Initform

1.0

Readers

power.

Writers

(setf power).

Structure: fbm-2d
Package

%cricket.generators.

Source

fbm-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.fbm-2d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.fbm-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.fbm-2d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.fbm-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.fbm-2d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.fbm-2d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: fbm-3d
Package

%cricket.generators.

Source

fbm-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.fbm-3d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.fbm-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.fbm-3d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.fbm-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.fbm-3d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.fbm-3d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: fbm-4d
Package

%cricket.generators.

Source

fbm-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.fbm-4d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.fbm-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.fbm-4d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.fbm-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.fbm-4d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.fbm-4d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: hybrid-multifractal-2d
Package

%cricket.generators.

Source

hybrid-multifractal-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.hybrid-multifractal-2d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.hybrid-multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.hybrid-multifractal-2d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.hybrid-multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.hybrid-multifractal-2d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.hybrid-multifractal-2d.

Type

mfiano-utils:f32

Initform

0.25

Readers

persistence.

Writers

(setf persistence).

Structure: hybrid-multifractal-3d
Package

%cricket.generators.

Source

hybrid-multifractal-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.hybrid-multifractal-3d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.hybrid-multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.hybrid-multifractal-3d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.hybrid-multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.hybrid-multifractal-3d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.hybrid-multifractal-3d.

Type

mfiano-utils:f32

Initform

0.25

Readers

persistence.

Writers

(setf persistence).

Structure: hybrid-multifractal-4d
Package

%cricket.generators.

Source

hybrid-multifractal-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.hybrid-multifractal-4d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.hybrid-multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.hybrid-multifractal-4d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.hybrid-multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.hybrid-multifractal-4d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.hybrid-multifractal-4d.

Type

mfiano-utils:f32

Initform

0.25

Readers

persistence.

Writers

(setf persistence).

Structure: image
Package

%cricket.map.

Source

image.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: width
Type

mfiano-utils:ub32

Initform

0

Readers

image-width.

Writers

(setf image-width).

Slot: height
Type

mfiano-utils:ub32

Initform

0

Readers

image-height.

Writers

(setf image-height).

Slot: data
Type

simple-vector

Initform

(make-array 0)

Readers

image-data.

Writers

(setf image-data).

Structure: map
Package

%cricket.map.

Source

map.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: width
Type

mfiano-utils:ub24

Initform

512

Readers

map-width.

Writers

(setf map-width).

Slot: height
Type

mfiano-utils:ub24

Initform

512

Readers

map-height.

Writers

(setf map-height).

Slot: data
Type

mfiano-utils:f32a

Initform

(mfiano-utils:make-f32-array 0)

Readers

map-data.

Writers

(setf map-data).

Structure: max
Package

%cricket.modifiers.

Source

max.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.max.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.max.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: min
Package

%cricket.modifiers.

Source

min.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.min.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.min.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: multifractal-2d
Package

%cricket.generators.

Source

multifractal-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.multifractal-2d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.multifractal-2d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.multifractal-2d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.multifractal-2d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: multifractal-3d
Package

%cricket.generators.

Source

multifractal-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.multifractal-3d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.multifractal-3d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.multifractal-3d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.multifractal-3d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: multifractal-4d
Package

%cricket.generators.

Source

multifractal-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.multifractal-4d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.multifractal-4d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.multifractal-4d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.multifractal-4d.

Type

mfiano-utils:f32

Initform

0.5

Readers

persistence.

Writers

(setf persistence).

Structure: negate
Package

%cricket.modifiers.

Source

negate.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.negate.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Structure: open-simplex-2d
Package

%cricket.generators.

Source

open-simplex-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.open-simplex-2d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: open-simplex-3d
Package

%cricket.generators.

Source

open-simplex-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.open-simplex-3d.

Type

(mfiano-utils:ub8a 256)

Initform

%cricket.generators.open-simplex-3d::+permutation+

Readers

table.

Writers

(setf table).

Structure: open-simplex-4d
Package

%cricket.generators.

Source

open-simplex-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.open-simplex-4d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: open-simplex2f-2d
Package

%cricket.generators.

Source

open-simplex2f-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: gradients
Package

%cricket.generators.open-simplex2f-2d.

Type

(mfiano-utils:f64a 4096)

Initform

(mfiano-utils:make-f64-array 4096)

Readers

gradients.

Writers

(setf gradients).

Slot: table
Package

%cricket.generators.open-simplex2f-2d.

Type

(mfiano-utils:b16a 2048)

Initform

(mfiano-utils:make-b16-array 2048)

Readers

table.

Writers

(setf table).

Slot: orientation
Package

%cricket.generators.open-simplex2f-2d.

Type

(member :standard :x/y)

Initform

:standard

Readers

orientation.

Writers

(setf orientation).

Structure: open-simplex2f-3d
Package

%cricket.generators.

Source

open-simplex2f-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: gradients
Package

%cricket.generators.open-simplex2f-3d.

Type

(mfiano-utils:f64a 6144)

Initform

(mfiano-utils:make-f64-array 6144)

Readers

gradients.

Writers

(setf gradients).

Slot: table
Package

%cricket.generators.open-simplex2f-3d.

Type

(mfiano-utils:b16a 2048)

Initform

(mfiano-utils:make-b16-array 2048)

Readers

table.

Writers

(setf table).

Slot: orientation
Package

%cricket.generators.open-simplex2f-3d.

Type

(member :standard :xy/z :xz/y)

Initform

:standard

Readers

orientation.

Writers

(setf orientation).

Structure: open-simplex2f-4d
Package

%cricket.generators.

Source

open-simplex2f-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: gradients
Package

%cricket.generators.open-simplex2f-4d.

Type

(mfiano-utils:f64a 8192)

Initform

(mfiano-utils:make-f64-array 8192)

Readers

gradients.

Writers

(setf gradients).

Slot: table
Package

%cricket.generators.open-simplex2f-4d.

Type

(mfiano-utils:b16a 2048)

Initform

(mfiano-utils:make-b16-array 2048)

Readers

table.

Writers

(setf table).

Slot: orientation
Package

%cricket.generators.open-simplex2f-4d.

Type

(member :standard :xy/zw :xz/yw :xyz/w)

Initform

:standard

Readers

orientation.

Writers

(setf orientation).

Structure: open-simplex2s-2d
Package

%cricket.generators.

Source

open-simplex2s-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: gradients
Package

%cricket.generators.open-simplex2s-2d.

Type

(mfiano-utils:f64a 4096)

Initform

(mfiano-utils:make-f64-array 4096)

Readers

gradients.

Writers

(setf gradients).

Slot: table
Package

%cricket.generators.open-simplex2s-2d.

Type

(mfiano-utils:b16a 2048)

Initform

(mfiano-utils:make-b16-array 2048)

Readers

table.

Writers

(setf table).

Slot: orientation
Package

%cricket.generators.open-simplex2s-2d.

Type

(member :standard :x/y)

Initform

:standard

Readers

orientation.

Writers

(setf orientation).

Structure: open-simplex2s-3d
Package

%cricket.generators.

Source

open-simplex2s-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: gradients
Package

%cricket.generators.open-simplex2s-3d.

Type

(mfiano-utils:f64a 6144)

Initform

(mfiano-utils:make-f64-array 6144)

Readers

gradients.

Writers

(setf gradients).

Slot: table
Package

%cricket.generators.open-simplex2s-3d.

Type

(mfiano-utils:b16a 2048)

Initform

(mfiano-utils:make-b16-array 2048)

Readers

table.

Writers

(setf table).

Slot: orientation
Package

%cricket.generators.open-simplex2s-3d.

Type

(member :standard :xy/z :xz/y)

Initform

:standard

Readers

orientation.

Writers

(setf orientation).

Structure: open-simplex2s-4d
Package

%cricket.generators.

Source

open-simplex2s-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: gradients
Package

%cricket.generators.open-simplex2s-4d.

Type

(mfiano-utils:f64a 8192)

Initform

(mfiano-utils:make-f64-array 8192)

Readers

gradients.

Writers

(setf gradients).

Slot: table
Package

%cricket.generators.open-simplex2s-4d.

Type

(mfiano-utils:b16a 2048)

Initform

(mfiano-utils:make-b16-array 2048)

Readers

table.

Writers

(setf table).

Slot: orientation
Package

%cricket.generators.open-simplex2s-4d.

Type

(member :standard :xy/zw :xz/yw :xyz/w)

Initform

:standard

Readers

orientation.

Writers

(setf orientation).

Structure: perlin-1d
Package

%cricket.generators.

Source

perlin-1d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.perlin-1d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: perlin-2d
Package

%cricket.generators.

Source

perlin-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.perlin-2d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: perlin-3d
Package

%cricket.generators.

Source

perlin-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.perlin-3d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: perlin-4d
Package

%cricket.generators.

Source

perlin-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.perlin-4d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: power
Package

%cricket.modifiers.

Source

power.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.power.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.power.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Structure: ridged-multifractal-2d
Package

%cricket.generators.

Source

ridged-multifractal-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.ridged-multifractal-2d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.ridged-multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.ridged-multifractal-2d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.ridged-multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.ridged-multifractal-2d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.ridged-multifractal-2d.

Type

mfiano-utils:f32

Initform

1.0

Readers

persistence.

Writers

(setf persistence).

Slot: attenuation
Package

%cricket.generators.ridged-multifractal-2d.

Type

mfiano-utils:f32

Initform

2.0

Readers

attenuation.

Writers

(setf attenuation).

Structure: ridged-multifractal-3d
Package

%cricket.generators.

Source

ridged-multifractal-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.ridged-multifractal-3d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.ridged-multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.ridged-multifractal-3d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.ridged-multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.ridged-multifractal-3d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.ridged-multifractal-3d.

Type

mfiano-utils:f32

Initform

1.0

Readers

persistence.

Writers

(setf persistence).

Slot: attenuation
Package

%cricket.generators.ridged-multifractal-3d.

Type

mfiano-utils:f32

Initform

2.0

Readers

attenuation.

Writers

(setf attenuation).

Structure: ridged-multifractal-4d
Package

%cricket.generators.

Source

ridged-multifractal-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: sources
Package

%cricket.generators.ridged-multifractal-4d.

Type

simple-vector

Initform

(vector)

Readers

sources.

Writers

(setf sources).

Slot: scale
Package

%cricket.generators.ridged-multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

scale.

Writers

(setf scale).

Slot: octaves
Package

%cricket.generators.ridged-multifractal-4d.

Type

(integer 1 32)

Initform

4

Readers

octaves.

Writers

(setf octaves).

Slot: frequency
Package

%cricket.generators.ridged-multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

frequency.

Writers

(setf frequency).

Slot: lacunarity
Package

%cricket.generators.ridged-multifractal-4d.

Type

mfiano-utils:f32

Initform

2.0

Readers

lacunarity.

Writers

(setf lacunarity).

Slot: persistence
Package

%cricket.generators.ridged-multifractal-4d.

Type

mfiano-utils:f32

Initform

1.0

Readers

persistence.

Writers

(setf persistence).

Slot: attenuation
Package

%cricket.generators.ridged-multifractal-4d.

Type

mfiano-utils:f32

Initform

2.0

Readers

attenuation.

Writers

(setf attenuation).

Structure: rotate
Package

%cricket.modifiers.

Source

rotate.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.rotate.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: rx1
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

rx1.

Writers

(setf rx1).

Slot: rx2
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

rx2.

Writers

(setf rx2).

Slot: rx3
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

rx3.

Writers

(setf rx3).

Slot: ry1
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

ry1.

Writers

(setf ry1).

Slot: ry2
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

ry2.

Writers

(setf ry2).

Slot: ry3
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

ry3.

Writers

(setf ry3).

Slot: rz1
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

rz1.

Writers

(setf rz1).

Slot: rz2
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

rz2.

Writers

(setf rz2).

Slot: rz3
Package

%cricket.modifiers.rotate.

Type

mfiano-utils:f64

Initform

0.0d0

Readers

rz3.

Writers

(setf rz3).

Structure: sampler
Package

%cricket.internal.

Source

common.lisp.

Direct superclasses

structure-object.

Direct subclasses
Direct methods

print-object.

Direct slots
Slot: rng
Type

(or seedable-rng:generator null)

Readers

sampler-rng.

Writers

(setf sampler-rng).

Structure: scale
Package

%cricket.modifiers.

Source

scale.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.scale.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: x
Package

%cricket.modifiers.scale.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

x.

Writers

(setf x).

Slot: y
Package

%cricket.modifiers.scale.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

y.

Writers

(setf y).

Slot: z
Package

%cricket.modifiers.scale.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

z.

Writers

(setf z).

Slot: w
Package

%cricket.modifiers.scale.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

w.

Writers

(setf w).

Structure: select
Package

%cricket.modifiers.

Source

select.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source1
Package

%cricket.modifiers.select.

Type

%cricket.internal:sampler

Readers

source1.

Writers

(setf source1).

Slot: source2
Package

%cricket.modifiers.select.

Type

%cricket.internal:sampler

Readers

source2.

Writers

(setf source2).

Slot: control
Package

%cricket.modifiers.select.

Type

%cricket.internal:sampler

Readers

control.

Writers

(setf control).

Slot: min
Package

%cricket.modifiers.select.

Type

mfiano-utils:f32

Initform

-1.0

Readers

min.

Writers

(setf min).

Slot: max
Package

%cricket.modifiers.select.

Type

mfiano-utils:f32

Initform

1.0

Readers

max.

Writers

(setf max).

Slot: falloff
Package

%cricket.modifiers.select.

Type

mfiano-utils:f32

Initform

0.0

Readers

falloff.

Writers

(setf falloff).

Structure: simplex-1d
Package

%cricket.generators.

Source

simplex-1d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.simplex-1d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: simplex-2d
Package

%cricket.generators.

Source

simplex-2d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.simplex-2d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: simplex-3d
Package

%cricket.generators.

Source

simplex-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.simplex-3d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: simplex-4d
Package

%cricket.generators.

Source

simplex-4d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: table
Package

%cricket.generators.simplex-4d.

Type

(mfiano-utils:ub8a 512)

Readers

table.

Writers

(setf table).

Structure: spheres-3d
Package

%cricket.generators.

Source

spheres-3d.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: frequency
Package

%cricket.generators.spheres-3d.

Type

mfiano-utils:f64

Initform

1.0d0

Readers

frequency.

Writers

(setf frequency).

Structure: strengthen
Package

%cricket.modifiers.

Source

strengthen.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.strengthen.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: strength
Package

%cricket.modifiers.strengthen.

Type

mfiano-utils:f32

Initform

1.0

Readers

strength.

Writers

(setf strength).

Slot: bias
Package

%cricket.modifiers.strengthen.

Type

mfiano-utils:f32

Initform

0.0

Readers

bias.

Writers

(setf bias).

Structure: terrace
Package

%cricket.modifiers.

Source

terrace.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.terrace.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: control-points
Package

%cricket.modifiers.terrace.

Type

mfiano-utils:f32a

Initform

(mfiano-utils:make-f32-array 0)

Readers

control-points.

Writers

(setf control-points).

Slot: invert-p
Package

%cricket.modifiers.terrace.

Type

boolean

Readers

invert-p.

Writers

(setf invert-p).

Structure: translate
Package

%cricket.modifiers.

Source

translate.lisp.

Direct superclasses

sampler.

Direct methods

sample.

Direct slots
Slot: source
Package

%cricket.modifiers.translate.

Type

%cricket.internal:sampler

Readers

source.

Writers

(setf source).

Slot: x
Package

%cricket.modifiers.translate.

Type

mfiano-utils:f32

Initform

0.0

Readers

x.

Writers

(setf x).

Slot: y
Package