From 9adf6fbca8e4d163b4bb2a784eca77cb3218daa1 Mon Sep 17 00:00:00 2001 From: rei1024 Date: Sat, 19 Oct 2024 23:43:15 +0900 Subject: [PATCH] feat: frequency map --- index.html | 77 ++++++++++++++++++++++++++--------- src/app.ts | 79 ++++++++++++++++++++++++++---------- src/bind.ts | 11 ++++- src/lib/analyzeOscillator.ts | 21 ++++++---- src/lib/getMap.ts | 65 +++++++++++++++++++++++++++++ src/lib/periodMap.ts | 40 ------------------ src/main.ts | 14 ++++++- src/ui/colorTable.ts | 47 +++++++++++++++++++++ src/ui/periodColorTable.ts | 45 -------------------- 9 files changed, 263 insertions(+), 136 deletions(-) create mode 100644 src/lib/getMap.ts delete mode 100644 src/lib/periodMap.ts create mode 100644 src/ui/colorTable.ts delete mode 100644 src/ui/periodColorTable.ts diff --git a/index.html b/index.html index cf7eee1..2465381 100644 --- a/index.html +++ b/index.html @@ -32,6 +32,17 @@

Oscilloscope

+
+ Oscillator + analyzer +
@@ -59,6 +70,28 @@

+
-
+
+ Colors +
+