An event looping abstraction to be used as the driving loop for a game engine, Elmish frontend, etc.
Add net.clojars.jamesaorson/brain
to your project
[net.clojars.jamesaorson/brain "0.0.1"]
net.clojars.jamesaorson/brain {:mvn/version "0.0.1"}
implementation("net.clojars.jamesaorson:brain:0.0.1")
<dependency>
<groupId>net.clojars.jamesaorson</groupId>
<artifactId>brain</artifactId>
<version>0.0.1</version>
</dependency>
Refer to main.clj
for an ever-evolving, documenting example project, meant to demonstrate every feature of the engine simultaneously.
Over time, this will lead to the most wild and insane application you can imagine.
Please help to make it so.
Additional examples will come to live in their namesake
For Linux or MacOS, install Clojure via Brew:
# NOTE: https://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Add brew to your path...
brew install clojure/tools/clojure
Install leiningen for your platform
For Debian/Ubuntu:
sudo apt-get install -y leiningen
For MacOS:
brew install leiningen
./scripts/install_babashka.bash
For Debian/Ubuntu:
sudo apt-get install -y jq
For MacOS:
brew install jq
./scripts/lint.bb
./scripts/build.bb
./scripts/run.bb
./scripts/test.bb
Simply click this link, and follow the instructions here to create a patchset, sending the patchset email to the following for the brain mailing list: ~jamesaorson/brain@lists.sr.ht
Can you improve this documentation?Edit on sourcehut
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close