Liking cljdoc? Tell your friends :D

clojure2d.extra.utils

Set of various utilities which can be used to display various objects.

Set of various utilities which can be used to display various objects.
raw docstring

color->imageclj

(color->image col)

Render color and display L from LAB color space.

Input: color

Render color and display L from LAB color space.

Input: color
sourceraw docstring

gradient->imageclj

(gradient->image gradient)
(gradient->image gradient luma?)

Create image with rendered gradient.

Input: gradient function (see [[gradient]]).

Create image with rendered gradient.

Input: gradient function (see [[gradient]]).
sourceraw docstring

palette->imageclj

(palette->image palette)
(palette->image palette luma?)

Create image with rendered palette.

Input: list of colors.

Create image with rendered palette.

Input: list of colors.
sourceraw docstring

show-colorclj

(show-color col)

Display color and display L from LAB color space.

Input: color

Display color and display L from LAB color space.

Input: color
sourceraw docstring

show-gradientclj

(show-gradient gradient)
(show-gradient gradient luma?)

Display gradient.

Input: gradient function (see [[gradient]]).

Display gradient.

Input: gradient function (see [[gradient]]).
sourceraw docstring

show-imageclj

(show-image img)

Show image

Show image
sourceraw docstring

show-paletteclj

(show-palette palette)
(show-palette palette luma?)

Display palette.

Input: list of colors.

Display palette.

Input: list of colors.
sourceraw docstring

show-scalar-fieldclj

(show-scalar-field f norm-in norm-out)

Show scalar field R^2->R

Show scalar field R^2->R
sourceraw docstring

show-vector-fieldclj

(show-vector-field f norm-out)

Show scalar field R^2->R^2

Show scalar field R^2->R^2
sourceraw docstring

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

× close