UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

99 lines (98 loc) 2.12 kB
const options = { key: "reactPolygonMask", name: "React Polygon Mask", interactivity: { events: { onHover: { enable: true, mode: "bubble", }, }, modes: { bubble: { distance: 40, duration: 0.4, opacity: 1, size: 6, }, }, }, particles: { color: { value: "#FFF", }, links: { blink: false, color: { value: "#fff", }, consent: false, distance: 30, enable: true, opacity: 0.4, shadow: { blur: 5, color: { value: "lime", }, enable: false, }, width: 1, }, move: { enable: true, outModes: "bounce", speed: 1, }, number: { value: 200, }, opacity: { animation: { enable: true, speed: 2, sync: false, }, value: { min: 0.05, max: 0.4, }, }, shape: { type: "circle", }, size: { value: 1, }, }, polygon: { draw: { enable: true, stroke: { color: "rgba(255, 255, 255, .2)", width: 0.5, opacity: 0.2, }, }, enable: true, inline: { arrangement: "equidistant", }, move: { radius: 10, type: "path", }, scale: 0.5, type: "inline", url: "https://particles.js.org/images/smalldeer.svg", }, pauseOnBlur: true, background: { color: "#0d47a1", image: "", position: "50% 50%", repeat: "no-repeat", size: "cover", }, }; export default options;