A Clojure port of the easings.net easing functions. Orignal source code may be found at ai/easings.net.
Leiningen/Boot
[com.dedovic/easings-clj "0.1.0"]
Clojure CLI/deps.edn
com.dedovic/easings-clj {:mvn/version "0.1.0"}
Gradle
compile 'com.dedovic:easings-clj:0.1.0'
Maven
<dependency>
<groupId>com.dedovic</groupId>
<artifactId>easings-clj</artifactId>
<version>0.1.0</version>
</dependency>
(require 'easings.core :as ease)
(ease/ease-in-sine 0.2)
ease-[in|out|in-out]-sine
ease-[in|out|in-out]-quad
ease-[in|out|in-out]-cubic
ease-[in|out|in-out]-quart
ease-[in|out|in-out]-quint
ease-[in|out|in-out]-expo
ease-[in|out|in-out]-circ
ease-[in|out|in-out]-back
shadow-cljs.edn
, package.json
, etc. for cljs library.cljc
file extension to support cross-platform usagemath.cljc
namespace that uses reader conditional to either consume Java or JavaScript standard librariesAdded:
lein test
npx shadow-cljs compile tests
Can you improve this documentation? These fine people already did:
Stevan Dedovic & stevanEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close