@tsparticles/configs
Version:
tsParticles demo configurations
71 lines (70 loc) • 1.91 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: "shapeArrow",
name: "Shape Arrow",
particles: {
number: {
value: 80,
density: {
enable: true,
},
},
color: {
value: "none",
},
stroke: {
color: "#ff0000",
width: 1,
},
shape: {
type: "arrow",
options: {
arrow: {
heightFactor: {
min: 0.3,
max: 0.8,
},
headWidthFactor: {
min: 0.3,
max: 0.8,
},
bodyHeightFactor: {
min: 0.3,
max: 0.8,
},
},
},
},
opacity: {
value: 1,
},
size: {
value: {
min: 10,
max: 20,
},
},
move: {
enable: true,
speed: 6,
},
rotate: {
path: true,
},
},
background: {
color: "#000000",
},
};
exports.default = options;
});