From 7b2be86dbb684b2ee78e699a6c761a80866d6623 Mon Sep 17 00:00:00 2001 From: Weston Date: Fri, 25 Oct 2024 15:01:19 -0400 Subject: [PATCH] Update snostorm.js --- snostorm.js | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/snostorm.js b/snostorm.js index ecc9b5b..29b9889 100644 --- a/snostorm.js +++ b/snostorm.js @@ -1,7 +1,4 @@ // SnoJS Snowstorm BETA - -//TODO: mobile computer - // inside exe usable functions function random(max) { return Math.floor(Math.random() * max); @@ -49,6 +46,40 @@ for(i=0;i{ + var hasEither; + var screens = []; + for(i=0;i{ + for(i=0;i= 600){ + screens[i].elem.style.display="block"; + }else{ + screens[i].elem.style.display="none"; + } + } + } +} + const parseReval = () => { var hasReval; var revals = []; @@ -267,4 +298,5 @@ requestAnimationFrame( main ); renderIfs(); renderBinds(); renderFors(); + renderScreens(); };main();