UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

146 lines (145 loc) 5.52 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: "emitterImages", name: "Emitter Images", particles: { move: { enable: true, outModes: "destroy", speed: 2, }, number: { density: { enable: true, }, value: 80, }, opacity: { value: 1, }, rotate: { animation: { enable: true, speed: 5, sync: false, }, direction: "random", value: { min: 0, max: 360, }, }, shape: { type: "circle", }, size: { value: 16, }, }, background: { color: "#fff", }, emitters: { particles: { shape: { type: "image", options: { image: [ { src: "https://particles.js.org/images/fruits/apple.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/avocado.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/banana.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/berries.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/cherry.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/grapes.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/lemon.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/orange.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/peach.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/pear.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/pepper.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/plum.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/star.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/strawberry.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/watermelon.png", width: 32, height: 32, }, { src: "https://particles.js.org/images/fruits/watermelon_slice.png", width: 32, height: 32, }, ], }, }, }, }, }; exports.default = options; });