UNPKG

@tsparticles/updater-orbit

Version:

tsParticles particles orbit updater

14 lines (13 loc) 293 B
import { ValueWithRandom, isNull } from "@tsparticles/engine"; export class OrbitRotation extends ValueWithRandom { constructor() { super(); this.value = 45; } load(data) { if (isNull(data)) { return; } super.load(data); } }