From b7f6cb71f7727613b60fa4a761c31ef3e8421557 Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Tue, 16 Jun 2026 04:56:13 +0300 Subject: [PATCH] betterer bg --- src/App.tsx | 5 ++++- src/index.css | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index a0e3a74..e0dabcb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -30,6 +30,8 @@ const makeSinePath = (y: number, amp: number, λ: number): string => { for (let x = 0.5; x <= 200.5; x += 0.5) { d += ` L${x.toFixed(1)},${(y + amp * Math.sin((2 * Math.PI * x) / λ)).toFixed(2)}`; } + // close down to bottom-right, across to bottom-left, back to start + d += ` L200,100 L0,100 Z`; return d; }; @@ -129,7 +131,7 @@ const App = () => { '--wave-op': w.op, }} > - + )} @@ -146,6 +148,7 @@ const App = () => { gap={{ base: "4", smDown: "2" }} >