@sg-pattern-engine/core
v1.1.0
Published
The core engine, types, math, fields, tiling, and utilities for PatternEngine.
Downloads
222
Readme
@sg-pattern-engine/core
The core engine, types, math, fields, tiling, and utilities for PatternEngine.
Install
```bash npm install @sg-pattern-engine/core ```
Includes
PatternEngine— algorithm registry and tile orchestrationPRNG— deterministic seeded random number generator (cyrb128 + sfc32)ScalarField/VectorField— typed 2D field containers with bilinear samplingFieldManager— scoped field lifecycle managementTileRenderer— subdivides canvas into tiles for parallel renderingWorkerPool— universal browser/Node worker thread poolSymmetryTransform— mirror, radial, and kaleidoscope symmetryColorMapper— scalar-to-RGB mapping with grayscale, HSL, HSV, gradient, palette modesAnimationLoop— RAF-driven animation with offline batch modeBufferPool— pooled Float32Array allocations to reduce GC pressureParameterExplorer— batch config generation for parameter space exploration
Documentation
See the full documentation.
