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