mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
- Add lock stitch rotation based on movement direction (matches C# PesxToPen.cs) - Calculate direction by accumulating vectors up to 5 stitches or 8.0 units - Scale direction vectors from magnitude 8.0 down to 0.4 for proper lock stitch size - Generate 8 lock stitches (not 4) alternating between +dir and -dir - Remove PyStitch duplicate position stitches during color changes - Add long jump detection with automatic lock stitches and cut commands - Improve color change sequence: finish locks, cut, jump, COLOR_END, start locks - Parse PEN data to get actual stitches for rendering (fixes jump stitch colors) - Add encodeStitchPosition() helper function for coordinate encoding - Improve pattern info refresh timing after mask trace - Add detailed logging for PEN encoding and pattern info responses 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| patternConverter.worker.ts | ||