Liking cljdoc? Tell your friends :D

baredom.components.x-neural-glow.model


attr-color-backgroundcljs

source

attr-color-primarycljs

source

attr-color-secondarycljs

source

attr-connection-distancecljs

source

attr-interactivecljs

source

attr-opacitycljs

source

attr-orb-countcljs

source

attr-orb-sizecljs

source

attr-pulse-speedcljs

source

attr-rest-ratecljs

source

css-blend-modecljs

source

css-insetcljs

source

css-opacitycljs

source

css-z-indexcljs

source

event-schemacljs

source

fragment-shader-sourcecljs

source

init-orb-phasescljs

(init-orb-phases n)

Returns a JS array of n random phase offsets in [0, 2*PI].

Returns a JS array of n random phase offsets in [0, 2*PI].
sourceraw docstring

init-orb-positionscljs

(init-orb-positions n)

Returns a JS array of n [x, y] pairs with random values in [0, 1].

Returns a JS array of n [x, y] pairs with random values in [0, 1].
sourceraw docstring

lerpcljs

(lerp current target speed)

Linear interpolation: moves current toward target by speed fraction.

Linear interpolation: moves current toward target by speed fraction.
sourceraw docstring

normalizecljs

(normalize {:keys [orb-count-raw color-primary-raw color-secondary-raw
                   color-background-raw pulse-speed-raw rest-rate-raw
                   connection-distance-raw orb-size-raw opacity-raw
                   interactive-raw]})

Normalise raw attribute inputs into a stable view-model map.

Normalise raw attribute inputs into a stable view-model map.
sourceraw docstring

observed-attributescljs

source

parse-bool-attrcljs

(parse-bool-attr s)

Boolean from attribute presence: nil → false, any string → true.

Boolean from attribute presence: nil → false, any string → true.
sourceraw docstring

parse-colorcljs

(parse-color s default)

Parse a CSS color string. Any non-empty string passes through.

Parse a CSS color string. Any non-empty string passes through.
sourceraw docstring

parse-color-backgroundcljs

(parse-color-background s)
source

parse-color-primarycljs

(parse-color-primary s)
source

parse-color-secondarycljs

(parse-color-secondary s)
source

parse-connection-distancecljs

(parse-connection-distance s)

Parse connection-distance to float in [0.05, 0.5], default 0.15.

Parse connection-distance to float in [0.05, 0.5], default 0.15.
sourceraw docstring

parse-interactivecljs

(parse-interactive raw)

Interactive defaults to true (present when absent).

Interactive defaults to true (present when absent).
sourceraw docstring

parse-opacitycljs

(parse-opacity s)

Parse opacity to float in [0.0, 1.0], default 0.8.

Parse opacity to float in [0.0, 1.0], default 0.8.
sourceraw docstring

parse-orb-countcljs

(parse-orb-count s)

Parse orb-count to int in [3, 50], default 15.

Parse orb-count to int in [3, 50], default 15.
sourceraw docstring

parse-orb-sizecljs

(parse-orb-size s)

Parse orb-size to float in [10, 200], default 40.

Parse orb-size to float in [10, 200], default 40.
sourceraw docstring

parse-pulse-speedcljs

(parse-pulse-speed s)

Parse pulse-speed to float in [0.1, 5.0], default 1.0.

Parse pulse-speed to float in [0.1, 5.0], default 1.0.
sourceraw docstring

parse-rest-ratecljs

(parse-rest-rate s)

Parse rest-rate to float in [1.0, 10.0], default 4.0.

Parse rest-rate to float in [1.0, 10.0], default 4.0.
sourceraw docstring

property-apicljs

source

tag-namecljs

source

vertex-shader-sourcecljs

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