UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

65 lines (64 loc) 1.71 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: "spin", name: "Spin", particles: { number: { value: 80, density: { enable: false, }, }, color: { value: "#ff0000", animation: { enable: true, speed: 20, sync: true, }, }, shape: { type: "circle", }, opacity: { value: 0.5, }, size: { value: 10, }, move: { enable: true, speed: { min: 1, max: 5, }, spin: { acceleration: { min: -1, max: 1, }, enable: true, }, trail: { enable: true, fill: { color: "#000" }, length: 30, }, }, }, background: { color: "#000000", }, }; exports.default = options; });