Special effects. Images can be generated by composing these functions.
Special effects. Images can be generated by composing these functions.
(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
(pixelize size src)Pixelizes an image with pixels of given size
Pixelizes an image with pixels of given size
(posterize src & {:keys [bands] :or {bands 4}})Posterization effect with discrete colour bands.
Posterization effect with discrete colour bands.
(psychedelic src
&
{:keys [noise-scale noise-bands]
:or {noise-scale 0.2 noise-bands 2.0}})Psychedelic colour effect
Psychedelic colour effect
(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
(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
(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
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 |