UNPKG

image-wife

Version:

A library for compile-time and runtime procedural modification of photographic images.

11 lines (9 loc) 247 B
import { getDelayConfusionFactor, } from './getDelayConfusionFactor'; import { getDelayTime, } from './getDelayTime'; export const getConfusedDelayTime = () => ( getDelayTime() * (1 - getDelayConfusionFactor() * Math.random()) );