aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri/icons/icon.svg
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-13 14:45:44 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-13 14:45:44 +0800
commita4f6fcf6442640dc4ea78d59ed7489f18abc8925 (patch)
treed066ef64229c6c8a36d28882d41c44a4ad498b85 /src-tauri/icons/icon.svg
parentabda9ea5a767a188ca2b00532ae668d8b663b8b6 (diff)
downloadDropOut-a4f6fcf6442640dc4ea78d59ed7489f18abc8925.tar.gz
DropOut-a4f6fcf6442640dc4ea78d59ed7489f18abc8925.zip
feat: update SVG icon with grid pattern and axes for improved visualization
Diffstat (limited to 'src-tauri/icons/icon.svg')
-rw-r--r--src-tauri/icons/icon.svg25
1 files changed, 23 insertions, 2 deletions
diff --git a/src-tauri/icons/icon.svg b/src-tauri/icons/icon.svg
index 2c4de10..8d9a6f5 100644
--- a/src-tauri/icons/icon.svg
+++ b/src-tauri/icons/icon.svg
@@ -1,5 +1,26 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
+ <!-- Background -->
<rect width="100%" height="100%" fill="#23272a"/>
- <path d="M50 400 L256 400 L462 100" stroke="#43b581" stroke-width="20" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
- <circle cx="256" cy="400" r="10" fill="#7289da"/>
+
+ <!-- Grid Pattern -->
+ <defs>
+ <pattern id="smallGrid" width="40" height="40" patternUnits="userSpaceOnUse">
+ <path d="M 40 0 L 0 0 0 40" fill="none" stroke="#33363b" stroke-width="2"/>
+ </pattern>
+ </defs>
+ <rect width="100%" height="100%" fill="url(#smallGrid)" />
+
+ <!-- Axes -->
+ <!-- X Axis -->
+ <line x1="20" y1="400" x2="492" y2="400" stroke="#72767d" stroke-width="6" stroke-linecap="round"/>
+ <!-- Y Axis -->
+ <line x1="256" y1="20" x2="256" y2="492" stroke="#72767d" stroke-width="6" stroke-linecap="round"/>
+
+ <!-- ReLU Function Graph -->
+ <!-- Flat part (x < 0) -->
+ <!-- Rising part (x > 0) -->
+ <path d="M 20 400 L 256 400 L 462 100" stroke="#43b581" stroke-width="24" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
+
+ <!-- Origin Dot (Hinge) -->
+ <circle cx="256" cy="400" r="16" fill="#7289da" stroke="#23272a" stroke-width="4"/>
</svg> \ No newline at end of file