From 83964eacb9943914963c6d6bed78f2ab06e3d6c0 Mon Sep 17 00:00:00 2001 From: mehbark Date: Sun, 3 Sep 2023 09:12:45 -0400 Subject: [PATCH] undelayed gratification --- html/blowing-in-the-wind.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/blowing-in-the-wind.tsx b/html/blowing-in-the-wind.tsx index 30fa014..5310e17 100644 --- a/html/blowing-in-the-wind.tsx +++ b/html/blowing-in-the-wind.tsx @@ -21,7 +21,7 @@ const grass_colors = ["#9DDA33", "#10F565"]; // i should really have more randomness utilities const blade_delay = (x: number, y: number): number => { const t = x + y; - return t + (Math.random() - 0.5) * 1.5; + return t + (Math.random() - 0.5) * 1.5 - 120; // return Math.sin(t / 3) < 0 ? 3 * Math.sin(t) : Math.sin(t) / 4; // const den = 3; // return (