undelayed gratification

This commit is contained in:
mehbark 2023-09-03 09:12:45 -04:00
parent d0948a9d9b
commit 83964eacb9

View file

@ -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 (