UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

14 lines (13 loc) 485 B
export class Constants { } Constants.canvasClass = "tsparticles-canvas-el"; Constants.randomColorValue = "random"; Constants.touchEndEvent = "touchend"; Constants.mouseUpEvent = "mouseup"; Constants.mouseMoveEvent = "mousemove"; Constants.touchStartEvent = "touchstart"; Constants.touchMoveEvent = "touchmove"; Constants.mouseLeaveEvent = "mouseleave"; Constants.touchCancelEvent = "touchcancel"; Constants.resizeEvent = "resize"; Constants.visibilityChangeEvent = "visibilitychange";