Liking cljdoc? Tell your friends :D

clisk.effects

Special effects. Images can be generated by composing these functions.

Special effects. Images can be generated by composing these functions.
raw docstring

add-glowclj

(add-glow image-with-alpha
          &
          {:keys [glow-radius glow-colour glow-background blur-image-size]
           :or {glow-radius 0.2
                glow-colour yellow
                glow-background [0.0 0.0 0.0 0.0]
                blur-image-size 256}})

Adds a glow effect to any image with an alpha channel

Adds a glow effect to any image with an alpha channel
raw docstring

monochromeclj

(monochrome src)

Converts to monochrome

Converts to monochrome
raw docstring

pixelizeclj

(pixelize size src)

Pixelizes an image with pixels of given size

Pixelizes an image with pixels of given size
raw docstring

posterizeclj

(posterize src & {:keys [bands] :or {bands 4}})

Posterization effect with discrete colour bands.

Posterization effect with discrete colour bands.
raw docstring

psychedelicclj

(psychedelic src
             &
             {:keys [noise-scale noise-bands]
              :or {noise-scale 0.2 noise-bands 2.0}})

Psychedelic colour effect

Psychedelic colour effect
raw docstring

radialclj

(radial src & {:keys [repeat] :or {repeat 1.0}})

Wraps an image around an origin in a radial fashion in the x-y plane

Wraps an image around an origin in a radial fashion in the x-y plane
raw docstring

shatterclj

(shatter src & args)

Breaks an image up into sharp irregular fragments defined by a Voronoi map

Breaks an image up into sharp irregular fragments defined by a Voronoi map
raw docstring

swirlclj

(swirl src)
(swirl rate src)

Swirls a function around the origin with a given rate

Swirls a function around the origin with a given rate
raw docstring

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

× close