Brush Tool (B)
Freehand natural drawing tool with automatic Bezier smoothing to eliminate trackpad and mouse jitter.
Natural Freehand Drawing & Smoothing
The Brush Tool (B) allows you to draw expressive freehand paths, custom zones, annotations, and natural boundaries directly onto your interactive map. Built-in Catmull-Rom spline interpolation dampens mouse and trackpad jitter, transforming raw pointer input into flowing, organic curves.
Zero-latency drawing using requestAnimationFrame batching and SVG path streaming for buttery smooth responsiveness.
Dampens input jitter into balanced curves while faithfully preserving your hand motion and expressive flourishes.
Freehand strokes scale losslessly from high-level bird's-eye views down to maximum deep-zoom magnifications.
- 1Activate the Tool: Press B on your keyboard or select the Paintbrush icon on the left drawing toolbar to engage freehand mode.
- 2Sketch Freely: Click and drag across floorplans, aerial imagery, or campus master plans to generate continuous vector coordinates.
- 3Real-Time Spline Smoothing: Built-in algorithms convert discrete raw points into a continuous Bézier spline, eliminating jitter.
- 4Release to Finalize: Release the mouse or trackpad to commit the stroke and immediately open the style inspector on the right.
Path Smoothing & Point Simplification
High-frequency pointer polling on modern displays can generate hundreds of raw coordinate points per second. Layerpin utilizes an adaptive point simplification pipeline that optimizes geometry for lightning-fast web delivery without sacrificing organic shape contours:
Reduces redundant collinear points along straight segments while maintaining high vertex density around sharp curves and loops.
Stroke geometry is pre-computed and stored in high-performance memory caches, ensuring instant panning and zero re-calculation lag.
Stroke Weight, Colors & Opacity
Once a brush stroke is drawn, use the Style inspector tab on the right sidebar to fine-tune its visual characteristics to match your branding or architectural schematics:
Configure stroke thickness from fine 1px precision markings up to prominent 24px wide highway corridors and territory outlines.
Apply curated map palette colors or custom hex/HSL values. Lower opacity to create translucent highlighter overlays.
Define custom hover and active glow effects so visitors receive visual feedback when inspecting specific paths or zones.