UNPKG

lifehash

Version:

TypeScript/JavaScript implementation of LifeHash, a visual hash algorithm

10 lines (9 loc) 325 B
import { CellGrid } from './CellGrid.js'; import { Color } from './Color.js'; import { Grid } from './Grid.js'; import { Size } from './Size.js'; export declare class FracGrid extends Grid<number> { constructor(size: Size); overlay(cell_grid: CellGrid, frac: number): void; color_for_value(val: number): Color; }