Skip to content

Commit e5dd2fc

Browse files
authored
Merge branch 'ClojureCivitas:main' into apriori
2 parents ce36c01 + ec42067 commit e5dd2fc

13 files changed

Lines changed: 2793 additions & 23 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<img src="src/images/civitas-icon.svg" alt="Civitas Icon" align="right">
44

5-
Clojure Civitas makes it easy for you to publish Clojure ideas and explorations
6-
without the overhead of setting up a new project, blog, or repo.
5+
Clojure Civitas is a shared [blog](https://clojurecivitas.github.io/posts.html) space for your ideas and explorations.
6+
Clojure Civitas makes it easy for you to publish Clojure ideas and explorations without the overhead of setting up a new project, blog, or repo.
77
Whether you're sketching out a quick experiment or writing a deeper post,
8-
just fork this repo, create a namespace, write, commit and submit a pull request.
8+
just fork this repo, add a namespace, write, commit and submit a pull request.
99
This is your shared scratch space.
1010

1111
Think. Code. Share.

deps.edn

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@
4141
org.lwjgl/lwjgl-stb$natives-macos {:mvn/version "3.3.6"}
4242
generateme/fastmath {:mvn/version "3.0.0-alpha3"}
4343
clj-http/clj-http {:mvn/version "3.13.1"}
44+
45+
com.github.psambit9791/jdsp {:mvn/version "3.1.0"}
4446

45-
org.soulspace/qclojure {:mvn/version "0.21.0"}
47+
org.soulspace/qclojure {:mvn/version "0.22.0"}
48+
org.babashka/http-client {:mvn/version "0.4.22"}
4649
}
4750

4851
:aliases

site/data_analysis/heart_rate_variability/exploring_heart_rate_variability.qmd

Lines changed: 822 additions & 0 deletions
Large diffs are not rendered by default.

site/db.edn

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
:affiliation [:cim]}
128128
{:id :tanvi
129129
:name "Tanvi Nagar"
130+
:email "tanvi@connect.hku.hk"
130131
:affiliation [:cim]}
131132
{:id :luke-zeitlin
132133
:name "Luke Zeitlin"
@@ -135,7 +136,12 @@
135136
:name "Ludger Solbach"
136137
:url "https://github.com/lsolbach"
137138
:links [{:icon "github" :href "https://github.com/lsolbach"}]
138-
:affiliation []}]
139+
:affiliation []}
140+
{:id :bsless
141+
:name "Ben Sless"
142+
:image "https://avatars.githubusercontent.com/u/21342111?v=4"
143+
:url "https://bsless.github.io/"
144+
:links [{:icon "github" :href "https://github.com/bsless"}]}]
139145

140146
:affiliation
141147
[{:id :clojure.core
@@ -266,6 +272,13 @@
266272
:topic [:web :web/backend]
267273
:level 2}
268274

275+
{:id "replicant"
276+
:title "Replicant Documentation"
277+
:url "https://replicant.fun/"
278+
:format :library-docs
279+
:topic [:web :web/backend]
280+
:level 2}
281+
269282
;; ===== DATA =====
270283
{:id "tablecloth"
271284
:title "Tablecloth: Dataframe Library"

src/civitas/explorer/geometry.clj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
(defn cube-spiral [radius]
5858
(mapcat cube-ring (range radius)))
5959

60+
(defn spiral [radius]
61+
(->> (cube-spiral radius)
62+
(map cube-to-cartesian-flat)))
63+
6064
(defn walk-radially [start-pos dir steps]
6165
(->> (iterate #(neighbor % dir) start-pos)
6266
(take (inc steps))))

0 commit comments

Comments
 (0)