Skip to content

Commit

Permalink
upgrades phlox
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Feb 6, 2020
1 parent c8aa152 commit cf4e657
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 65 deletions.
22 changes: 7 additions & 15 deletions calcit.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -130,22 +130,14 @@
|v $ {} (:type :expr) (:by |rJG4IHzWf) (:at 1573356355436) (:id |wt5cup8kOO)
:data $ {}
|T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573356356578) (:text |[]) (:id |QV31dWY5iW)
|r $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573923373027) (:text |defcomp) (:id |9m4uBsLYPV)
|v $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974176863) (:text |rect) (:id |UuPRXn8T3i)
|x $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974179009) (:text |circle) (:id |YXhIPtW-10)
|y $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974179800) (:text |text) (:id |BNLnDwbsYE)
|yT $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974254119) (:text |container) (:id |_pYCrKPUDN)
|yb $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1574181633700) (:text |graphics) (:id |4FlBzzEaJm)
|x $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974179009) (:text |circle) (:id |YXhIPtW-10)
|v $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974176863) (:text |rect) (:id |UuPRXn8T3i)
|yj $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1574007057783) (:text |create-list) (:id |skOUV8vT9K)
|r $ {} (:type :expr) (:by |rJG4IHzWf) (:at 1573370816307) (:id |zMLroYnqS8)
:data $ {}
|T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573370816307) (:text |[]) (:id |nNFrOblzhE)
|j $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1580827883411) (:text |phlox.util) (:id |PsdNyP9H_e)
|r $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573370816307) (:text |:refer) (:id |smX5mCZnzC)
|v $ {} (:type :expr) (:by |rJG4IHzWf) (:at 1573370816307) (:id |ep1FMJTdSG)
:data $ {}
|T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573370816307) (:text |[]) (:id |rXXAKSex47)
|j $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573370816307) (:text |hslx) (:id |FdGbGPeaEU)
|yb $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1574181633700) (:text |graphics) (:id |4FlBzzEaJm)
|t $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1581004273419) (:text |hslx) (:id |SEdUboga)
|r $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573923373027) (:text |defcomp) (:id |9m4uBsLYPV)
|y $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1573974179800) (:text |text) (:id |BNLnDwbsYE)
:defs $ {}
|comp-container $ {} (:type :expr) (:by |rJG4IHzWf) (:at 1573356299931) (:id |Txfqxt4rCB)
:data $ {}
Expand Down Expand Up @@ -854,7 +846,7 @@
:data $ {}
|T $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1580828755989) (:text |js/Math.random) (:id |CSO76F3Mu)
:id |swt3bOiT2
|r $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1580831126522) (:text |0.5) (:id |xTu2Iy-MO)
|r $ {} (:type :leaf) (:by |rJG4IHzWf) (:at 1580959823907) (:text |0.53) (:id |xTu2Iy-MO)
:id |5BTooYnDO
:id |BBiggnQO
:id |jkUZ6UiGm
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"shadow-cljs": "^2.8.83"
},
"dependencies": {
"color": "^3.1.2",
"pixi.js": "^5.2.1",
"shortid": "^2.2.15"
}
Expand Down
2 changes: 1 addition & 1 deletion shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[mvc-works/shell-page "0.1.10"]
[cumulo/util "0.1.10"]
[respo "0.11.5"]
[quamolit/phlox "0.0.1"]
[quamolit/phlox "0.0.3-a2"]
[org.clojure/core.incubator "0.1.4"]
]
:repositories {
Expand Down
5 changes: 2 additions & 3 deletions src/app/container.cljs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

(ns app.container
(:require [phlox.core :refer [defcomp rect circle text container graphics create-list]]
[phlox.util :refer [hslx]]))
(:require [phlox.core :refer [defcomp hslx rect circle text container graphics create-list]]))

(defn on-reset [d!]
(let [x 40
Expand All @@ -15,7 +14,7 @@
(if (or (and (< xi 3) (< yi 3))
(and (> xi (- x 4)) (> yi (- y 4))))
true
(> (js/Math.random) 0.5))))
(> (js/Math.random) 0.53))))
(vec))))
(vec))]
(d! :reset {:x x, :y y, :grids (assoc-in grids [0 0] 1)})))
Expand Down
45 changes: 0 additions & 45 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cf4e657

Please sign in to comment.