UNPKG

tsparticles-engine

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

16 lines (15 loc) 527 B
import type { IAnimation, IRangedAnimation } from "./IAnimation"; import type { IRandom } from "./IRandom"; import type { RangeValue } from "../../Types/RangeValue"; export interface IValueWithRandom { random: boolean | IRandom; value: RangeValue; } export interface IAnimationValueWithRandom extends IValueWithRandom { anim: IAnimation; animation: IAnimation; } export interface IRangedAnimationValueWithRandom extends IAnimationValueWithRandom { anim: IRangedAnimation; animation: IRangedAnimation; }