UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

99 lines (98 loc) 2.58 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: "slow", name: "Slow", particles: { number: { value: 80, density: { enable: true, }, }, color: { value: "#ffffff", }, shape: { type: "circle", }, opacity: { value: 0.5, }, size: { value: { min: 1, max: 5, }, }, links: { enable: true, distance: 150, color: "#ffffff", opacity: 0.4, width: 1, }, move: { enable: true, speed: 20, }, }, interactivity: { events: { onHover: { enable: true, mode: "slow", parallax: { enable: false, force: 60, smooth: 10, }, }, onClick: { enable: true, mode: "push", }, }, modes: { grab: { distance: 400, links: { opacity: 1, }, }, bubble: { distance: 400, size: 40, duration: 2, opacity: 0.8, }, repulse: { distance: 200, }, push: { quantity: 4, }, remove: { quantity: 2, }, slow: { radius: 100, factor: 3, }, }, }, background: { color: "#0d47a1", }, }; exports.default = options; });