From eb58f9bf7be441e21ad93b0fe017215147fbd837 Mon Sep 17 00:00:00 2001 From: rakadu1 Date: Thu, 28 Aug 2025 10:36:26 +0530 Subject: [PATCH] Prettier Code and Comments all the way. --- steps/index.html | 492 ++++++++++----------- steps/readme.md | 53 ++- steps/src/constants.js | 9 +- steps/src/db.js | 108 +++-- steps/src/dom.js | 72 ++- steps/src/drawUtils.js | 721 +++++++++++++++++++------------ steps/src/fileParsers.js | 199 +++++---- steps/src/main.js | 85 ++-- steps/src/modal.js | 73 ++-- steps/src/p5/radarSketch.js | 264 ++++++----- steps/src/p5/speedGraphSketch.js | 407 ++++++++++------- steps/src/state.js | 55 ++- steps/src/sync.js | 96 ++-- steps/src/theme.js | 92 ++-- steps/src/utils.js | 183 +++++--- 15 files changed, 1715 insertions(+), 1194 deletions(-) diff --git a/steps/index.html b/steps/index.html index 029c373..a890026 100644 --- a/steps/index.html +++ b/steps/index.html @@ -3,280 +3,268 @@ - - - Radar and Video Visualizer - Timestamp Synchronized - - - - - - - - + #modal-content { + transition: transform 0.2s ease-in-out; + } + -
-

- Radar and Video Visualizer -

-

- High-precision, timestamp-synchronized playback. -

- - -
- -
-
+
+

+ Radar and Video Visualizer +

+

+ High-precision, timestamp-synchronized playback. +

-
-
-
-
-

- Load JSON data to start visualization -

-
-
- - -
-
-
- - -
-
- -
-
- -
- -
- +
+
+
+
+

+ Load JSON data to start visualization +

- -
-
- -

- Load a video file -

- -
-
-

- Load CAN log to see speed graph -

-
+
+ +
-
+ + + +
+
+ +

+ Load a video file +

+ +
+
+

+ Load CAN log to see speed graph +

+
+
+ -