UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

106 lines (105 loc) 3.21 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: "reactMultipleImages", name: "React Multiple Images", particles: { color: { value: "#CCC", }, collisions: { enable: true, }, links: { blink: false, color: "#fff", consent: false, distance: 150, enable: false, opacity: 0.6, width: 1, }, move: { enable: true, speed: 1, }, number: { density: { enable: true, }, value: 8, }, opacity: { animation: { enable: true, speed: 1, sync: false, }, value: { min: 0.1, max: 0.5, }, }, shape: { options: { image: [ { height: 20, replaceColor: true, src: "https://particles.js.org/images/fruits/cherry.png", width: 23, fill: true, close: true, }, { height: 20, replaceColor: true, src: "https://particles.js.org/images/fruits/grapes.png", width: 20, fill: true, close: true, }, { height: 20, replaceColor: true, src: "https://particles.js.org/images/fruits/lemon.png", width: 20, fill: true, close: true, }, ], }, type: ["image", "circle"], }, size: { animation: { enable: true, speed: 4, sync: false, }, value: { min: 10, max: 30, }, }, }, pauseOnBlur: true, background: { color: "#0d47a1", image: "", position: "50% 50%", repeat: "no-repeat", size: "cover", }, }; exports.default = options; });