Liking cljdoc? Tell your friends :D

thi.ng.geom.physics.core


alignclj/s

(align vel strength)
source

apply-to-particleclj/s

(apply-to-particle p delta fns)
source

apply-to-particlesclj/s

(apply-to-particles particles delta fns)
source

attractclj/s

(attract pos r strength)
source

attract-particleclj/s

(attract-particle p r strength)
source

distance-constraintclj/s

(distance-constraint pred p r)
source

gravityclj/s

(gravity force)
source

IBehavioralclj/s≠protocol

add-behaviorsclj/s

(add-behaviors _ bmap)

apply-behaviorsclj/s

(apply-behaviors _ delta)

clear-behaviorsclj/s

(clear-behaviors _)

remove-behaviorclj/s

(remove-behavior _ id)
source

IConstrainedclj/s≠protocol

add-constraintsclj/s

(add-constraints _ cmap)

clear-constraintsclj/s

(clear-constraints _)

remove-constraintclj/s

(remove-constraint _ id)

apply-constraintsclj/s

(apply-constraints _ delta)
source

IParticleclj/s≠protocol

add-velocityclj/s

(add-velocity _ v)

clear-velocityclj/s

(clear-velocity _)

velocityclj/s

(velocity _)

lockclj/s

(lock _)

apply-forceclj/s

(apply-force _ delta)

set-positionclj/s

(set-position _ p)

add-forceclj/s

(add-force _ f)

clear-forceclj/s

(clear-force _)

scale-velocityclj/s

(scale-velocity _ s)

locked?clj/s

(locked? _)

unlockclj/s

(unlock _)

positionclj/s

(position _)
source

IPhysicsclj/s≠protocol

update-particlesclj/s

(update-particles _ delta)

update-springsclj/s

(update-springs _ delta)
source

ITimeStepclj/s≠protocol

timestepclj/s

(timestep _ delta)
source

particleclj/s

(particle pos)
(particle pos weight)
(particle pos weight lock?)
source

physicsclj/s

(physics {:keys [particles springs behaviors constraints drag listeners]
          :or {particles []
               springs []
               behaviors {}
               constraints {}
               listeners {}
               drag 0.0}})
source

PullbackSpringcljs

source

shape-constraint*clj/s

(shape-constraint* pred shape)
source

shape-constraint-boundaryclj/s

(shape-constraint-boundary shape)
source

shape-constraint-insideclj/s

(shape-constraint-inside shape)
source

shape-constraint-outsideclj/s

(shape-constraint-outside shape)
source

Springcljs

source

springclj/s

(spring a b rlen strength)
source

VerletParticlecljs

source

VerletPhysicscljs

source

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

× close