-
v1.2.3 Stable
released this
2025-12-03 04:29:22 +00:00 | 9 commits to main since this releaseRelease Notes: v1.2.3
New Features
Touch Support (v1.2.0)
- Single-finger gestures for draw/erase/pan depending on active mode
- Pinch-to-zoom with two fingers, supports simultaneous panning
- Smooth transitions between gesture modes
URL State Persistence (v1.2.1)
- Viewport position, zoom level, and rule are saved in URL hash (
#x=0&y=0&z=10&r=B3/S23) - Back/forward browser navigation works as expected
- Shareable URLs that restore exact view state
Dark/Light Theme Toggle (v1.2.3)
- Theme switcher in sidebar
- Nord color palette for both modes
- Respects system
prefers-color-schemepreference - Persists choice to localStorage
- Grid canvas colors update dynamically
Internal Improvements
Code Architecture (v1.1.0)
- Extracted pure functions to
lib.jsfor code sharing between main thread and worker - Functions:
parseRLE,rleToCoords,coordsToRLE,hexToRGB,parseRule,popcount32
Testing & Linting (v1.2.1–v1.2.2)
- Added Vitest with 32 unit tests covering all
lib.jsfunctions - ESLint 9 flat config with browser/worker globals
npm run checkruns lint + tests- Fixed all ESLint warnings (unused vars, shadowing, global conflicts)
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads