From 9e20a60d713d163b7402c75c37762777624cf79f Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Sat, 30 Aug 2025 12:59:49 +0100 Subject: [PATCH] Very small bug in sanitise-angle, fixed. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b938f38..c6bdd84 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@ p (pos? angle) v (cond (.isNaN js/Number a) 0 (< a 0.5) 0 - (<= a 360) angle + (<= a 360) a ;; TODO: `rem` is possibly wrong when we get into negative numbers :else (loop [r a] (if (<= r 360) r