From a03444009cdeb56b6ebc186390b05e3e821f8620 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 21 Sep 2025 01:02:00 +0000 Subject: [PATCH] style: format code with Prettier and StandardJS This commit fixes the style issues introduced in 9b90eff according to the output from Prettier and StandardJS. Details: None --- .history/src/index_20250519130637.html | 562 ++-- .history/src/index_20250519140924.html | 582 ++-- .history/src/index_20250519141013.html | 614 +++-- .history/src/index_20250519141039.html | 622 +++-- .history/src/index_20250519142527.html | 642 +++-- .history/src/index_20250519142541.html | 622 +++-- .history/src/index_20250519173726.html | 622 +++-- .history/src/index_20250519173805.html | 622 +++-- .history/src/index_20250519181803.html | 630 +++-- .history/src/index_20250519193347.html | 636 +++-- .history/src/index_20250519193401.html | 646 +++-- .history/src/index_20250519193438.html | 711 +++-- .history/src/index_20250519193541.html | 724 +++-- .history/src/index_20250519193607.html | 724 +++-- .history/src/index_20250519193626.html | 724 +++-- .history/src/index_20250519193658.html | 733 +++-- .history/src/index_20250519193722.html | 741 +++-- .history/src/index_20250519193743.html | 755 ++++-- .history/src/index_20250519193807.html | 755 ++++-- .history/src/index_20250519193841.html | 759 ++++-- .history/src/index_20250519193903.html | 761 ++++-- .history/src/index_20250519193917.html | 763 ++++-- .history/src/index_20250519194439.html | 763 ++++-- .history/src/index_20250519222641.html | 763 ++++-- .history/src/scripts/app_20250519133340.js | 347 +-- .history/src/scripts/app_20250519140104.js | 257 +- .history/src/scripts/app_20250519140204.js | 305 ++- .history/src/scripts/app_20250519141105.js | 309 ++- .history/src/scripts/app_20250519141133.js | 317 ++- .history/src/scripts/app_20250519142105.js | 321 ++- .history/src/scripts/app_20250519142753.js | 321 ++- .history/src/scripts/app_20250519142822.js | 376 +-- .history/src/scripts/app_20250519143718.js | 376 +-- .history/src/scripts/app_20250519150611.js | 376 +-- .history/src/scripts/app_20250519152152.js | 376 +-- .history/src/scripts/app_20250519152216.js | 376 +-- .history/src/scripts/app_20250519152227.js | 376 +-- .history/src/scripts/app_20250519173906.js | 376 +-- .history/src/scripts/app_20250519181515.js | 376 +-- .history/src/scripts/app_20250519181559.js | 376 +-- .history/src/scripts/app_20250519181852.js | 410 +-- .history/src/scripts/app_20250519182000.js | 416 +-- .history/src/scripts/app_20250519194532.js | 416 +-- .history/src/scripts/app_20250519222947.js | 646 +++-- .history/src/scripts/app_20250519223028.js | 658 +++-- .history/src/scripts/app_20250602183532.js | 658 +++-- .history/src/scripts/app_20250602183633.js | 676 ++--- .history/src/scripts/app_20250605021544.js | 420 +-- .history/src/scripts/app_20250605030646.js | 417 +-- .history/src/scripts/app_20250617123815.js | 430 +-- .history/src/scripts/app_20250617124102.js | 435 +-- .history/src/scripts/app_20250617124427.js | 444 +-- .history/src/scripts/app_20250617124617.js | 444 +-- .history/src/scripts/app_20250617124803.js | 470 ++-- .history/src/scripts/app_20250617124923.js | 516 ++-- .history/src/scripts/app_20250617125036.js | 562 ++-- .../canvas/PixelCanvas_20250519133458.js | 345 +-- .../canvas/PixelCanvas_20250519135800.js | 141 +- .../canvas/PixelCanvas_20250519135958.js | 143 +- .../canvas/PixelCanvas_20250519140017.js | 143 +- .../canvas/PixelCanvas_20250519140730.js | 143 +- .../canvas/PixelCanvas_20250519140839.js | 166 +- .../canvas/PixelCanvas_20250519181944.js | 166 +- .../canvas/PixelCanvas_20250519193956.js | 166 +- .../canvas/PixelCanvas_20250519194009.js | 166 +- .../canvas/PixelCanvas_20250519194022.js | 166 +- .../canvas/PixelCanvas_20250519194046.js | 166 +- .../canvas/PixelCanvas_20250519194314.js | 166 +- .../canvas/PixelCanvas_20250519194846.js | 166 +- .../canvas/PixelCanvas_20250519194913.js | 166 +- .../canvas/PixelCanvas_20250519194935.js | 166 +- .../canvas/PixelCanvas_20250519194958.js | 171 +- .../canvas/PixelCanvas_20250519195031.js | 171 +- .../canvas/PixelCanvas_20250519195046.js | 171 +- .../canvas/PixelCanvas_20250519195059.js | 171 +- .../canvas/PixelCanvas_20250519195137.js | 171 +- .../canvas/PixelCanvas_20250519195209.js | 185 +- .../canvas/PixelCanvas_20250519195258.js | 186 +- .../canvas/PixelCanvas_20250519195325.js | 190 +- .../canvas/PixelCanvas_20250605030852.js | 202 +- .../canvas/PixelCanvas_20250605031003.js | 202 +- .../src/scripts/lib/voidAPI_20250617122524.js | 65 +- .../src/scripts/lib/voidAPI_20250617124603.js | 65 +- .../tools/BrushEngine_20250519133811.js | 199 +- .../tools/BrushEngine_20250519140305.js | 103 +- .../tools/BrushEngine_20250519140337.js | 113 +- .../tools/BrushEngine_20250519140547.js | 123 +- .../tools/BrushEngine_20250519140703.js | 158 +- .../tools/BrushEngine_20250519233407.js | 169 +- .../tools/BrushEngine_20250519233455.js | 169 +- .../tools/BrushEngine_20250519233630.js | 180 +- .../tools/BrushEngine_20250602183233.js | 180 +- .../tools/BrushEngine_20250602183334.js | 183 +- .../tools/BrushEngine_20250602183434.js | 191 +- .../tools/BrushEngine_20250602183509.js | 191 +- .../tools/BrushEngine_20250617134734.js | 191 +- .../tools/BrushEngine_20250617134921.js | 191 +- .../tools/PaletteTool_20250519133932.js | 235 +- .../tools/PaletteTool_20250602183553.js | 235 +- .../scripts/ui/MenuManager_20250605015720.js | 42 +- .../scripts/ui/UIManager_20250519134103.js | 208 +- .../scripts/ui/UIManager_20250519142836.js | 116 +- .../scripts/ui/UIManager_20250519142852.js | 112 +- .../components/menus_20250519132840.css | 28 +- .../components/menus_20250519141705.css | 28 +- .../components/menus_20250519141732.css | 32 +- .../components/menus_20250519142601.css | 32 +- .../components/menus_20250519142613.css | 32 +- .../components/menus_20250519222650.css | 32 +- .../components/menus_20250519222705.css | 32 +- .../components/tools_20250519132814.css | 15 +- .../components/tools_20250519141609.css | 15 +- .../components/tools_20250519141644.css | 15 +- .history/src/styles/main_20250519132719.css | 9 +- .history/src/styles/main_20250519141300.css | 5 +- .history/src/styles/main_20250519141410.css | 15 +- .history/src/styles/main_20250519141453.css | 15 +- .history/src/styles/main_20250519141546.css | 15 +- .history/src/styles/main_20250519141901.css | 19 +- .history/src/styles/main_20250519141924.css | 19 +- .history/src/styles/main_20250519141954.css | 23 +- .history/src/styles/main_20250519142012.css | 39 +- .history/src/styles/main_20250519142549.css | 39 +- .history/src/styles/main_20250519143442.css | 39 +- .history/src/styles/main_20250519143542.css | 47 +- .history/src/styles/main_20250519200408.css | 47 +- .history/src/styles/main_20250519200820.css | 49 +- .history/src/styles/main_20250519222606.css | 47 +- .../themes/lain-dive_20250519132922.css | 6 +- .../themes/lain-dive_20250519142629.css | 4 +- .../themes/lain-dive_20250519142652.css | 4 +- .../themes/lain-dive_20250519142701.css | 4 +- .../themes/lain-dive_20250519142715.css | 4 +- BUILD_INSTRUCTIONS.md | 7 +- LAUNCH_READY.md | 11 +- README.md | 28 +- devfile.yaml | 2 +- launch-check.js | 90 +- main.js | 118 +- preload.js | 24 +- scripts/animation/gif-exporter.js | 242 +- scripts/animation/timeline.js | 916 ++++--- scripts/app.js | 1754 ++++++------ scripts/canvas/dithering.js | 556 ++-- scripts/canvas/effects.js | 588 ++-- scripts/canvas/pixel-canvas.js | 1473 +++++----- scripts/tools/palette-tool.js | 385 +-- scripts/tools/tools.js | 968 +++---- scripts/ui/ui-manager.js | 2396 +++++++++-------- src/scripts/animation/Frame.js | 214 +- src/scripts/animation/GifExporter.js | 66 +- src/scripts/animation/Timeline.js | 279 +- src/scripts/app.js | 712 ++--- src/scripts/canvas/dithering.js | 199 +- src/scripts/canvas/effects.js | 170 +- src/scripts/lib/gif.js | 87 +- src/scripts/lib/gif.worker.js | 20 +- src/scripts/lib/voidAPI.js | 4 +- src/scripts/tools/BrushEngine.js | 573 ++-- src/scripts/tools/GlitchTool.js | 198 +- src/scripts/tools/PaletteTool.js | 235 +- src/scripts/tools/SymmetryTools.js | 42 +- src/scripts/ui/MenuManager.js | 42 +- src/scripts/ui/MenuSystem.js | 324 +-- src/scripts/ui/ThemeManager.js | 94 +- src/styles/components/canvas.css | 6 +- src/styles/components/timeline.css | 2 +- src/styles/themes/lain-dive.css | 4 +- src/styles/themes/monolith.css | 6 +- src/styles/themes/morrowind-glyph.css | 8 +- src/themes/lain-dive.css | 31 +- src/themes/monolith.css | 236 +- src/themes/morrowind-glyph.css | 262 +- usage-guide.md | 5 + 174 files changed, 29477 insertions(+), 22479 deletions(-) diff --git a/.history/src/index_20250519130637.html b/.history/src/index_20250519130637.html index efed6e0..2195834 100644 --- a/.history/src/index_20250519130637.html +++ b/.history/src/index_20250519130637.html @@ -1,284 +1,328 @@ - + - - - - VOIDSKETCH - - - - - - - - -
- -
-
VOIDSKETCH
-
- - - + + + + VOIDSKETCH + + + + + + + + +
+ +
+
VOIDSKETCH
+
+ + + +
-
- - -
- -
-
-
- TOOLS -
- -
-
BRUSH
-
- - - - - - - - + + +
+ +
+
+
+ TOOLS
-
- -
-
SYMMETRY
-
- - - - - + +
+
BRUSH
+
+ + + + + + + + +
-
- -
-
PALETTE
-
-
- - MONO + +
+
SYMMETRY
+
+ + + + +
-
- - LAIN +
+ +
+
PALETTE
+
+
+ + MONO +
+
+ + LAIN +
+
+ + RED +
+
+ + GREEN +
-
- - RED +
+ +
+
EFFECTS
+
+ + + +
-
- - GREEN +
+ Intensity +
- -
-
EFFECTS
-
- - - - -
-
- Intensity - -
-
-
-
- - -
-
- - - -
-
-
- - 100% - -
-
64x64
-
X: 0 Y: 0
-
- - -
-
-
- FRAMES + + +
+
+ + +
- -
- - - -
- -
- +
+
+ + 100% + +
+
64x64
+
X: 0 Y: 0
- -
-
ANIMATION
-
-
+ + +
+
+
+ FRAMES +
+ +
+ - -
-
- - + +
+
-
- - + +
+
ANIMATION
+
+ + + +
+
+ + +
+
+ + +
-
- - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/.history/src/index_20250519140924.html b/.history/src/index_20250519140924.html index 7192bd6..3c1b006 100644 --- a/.history/src/index_20250519140924.html +++ b/.history/src/index_20250519140924.html @@ -1,307 +1,357 @@ - + - - - - VOIDSKETCH - - - - - - - - -
- -
-
VOIDSKETCH
-
- - - + + + + VOIDSKETCH + + + + + + + + +
+ +
+
VOIDSKETCH
+
+ + + +
-
- -
- -
-
-
- TOOLS -
- -
-
BRUSH
-
- - - - - - - - - - - - - + +
+ +
+
+
+ TOOLS
-
-
- Brush Size - 1 +
+
BRUSH
+
+ + + + + + + + + + + + +
- -
-
-
-
SYMMETRY
-
- - - - - +
+
+ Brush Size + 1 +
+ +
-
-
-
PALETTE
-
-
- - MONO -
-
- - LAIN -
-
- - RED -
-
- - GREEN +
+
SYMMETRY
+
+ + + + +
-
-
-
EFFECTS
-
- - - - -
-
- Intensity - +
+
PALETTE
+
+
+ + MONO +
+
+ + LAIN +
+
+ + RED +
+
+ + GREEN +
+
-
-
-
- -
-
- - - -
-
-
- - 100% - +
+
EFFECTS
+
+ + + + +
+
+ Intensity + +
+
-
64x64
-
X: 0 Y: 0
-
- -
-
-
- FRAMES + +
+
+ + +
- -
- - - +
+
+ + 100% + +
+
64x64
+
X: 0 Y: 0
+
-
- -
+ +
+
+
+ FRAMES +
-
-
ANIMATION
-
- - -
-
- - + +
+
-
- - + +
+
ANIMATION
+
+ + + +
+
+ + +
+
+ + +
-
- - + +
+
- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/.history/src/index_20250519141013.html b/.history/src/index_20250519141013.html index 252c5b3..70121b2 100644 --- a/.history/src/index_20250519141013.html +++ b/.history/src/index_20250519141013.html @@ -1,323 +1,373 @@ - + - - - - VOIDSKETCH - - - - - - - - -
- -
-
VOIDSKETCH
-
- - - + + + + VOIDSKETCH + + + + + + + + +
+ +
+
VOIDSKETCH
+
+ + + +
-
- -
- -
-
-
- TOOLS -
- -
-
BRUSH
-
- - - - - - - - - - - - - + +
+ +
+
+
+ TOOLS
-
-
- Brush Size - 1 +
+
BRUSH
+
+ + + + + + + + + + + + +
- -
-
-
-
SYMMETRY
-
- - - - - +
+
+ Brush Size + 1 +
+ +
-
-
-
PALETTE
-
-
- - MONO -
-
- - LAIN -
-
- - RED -
-
- - GREEN +
+
SYMMETRY
+
+ + + + +
-
-
-
EFFECTS
-
- - - - - - - - -
-
- Intensity - +
+
PALETTE
+
+
+ + MONO +
+
+ + LAIN +
+
+ + RED +
+
+ + GREEN +
+
-
-
-
- -
-
- - - -
-
-
- - 100% - +
+
EFFECTS
+
+ + + + + + + + +
+
+ Intensity + +
+
-
64x64
-
X: 0 Y: 0
-
- -
-
-
- FRAMES + +
+
+ + +
- -
- - - +
+
+ + 100% + +
+
64x64
+
X: 0 Y: 0
+
-
- -
+ +
+
+
+ FRAMES +
-
-
ANIMATION
-
- - -
-
- - + +
+
-
- - + +
+
ANIMATION
+
+ + + +
+
+ + +
+
+ + +
-
- - + +
+
- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/.history/src/index_20250519141039.html b/.history/src/index_20250519141039.html index dce75ca..3e9b0c1 100644 --- a/.history/src/index_20250519141039.html +++ b/.history/src/index_20250519141039.html @@ -1,325 +1,379 @@ - + - - - - VOIDSKETCH - - - - - - - - -
- -
-
VOIDSKETCH
-
- - - + + + + VOIDSKETCH + + + + + + + + +
+ +
+
VOIDSKETCH
+
+ + + +
-
- -
- -
-
-
- TOOLS -
- -
-
BRUSH
-
- - - - - - - - - - - - - + +
+ +
+
+
+ TOOLS
-
-
- Brush Size - 1 +
+
BRUSH
+
+ + + + + + + + + + + + +
- -
-
-
-
SYMMETRY
-
- - - - - +
+
+ Brush Size + 1 +
+ +
-
-
-
PALETTE
-
-
- - MONO -
-
- - LAIN -
-
- - RED -
-
- - GREEN +
+
SYMMETRY
+
+ + + + +
-
-
-
EFFECTS
-
- - - - - - - - -
-
- Intensity - +
+
PALETTE
+
+
+ + MONO +
+
+ + LAIN +
+
+ + RED +
+
+ + GREEN +
+
-
-
-
- -
-
- - - -
-
-
- - 100% - +
+
EFFECTS
+
+ + + + + + + + +
+
+ Intensity + +
+
-
64x64
-
X: 0 Y: 0
-
- -
-
-
- FRAMES + +
+
+ + +
- -
- - - +
+
+ + 100% + +
+
64x64
+
X: 0 Y: 0
+
-
- -
+ +
+
+
+ FRAMES +
-
-
ANIMATION
-
- - -
-
- - + +
+
-
- - + +
+
ANIMATION
+
+ + + +
+
+ + +
+
+ + +
-
- - + +
+
- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/.history/src/index_20250519142527.html b/.history/src/index_20250519142527.html index 83f6f05..78b6e27 100644 --- a/.history/src/index_20250519142527.html +++ b/.history/src/index_20250519142527.html @@ -1,337 +1,391 @@ - + - - - - VOIDSKETCH - - - - - - - - -
- -
-
VOIDSKETCH
-
- - - + + + + VOIDSKETCH + + + + + + + + +
+ +
+
VOIDSKETCH
+
+ + + +
-
- -