Skip to content

Instantly share code, notes, and snippets.

@nasser
nasser / core.cljs
Created May 12, 2016 16:49
rough sketch of reactive svg rendering
(ns savage.core
(:require-macros [reagent.ratom :refer [reaction]])
(:require [reagent.core :as reagent :refer [cursor atom track track!]]
[reagent.ratom :refer [make-reaction]]
[clojure.set :as set]
[clojure.string :as string]))
(enable-console-print!)
(defn sqrt [x] (.sqrt js/Math x))