Liking cljdoc? Tell your friends :D

noon.utils.contour

an experiment around simple int sequence development

an experiment around simple int sequence development
raw docstring

boundsclj

(bounds s)
source

contourclj

(contour s)
source

contour-inversionsclj

(contour-inversions x)
source

contour-mirrorclj

(contour-mirror x)
source

gen-contourclj

(gen-contour x)
(gen-contour x y)

Produce a contour vector of length 'x and height 'y

Produce a contour vector of length 'x and height 'y
sourceraw docstring

gen-lineclj

(gen-line {:keys [contour grow pick] :or {pick :rand}})

Generate a line by generating a contour, producing lines from it, picking one. options are:

  • :contour, a vector [contour-length contour-height].
  • :grow, a vector [min-grow max-grow] that is used to grow the generated contour.
  • :pick, a member-pick argument used to pick one line from generated ones. (default :rand)
Generate a line by generating a contour, producing lines from it, picking one.
options are:
- :contour, a vector [contour-length contour-height].
- :grow, a vector [min-grow max-grow] that is used to grow the generated contour.
- :pick, a member-pick argument used to pick one line from generated ones. (default :rand)
sourceraw docstring

linesclj

(lines contour growth)

Given a contour vector,returns a seq of increasingly wide lines following it.

Given a contour vector,returns a seq of increasingly wide lines following it.
sourceraw docstring

similarsclj

(similars s extent)

Given a sequence of ints s, builds a list of sequences that follow the same contour. The extent argument is here to bound sequence height grow and shrink. e.g extent = [-2 3] means that resulting sequence can be taller by 3 and/or smaller by 2 than s.

Given a sequence of ints `s`, builds a list of sequences that follow the same contour.
The `extent` argument is here to bound sequence height grow and shrink.
e.g `extent` = [-2 3] means that resulting sequence can be taller by 3 and/or smaller by 2 than `s`.
sourceraw docstring

sizeclj

(size s)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close