@tsparticles/configs
Version:
tsParticles demo configurations
67 lines (66 loc) • 1.76 kB
JavaScript
(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: "gifs",
name: "Gifs",
interactivity: {
events: {
onClick: {
enable: true,
mode: "push",
},
},
modes: {
push: {
quantity: 4,
},
},
},
particles: {
color: {
value: "#ffffff",
},
move: {
enable: true,
speed: { min: 1, max: 6 },
},
number: {
value: 20,
limit: { value: 30 },
},
opacity: {
value: 1,
},
rotate: {
path: true,
},
shape: {
options: {
image: {
gif: true,
height: 200,
src: "https://particles.js.org/images/mario.gif",
width: 200,
},
},
type: "image",
},
size: {
value: {
min: 32,
max: 64,
},
},
},
};
exports.default = options;
});