From cc6a2efe4d23e5f2852ea5eb20dd5728c947b526 Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Wed, 26 May 2021 18:22:10 -0400 Subject: [PATCH] begin adding patterns --- lights.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lights.js b/lights.js index 2a57582..283d24b 100644 --- a/lights.js +++ b/lights.js @@ -36,7 +36,7 @@ export function set_pattern(pat) { } let functions = { - rand: + rand: () => { return Math.floor(Math.random() * 256) } } function tick_pattern() {