Liking cljdoc? Tell your friends :D

lambdaisland.quil-extras


animateclj

(animate tiles fps x y)

Loops through a sequence of images, drawing one of them on each draw cycle based on the current time and fps

Loops through a sequence of images, drawing one of them on each draw cycle
based on the current time and fps
sourceraw docstring

background-imageclj

(background-image file)

Set the given image as background image, filling the entire sketch. Will resize the sketch/applet if necessary to make the aspect ratio match.

Set the given image as background image, filling the entire sketch. Will resize
the sketch/applet if necessary to make the aspect ratio match.
sourceraw docstring

draw-gridclj

(draw-grid size)

Draw a line grid over the complete sketch, with column/row numbers. Meant for identifying tile coordinates in a tile set.

Draw a line grid over the complete sketch, with column/row numbers. Meant for
identifying tile coordinates in a tile set.
sourceraw docstring

grid-strokeclj

(grid-stroke i)
source

heightclj

(height)
source

IGridcljprotocol

tileclj

(tile _ x y)
(tile _ x y w h)
source

load-gridclj

(load-grid src
           {:keys [width height pad-x pad-y scale]
            :or {pad-x 0 pad-y 0 scale 1}})
source

load-imageclj

(load-image path)
source

scale-up-pixelsclj

(scale-up-pixels src factor)

Scale an image up by an integer factor, without any blurring/smoothing

Scale an image up by an integer factor, without any blurring/smoothing
sourceraw docstring

sliceclj

(slice src x y w h)
source

tile-sequenceclj

(tile-sequence grid tile-spec num)

Slice out a number of left-to-right adjacent tiles out of a tileset

Slice out a number of left-to-right adjacent tiles out of a tileset
sourceraw docstring

widthclj

(width)
source

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

× close