Skip to content

Commit

Permalink
slightly increase percent coverage and mark a problem about center
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jul 12, 2024
1 parent c7dc9ca commit ea3fbbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/shimmers/sketches/ring_impressions.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
(defn gen-circles [bounds]
(some (fn [circles] (when (and (> (count circles) 2)
(> (reduce + (map g/area circles))
(* 0.33 (g/area bounds))))
(* 0.4 (g/area bounds))))
circles))
(repeatedly 200 #(candidate-circles bounds))))

Expand Down Expand Up @@ -111,6 +111,7 @@
(defn shapes []
(let [bounds (csvg/screen width height)
circles (gen-circles bounds)
;; TODO: fix the center point so it's displaced correctly
lines (connectives circles)]
(concat (mapcat second lines)
(mapcat (fn [circle]
Expand Down

0 comments on commit ea3fbbf

Please sign in to comment.