Liking cljdoc? Tell your friends :D

bocko.core


*color*clj/s

The color used for plotting.

The color used for plotting.
raw docstring

clearclj/s

(clear)

Clears this screen.

Clears this screen.
raw docstring

colorclj/s

(color c)

Sets the color for plotting.

The color must be one of the following:

:black :red :dark-blue :purple :dark-green :dark-gray :medium-blue :light-blue :brown :orange :light-gray :pink :light-green :yellow :aqua :white

Sets the color for plotting.

The color must be one of the following:

:black        :red        :dark-blue    :purple
:dark-green   :dark-gray  :medium-blue  :light-blue
:brown        :orange     :light-gray   :pink
:light-green  :yellow     :aqua         :white
raw docstring

hlinclj/s

(hlin x1 x2 y)

Plots a horizontal line from x1 to x2 at a given y.

The x and y numbers must be between 0 and 39.

Plots a horizontal line from x1 to x2 at a given y.

The x and y numbers must be between 0 and 39.
raw docstring

plotclj/s

(plot x y)

Plots a point at a given x and y.

Both x and y must be between 0 and 39.

Plots a point at a given x and y.

Both x and y must be between 0 and 39.
raw docstring

scrnclj/s

(scrn x y)

Gets the color at a given x and y.

Both x and y must be between 0 and 39.

Gets the color at a given x and y.

Both x and y must be between 0 and 39.
raw docstring

set-create-canvasclj/s

(set-create-canvas f)

Sets a function that creates a 'canvas'. The function will be passed the color-map, the raster atom, and raster width and height and desires pixel-width and pixel-height.

Sets a function that creates a 'canvas'. The function will
be passed the color-map, the raster atom, and raster width and
height and desires pixel-width and pixel-height.
raw docstring

vlinclj/s

(vlin y1 y2 x)

Plots a vertical line from y1 to y2 at a given x.

The x and y numbers must be between 0 and 39.

Plots a vertical line from y1 to y2 at a given x.

The x and y numbers must be between 0 and 39.
raw docstring

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

× close