@tsparticles/configs
Version:
tsParticles demo configurations
61 lines (60 loc) • 1.6 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: "shapeMultilineText",
name: "Shape Multiline Text",
particles: {
number: {
value: 80,
density: {
enable: true,
},
},
color: {
value: "#ff0000",
animation: {
enable: true,
speed: 20,
sync: true,
},
},
shape: {
type: "text",
options: {
text: {
value: "pippo\npluto",
},
},
},
opacity: {
value: {
min: 0.5,
max: 1,
},
},
size: {
value: {
min: 16,
max: 32,
},
},
move: {
enable: true,
speed: 6,
},
},
background: {
color: "#000000",
},
};
exports.default = options;
});