summaryrefslogtreecommitdiff
path: root/usage.md
diff options
context:
space:
mode:
authorChristian Cunningham <cc@local.lan>2026-03-21 15:46:54 -0700
committerChristian Cunningham <cc@local.lan>2026-03-21 15:46:54 -0700
commit067ab86855b6870c9457eb5d888bb19c22ef9232 (patch)
treee1594c3098e8bfcca35b40683f28b7d6abae1237 /usage.md
Initial CommitHEADmaster
To achieve this, I used Google Antigravity. I had an initial attempt with Raylib and mapbox earcut, but it was taking too long to implement. With the help of AG, I had it finished over an afternoon
Diffstat (limited to 'usage.md')
-rw-r--r--usage.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/usage.md b/usage.md
new file mode 100644
index 0000000..a36f5c2
--- /dev/null
+++ b/usage.md
@@ -0,0 +1,24 @@
+# Segmentation Editor
+
+## Editor Controls
+
+### Mouse Controls
+
+- **Right Click**: Pan the view.
+- **Left Click**: Select a vertex.
+- **Drag**: Move a vertex.
+- **Scroll**: Zoom in and out.
+- **Double Left Click**: Then press the following keys within 5 seconds
+ - **N**: Create a new segmentation if double click was over empty space.
+ - **N**: Create a new vertex if double click was over segmentation.
+ - **D**: Delete the selected segmentation.
+
+### Keyboard Controls
+
+- **Escape**: Leave the editor.
+- **Arrow Keys**: Pan the view.
+- **S**: Save the segmentation.
+
+### File Drag and Drop
+
+- **Drag and Drop**: Drag and drop an image and a segmentation to open them.