@tsparticles/configs
Version:
tsParticles demo configurations
141 lines (140 loc) • 5.09 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: "reduceDuplicates",
name: "Reduce Duplicates",
particles: {
color: {
value: "#ffffff",
},
move: {
direction: "none",
enable: true,
outModes: "bounce",
speed: 2,
},
number: {
value: 16,
},
opacity: {
value: 1,
},
reduceDuplicates: true,
rotate: {
animation: {
enable: true,
speed: 5,
sync: false,
},
direction: "random",
value: {
min: 0,
max: 360,
},
},
shape: {
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,
},
],
},
type: "image",
},
size: {
value: 16,
},
},
background: {
color: "#fff",
},
};
exports.default = options;
});