(add-behaviors _ bmap)
(apply-behaviors _ delta)
(clear-behaviors _)
(remove-behavior _ id)
(add-constraints _ cmap)
(clear-constraints _)
(remove-constraint _ id)
(apply-constraints _ delta)
(add-velocity _ v)
(clear-velocity _)
(velocity _)
(lock _)
(apply-force _ delta)
(set-position _ p)
(add-force _ f)
(clear-force _)
(scale-velocity _ s)
(locked? _)
(unlock _)
(position _)
(update-particles _ delta)
(update-springs _ delta)
(physics {:keys [particles springs behaviors constraints drag listeners]
:or {particles []
springs []
behaviors {}
constraints {}
listeners {}
drag 0.0}})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close