(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
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close