/buraha

Primary LanguageTypeScriptMIT LicenseMIT

Buraha

Blur"Yet Another"Hash — A performance enhanced version of the BlurHash decoder at the expense of visual integrity.

In-browser Benchmark is available

Buraha BlurHash

Usage

The API is provided only for decoding on the browser. You can use BlurHash's library to encode it.

Installation

npm install buraha

API

export function render(source: string, target: HTMLCanvasElement | OffscreenCanvas, punch?: number): void;