Skip to content

topalovic/matrix-rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix rain

The effect has been clubbed to death, but I had to give it a whirl in ClojureScript.

You can see the live demo here.

Goals

  • 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

Setup

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!

About

マトリックス・コード

Resources

Stars

Watchers

Forks