The effect has been clubbed to death, but I had to give it a whirl in ClojureScript.
You can see the live demo here.
- write idiomatic Clojure without mutation shortcuts, so no
object-array
and such - zero dependencies, so no Quill,
clojure.core.matrix
, etc - tight code without getting (too) obtuse
- visually close to the movie rendition
To launch the project and enter a REPL:
clj -m cljs.main -c matrix-rain.core -r
For an optimized build:
clj -m cljs.main -O advanced -c matrix-rain.core
then open index.html
which will load the optimized out/main.js
.
Enjoy!