Skip to content

Commit

Permalink
tweak wall generation a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed May 21, 2024
1 parent 21a9e41 commit 354de48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/js/main.js

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

4 changes: 2 additions & 2 deletions src/amaze/maze_generation.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
[[x y]])))

(defn- fade-out [start]
(- 0.9
(* 0.00005 (- (q/millis) start))))
(- 0.6
(* 0.00001 (- (q/millis) start))))

(defn- create-elliptical-walls [{:keys [scene-start]}]
(let [a (quot width 6)
Expand Down

0 comments on commit 354de48

Please sign in to comment.