Drawing mode
Drawing mode lets you freehand draw lines and arrows on the map to show movement paths, sightlines, and tactical information.Activating drawing mode
Switch to drawing mode in any of these ways:- Press
Qto toggle drawing mode on/off - Click the drawing tool button in the toolbar
- Press
Sto return to navigation mode
When drawing mode is active, clicking and dragging on the map will create drawings instead of panning the view.
Creating drawings
Draw on the map
Click and drag your mouse to create freehand lines. The drawing follows your cursor smoothly.
Drawing properties
Customize your drawings with these options:- Color: Select from the color picker to match different team roles or action types
- Line style: Toggle between solid and dotted lines
- Arrow heads: Add arrows to indicate direction of movement
Technical details
The drawing system uses coordinate normalization:- Drawings are stored in normalized coordinates (0-1000 height, aspect-adjusted width)
- Paths are rebuilt when zooming to maintain visual quality
- Smoothing reduces point count while preserving shape
- Bounding boxes enable efficient eraser collision detection
Path smoothing
When you finish a drawing, Icarus simplifies the path:- Raw input points are collected as you draw
- The Douglas-Peucker algorithm reduces points (epsilon: 1.4)
- The simplified path is rebuilt using quadratic Bezier curves
- For single points, a small circle is rendered
Eraser tool
Remove unwanted drawings with the eraser tool.Using the eraser
Erase drawings
Click and drag over any drawing to erase it. The eraser detects line segments within its radius.
- Checks if the bounding box is within eraser range
- Calculates distance to each line segment
- Removes entire drawing if any segment is within eraser radius
- Eraser radius is configurable in settings
Undo and redo
All drawing actions support undo/redo:- Undo: Press
Ctrl+Z(Windows/Linux) orCmd+Z(Mac) - Redo: Press
Ctrl+Shift+ZorCmd+Shift+Z
Interaction states
Icarus uses distinct interaction states:- Navigation: Default mode for panning and selecting elements
- Drawing: Active when creating freehand drawings
- Erasing: Active when removing drawings