UNPKG

lifehash

Version:

TypeScript/JavaScript implementation of LifeHash, a visual hash algorithm

6 lines (5 loc) 113 B
export const reverse = (some_colorfunc) => { return (t) => { return some_colorfunc(1 - t); }; };