Liking cljdoc? Tell your friends :D

dali.geom


->standard-angleclj

(->standard-angle x)
source

->svg-angleclj

(->svg-angle x)
source

angleclj

(angle [x1 y1] [x2 y2])
source

distanceclj

(distance [x1 y1] [x2 y2])
source

distance-squaredclj

(distance-squared [x1 y1] [x2 y2])
source

slopeclj

(slope [x1 y1] [x2 y2])
source

v+clj

(v+ [x1 y1] [x2 y2])

Add two vectors.

Add two vectors.
sourceraw docstring

v-clj

(v- [x y])
(v- [x1 y1] [x2 y2])

Subtract the second vector from the first or negate a vector (single arity).

Subtract the second vector from the first or negate a
vector (single arity).
sourceraw docstring

v-halfclj

(v-half v)

Scale vector to half its magnitude.

Scale vector to half its magnitude.
sourceraw docstring

v-scaleclj

(v-scale [x y] a)

Scale vector.

Scale vector.
sourceraw docstring

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

× close