@diffusionstudio/core-v4
Version:
2D motion graphics and video rendering engine
10 lines (9 loc) • 367 B
TypeScript
import { KeyframeOptions, hex } from '../types';
import { Timestamp } from '../models';
/**
* Interpolates a color between two keyframes
* @param options - The keyframe options
* @param timestamp - The current timestamp
* @returns The interpolated color
*/
export declare function interpolateColor(options: KeyframeOptions<any, hex>, timestamp: Timestamp): hex;