Patterns and pattern generators
Patterns and pattern generators
(checker a b)Checker pattern in (x,y) space, with 2*2 grid in [0..1,0..1] range
Checker pattern in (x,y) space, with 2*2 grid in [0..1,0..1] range
(checker-3D a b)Checker pattern in (x,y,z) space, with 222 grid in [0..1,0..1,0..1] range
Checker pattern in (x,y,z) space, with 2*2*2 grid in [0..1,0..1,0..1] range
4 dimensional randomly coloured unit hypercubes filling space
4 dimensional randomly coloured unit hypercubes filling space
(globe)(globe function)(globe function background)Creates a globe, returning the value of the function called on the surface of a unit sphere.
(globe) alone produces z values that Can be used as a hight map
Creates a globe, returning the value of the function called on the surface of a unit sphere. (globe) alone produces z values that Can be used as a hight map
Pattern returning a unique vector in [0..1)^4 range value for every point in 4D space
Pattern returning a unique vector in [0..1)^4 range value for every point in 4D space
(gridlines &
{:keys [colour background width scale]
:or {colour [1 1 1 1] background [0 0 0 0] width 0.0625 scale 1.0}})4 dimensional randomly coloured unit hypercubes filling space
4 dimensional randomly coloured unit hypercubes filling space
(make-multi-fractal function
&
{:keys [octaves lacunarity gain scale]
:or {octaves 8 lacunarity 2.0 gain 0.5 scale 0.5}})Creates a multi-fractal function from a given source function with additional parameters
Creates a multi-fractal function from a given source function with additional parameters
Standard 4-dimensional scalar perlin noise in range [0..1]
Standard 4-dimensional scalar perlin noise in range [0..1]
4-dimensional scalar perlin noise standardised with mean zero, range [-1..1]
4-dimensional scalar perlin noise standardised with mean zero, range [-1..1]
(seed-perlin-noise!)(seed-perlin-noise! s)Modify the perlin noise seed.
Modify the perlin noise seed.
(seed-simplex-noise!)(seed-simplex-noise! s)Modify the simplex noise seed.
Modify the simplex noise seed.
Standard 4-dimensional scalar perlin noise in range [0..1]
Standard 4-dimensional scalar perlin noise in range [0..1]
4-dimensional scalar simplex noise standardised with mean zero, range [-1..1]
4-dimensional scalar simplex noise standardised with mean zero, range [-1..1]
4 dimensional plasma, in range [-1..1]
4 dimensional plasma, in range [-1..1]
(tile pattern)Tiles a pattern in the range [0..1,0..1]
Tiles a pattern in the range [0..1,0..1]
(turbulate factor func)Adds random turbulence to a pattern according to a perlin noise offset
Adds random turbulence to a pattern according to a perlin noise offset
Classic Perlin turbulence in one dimension
Classic Perlin turbulence in one dimension
4 dimensional vector perlin noise in range [0..1]^4
4 dimensional vector perlin noise in range [0..1]^4
(voronoi & {:keys [points] :or {points DEFAULT-VORONOI-POINTS}})(voronoi-blocks & args)A patterns of angular blocks created from a voronoi map, in range [0..1]
A patterns of angular blocks created from a voronoi map, in range [0..1]
(voronoi-function function
&
{:keys [points voronoi] :or {points DEFAULT-VORONOI-POINTS}})(voronoi-points & {:keys [points voronoi] :or {points DEFAULT-VORONOI-POINTS}})4 dimensional vector plasma in range [0..1]^4
4 dimensional vector plasma in range [0..1]^4
4 dimensional vector standardised perlin noise in range [-1..1]^4
4 dimensional vector standardised perlin noise in range [-1..1]^4
4 dimensional vector plasma in range [-1..1]^4
4 dimensional vector plasma in range [-1..1]^4
Classic Perlin turbulence in 4 dimensions
Classic Perlin turbulence in 4 dimensions
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |