UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

105 lines (104 loc) 2.76 kB
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const options = { key: "tilt", name: "Tilt", background: { color: "#000000", }, particles: { bounce: { vertical: { value: 0, }, horizontal: { value: 0, }, }, color: { value: ["#1E00FF", "#FF0061", "#E1FF00", "#00FF9E"], animation: { enable: true, speed: 30, }, }, move: { decay: { min: 0.05, max: 0.15, }, direction: "top", enable: true, gravity: { acceleration: 9.81, enable: true, maxSpeed: 200, }, outModes: { top: "none", default: "destroy", }, speed: { min: 50, max: 150, }, }, number: { value: 0, limit: { value: 300 }, }, opacity: { value: 1, animation: { enable: false, startValue: "max", destroy: "min", speed: 0.3, sync: true, }, }, tilt: { direction: "random", enable: true, value: { min: 0, max: 360, }, animation: { enable: true, speed: 60, }, }, shape: { type: "square", }, size: { value: 30, }, }, emitters: { position: { x: 50, y: 100, }, size: { width: 0, height: 0, }, rate: { quantity: 5, delay: 0.1, }, }, }; exports.default = options; });