From 067ab86855b6870c9457eb5d888bb19c22ef9232 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sat, 21 Mar 2026 15:46:54 -0700 Subject: Initial Commit 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 --- usage.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 usage.md (limited to 'usage.md') 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. -- cgit v1.2.1