Liking cljdoc? Tell your friends :D

patterning.groups


APatternclj/s

(APattern & sshapes)

a vector of sshapes

a vector of sshapes
sourceraw docstring

bottomclj/s

(bottom pattern)
source

boxclj/s

(box x y w h)
source

box->rectclj/s

(box->rect {:keys [x y width height]} style)
source

box-flipclj/s

(box-flip {:keys [x y width height]})
source

centre-pattern-in-patternclj/s

(centre-pattern-in-pattern inner-pattern outer-pattern)
source

clipclj/s

(clip p? pattern)

clips all sshapes in a pattern

clips all sshapes in a pattern
sourceraw docstring

clip-sshapeclj/s

(clip-sshape p? {:keys [style points]})

takes a predicate and a sshape, splits the sshape at any point which doesn't meet the predicate, return pattern

takes a predicate and a sshape, splits the sshape at any point which doesn't meet the predicate, return pattern
sourceraw docstring

color-setclj/s

(color-set pattern)
source

empty-patternclj/s

(empty-pattern)
source

explain-groupclj/s

(explain-group data)

Returns detailed explanation if data is not a valid group

Returns detailed explanation if data is not a valid group
sourceraw docstring

explain-sshapeclj/s

(explain-sshape data)

Returns detailed explanation if data is not a valid SShape

Returns detailed explanation if data is not a valid SShape
sourceraw docstring

extract-pointsclj/s

(extract-points {:keys [style points]})
source

filter-patternclj/s

(filter-pattern p? pattern)
source

filter-sshapes-in-patternclj/s

(filter-sshapes-in-pattern p? pattern)

this removes entire sshapes from the pattern that have points that don't match the criteria

this removes entire sshapes from the pattern that have points that don't match the criteria
sourceraw docstring

flatten-patternclj/s

(flatten-pattern pattern)
(flatten-pattern style pattern)

Flatten all sshapes into a single sshape

Flatten all sshapes into a single sshape
sourceraw docstring

groupclj/s

(group & sshapes)
source

Groupclj/s

source

h-centreclj/s

(h-centre pattern)

Assumes pattern is taller than wide so move it to horizontal centre

Assumes pattern is taller than wide so move it to horizontal centre
sourceraw docstring

h-reflectclj/s

(h-reflect pattern)
source

heightclj/s

(height pattern)
source

horizontal-centre-boxclj/s

(horizontal-centre-box inner outer)
source

horizontal-centre-pattern-in-patternclj/s

(horizontal-centre-pattern-in-pattern inner-pattern outer-pattern)
source

leftmostclj/s

(leftmost pattern)
source

mol=clj/s

(mol= pattern1 pattern2)

more or less equal patterns

more or less equal patterns
sourceraw docstring

over-styleclj/s

(over-style style pattern)

Changes the style of a pattern

Changes the style of a pattern
sourceraw docstring

pattern->boxclj/s

(pattern->box pattern)
source

Pointclj/s

source

rectclj/s

source

reframeclj/s

(reframe pattern)
source

reframe-scalerclj/s

(reframe-scaler sshape)

Takes a sshape and returns a scaler to reduce it to usual viewport coords [-1 -1][1 1]

Takes a sshape and returns a scaler to reduce it to usual viewport coords [-1 -1][1 1] 
sourceraw docstring

rightmostclj/s

(rightmost pattern)
source

rotateclj/s

(rotate da pattern)
source

scaleclj/s

(scale val pattern)
source

SShapeclj/s

source

stretchclj/s

(stretch sx sy pattern)
source

Styleclj/s

source

style-attribute-setclj/s

(style-attribute-set pattern attribute)
source

topclj/s

(top pattern)
source

translateclj/s

(translate dx dy pattern)
source

translate-toclj/s

(translate-to x y pattern)
source

triangle-list-to-patternclj/s

(triangle-list-to-pattern trs)
source

v-reflectclj/s

(v-reflect pattern)
source

validate-groupclj/s

(validate-group data)

Validates if data is a valid group (sequence of SShapes)

Validates if data is a valid group (sequence of SShapes)
sourceraw docstring

vertical-centre-boxclj/s

(vertical-centre-box inner outer)
source

vertical-centre-pattern-in-patternclj/s

(vertical-centre-pattern-in-pattern inner-pattern outer-pattern)
source

widthclj/s

(width pattern)
source

wobbleclj/s

(wobble noise pattern)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close