UNPKG

@arwes/bgs

Version:

Futuristic Sci-Fi UI Web Framework

21 lines (20 loc) 701 B
import type { AnimatorNode } from '@arwes/animator'; interface CreateBackgroundMovingLinesSettings { lineWidth?: number; lineColor?: string; distance?: number; sets?: number; } interface CreateBackgroundMovingLinesProps { canvas: HTMLCanvasElement; animator?: AnimatorNode; settingsRef: { current: CreateBackgroundMovingLinesSettings; }; } interface BackgroundMovingLines { cancel: () => void; } declare const createBackgroundMovingLines: (props: CreateBackgroundMovingLinesProps) => BackgroundMovingLines; export type { CreateBackgroundMovingLinesProps, CreateBackgroundMovingLinesSettings, BackgroundMovingLines }; export { createBackgroundMovingLines };