        (filter #(= label %))
        count))
 
-
-(def TWO_PI (* 2 (Math/PI)))
-
-(defn sample-ring-2d [r-inner r-outer & {:keys [offsets] :or {offsets [0.0 0.0]}}]
+(defn sample-ring-2d [r-inner r-outer
+                      & {:keys [offsets] :or {offsets [0.0 0.0]}}]
   "Random [x y] inside a ring centered
   about origin with minor/major radii"
   (let [r     (+ r-inner

(ns og.clj-dstream.test-utils
  (:require [og.clj-dstream.core :as core]))

(defn cluster-count [state]
  (->> state

    [rand-x rand-y]))

(defn sample-rect [sizes offsets]
  (vec
    (map-indexed
      (fn [idx offset]
        (+ offset
           (rand (get sizes idx))))
      offsets)))