open-index/open-npm huggingface dataset:
npm package: @sg-logger/web-driver
Description: This library was generated with [Nx](https://nx.dev).
Latest version: 0.0.10

# webDriver

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build webDriver` to build the library.

## Running unit tests

Run `nx test webDriver` to execute the unit tests via [Jest](https://jestjs.io).
npm package: @sg-pattern-engine/algorithms
Description: Built-in algorithm plugins for PatternEngine.
Latest version: 1.1.0

# @sg-pattern-engine/algorithms

Built-in algorithm plugins for PatternEngine.

## Install

\`\`\`bash
npm install @sg-pattern-engine/core @sg-pattern-engine/algorithms
\`\`\`

## Algorithms

| Name | Output | Description |
|---|---|---|
| `perlin` | `scalarField` | Hash-based Perlin noise |
| `flowField` | `vectorField` | Random unit vector field |
| `voronoi` | `points` | Scattered Voronoi seed points |
| `reactionDiffusion` | `scalarField` | Full Gray-Scott simulation |

## Usage

\`\`\`typescript
import { PatternEngine } from '@sg-pattern-engine/core';
import { algorithms } from '@sg-pattern-engine/algorithms';

const engine = new PatternEngine();
algorithms.forEach(algo => engine.registerAlgorithm(algo));
\`\`\`

## Documentation

See the [full documentation](https://github.com/sarthakganguly/sg-design-patterns#readme).
npm package: @sg-pattern-engine/cli
Description: Command-line interface for PatternEngine.
Latest version: 1.1.0

# @sg-pattern-engine/cli

Command-line interface for PatternEngine.

## Install

\`\`\`bash
npm install -g @sg-pattern-engine/cli
\`\`\`

## Usage

\`\`\`bash
# Generate with defaults (1024x1024 Perlin, random seed)
pattern-engine generate

# Generate from a config file
pattern-engine generate --config ./my-pattern.json

# Explicit arguments
pattern-engine generate --width 2048 --height 2048 --output result.png
\`\`\`

## Documentation

See the [full documentation](https://github.com/your-username/sg-design-patterns#readme).
npm package: @sg-pattern-engine/core
Description: The core engine, types, math, fields, tiling, and utilities for PatternEngine.
Latest version: 1.1.0

# @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 orchestration
- `PRNG` — deterministic seeded random number generator (cyrb128 + sfc32)
- `ScalarField` / `VectorField` — typed 2D field containers with bilinear sampling
- `FieldManager` — scoped field lifecycle management
- `TileRenderer` — subdivides canvas into tiles for parallel rendering
- `WorkerPool` — universal browser/Node worker thread pool
- `SymmetryTransform` — mirror, radial, and kaleidoscope symmetry
- `ColorMapper` — scalar-to-RGB mapping with grayscale, HSL, HSV, gradient, palette modes
- `AnimationLoop` — RAF-driven animation with offline batch mode
- `BufferPool` — pooled Float32Array allocations to reduce GC pressure
- `ParameterExplorer` — batch config generation for parameter space exploration

## Documentation

See the [full documentation](https://github.com/sarthakganguly/sg-design-patterns#).
npm package: @sg-pattern-engine/react
Description: React component and hook for PatternEngine.
Latest version: 1.1.0

# @sg-pattern-engine/react

React component and hook for PatternEngine.

## Install

\`\`\`bash
npm install @sg-pattern-engine/react
\`\`\`

## Usage

\`\`\`tsx
import { PatternCanvas } from '@sg-pattern-engine/react';

function makeWorker() {
  return new Worker(
    new URL('./tile.worker.ts', import.meta.url),
    { type: 'module' }
  );
}

<PatternCanvas
  config={{
    width: 1024,
    height: 1024,
    seed: 'hello',
    algorithm: 'perlin',
    renderer: 'canvas',
    colorMode: 'hsl',
    symmetryType: 'kaleidoscope',
    symmetryCount: 8,
  }}
  workerFactory={makeWorker}
/>
\`\`\`

## Documentation

See the [full documentation](https://github.com/your-username/sg-design-patterns#readme).
npm package: @sg-pattern-engine/renderers
Description: Built-in algorithm plugins for PatternEngine.
Latest version: 1.1.0

# @sg-pattern-engine/algorithms

Built-in algorithm plugins for PatternEngine.

## Install

\`\`\`bash
npm install @sg-pattern-engine/core @sg-pattern-engine/algorithms
\`\`\`

## Algorithms

| Name | Output | Description |
|---|---|---|
| `perlin` | `scalarField` | Hash-based Perlin noise |
| `flowField` | `vectorField` | Random unit vector field |
| `voronoi` | `points` | Scattered Voronoi seed points |
| `reactionDiffusion` | `scalarField` | Full Gray-Scott simulation |

## Usage

\`\`\`typescript
import { PatternEngine } from '@sg-pattern-engine/core';
import { algorithms } from '@sg-pattern-engine/algorithms';

const engine = new PatternEngine();
algorithms.forEach(algo => engine.registerAlgorithm(algo));
\`\`\`

## Documentation

See the [full documentation](https://github.com/sarthakganguly/sg-design-patterns#readme).