5 ms·
A few cool things about CanHeKickIt: The entire app is written in Clojure, with the exception of some less for css. I'm using ClojureScript, a compiler for Cl
by dwwoelfel 14y ago
A few cool things about CanHeKickIt:
The entire app is written in Clojure, with the exception of some less for css.
I'm using ClojureScript, a compiler for Clojure that targets JavaScript. This means that I'm able to use the same code on the front-end as I do on the back-end. The code that draws the graph, for instance, is exactly the same in Clojure and ClojureScript. Most everything works even if javascript is disabled (try http://canhekick.it/togglejs http://canhekick.it/togglejs).
It uses a kd-tree to store the points in the graph. This lets me efficiently place the tooltip when someone hovers over the graph.