Skip to content

Commit

Permalink
some random modular timing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Aug 9, 2024
1 parent 42a4b3b commit f4457a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shimmers/scratch/timing.cljs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(ns shimmers.scratch.timing)

(comment
(map (fn [x] (mod (+ (int (/ x 24)) (int (/ x 23))) 7)) (filter (fn [x] (= (mod x 8) 0)) (range 512)))
(map (fn [x] [x (mod (int (/ x 29)) 7)])
(filter (fn [x] (= (mod x 16) (mod (int (/ x 64)) 3))) (range 512))))

0 comments on commit f4457a4

Please sign in to comment.