Liking cljdoc? Tell your friends :D
Clojure only.

lambdaisland.cljbox2d.clojure2d

Glue code to enable drawing via clojure2d library. The main difference from quil is that canvas context should be provided explicitely. Contract for a custom draw function should accept a canvas as the last parameter.

Glue code to enable drawing via `clojure2d` library.
The main difference from `quil` is that `canvas` context should be provided explicitely.
Contract for a custom `draw` function should accept a canvas as the last parameter.
raw docstring

draw!clj

(draw! canvas entity)
source

IDrawcljprotocol

draw*!clj

(draw*! fixture canvas)

draw-shape!clj

(draw-shape! shape body canvas)
source

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

× close