@diffusionstudio/core-v4
Version:
A fast, browser based video compositing engine powered by WebCodecs
9 lines (8 loc) • 331 B
TypeScript
import { KeyframeOptions, hex } from '../types';
/**
* Interpolates a color between two keyframes
* @param options - The keyframe options
* @param timestamp - The current time in seconds
* @returns The interpolated color
*/
export declare function interpolateColor(options: KeyframeOptions<any, hex>, timestamp: number): hex;