(at x y p)
returns a draw-fn which draws p
at origin [x y]
returns a draw-fn which draws `p` at origin `[x y]`
(divides? n d)
returns true
if d
divides n
returns `true` if `d` divides `n`
(in w h p)
returns a draw-fn which draws p
in a box of size [w h]
returns a draw-fn which draws `p` in a box of size `[w h]`
(n-ticks? n)
returns true only every n
ticks
returns true only every `n` ticks
(spin theta p)
returns a draw-fn which draws p
at angle theta
returns a draw-fn which draws `p` at angle `theta`
(stroke-weight)
gets the stroke weight of the current graphics context
gets the stroke weight of the current graphics context
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close