Set of various utilities which can be used to display various objects.
Set of various utilities which can be used to display various objects.
(color->image col)
Render image.
Input: color
Render image. Input: color
(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]]).
(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.
(show-color col)
Display color.
Input: color
Display color. Input: color
(show-gradient gradient)
(show-gradient gradient luma?)
Display gradient.
Input: gradient function (see [[gradient]]).
Display gradient. Input: gradient function (see [[gradient]]).
(show-palette palette)
(show-palette palette luma?)
Display palette.
Input: list of colors.
Display palette. Input: list of colors.
(show-scalar-field f norm-in norm-out)
Show scalar field R^2->R
Show scalar field R^2->R
(show-vector-field f norm-out)
Show scalar field R^2->R^2
Show scalar field R^2->R^2
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close