UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

89 lines (88 loc) 1.85 kB
const options = { key: "shapeInfinity", name: "Shape Infinity", particles: { number: { value: 80, density: { enable: true, }, }, color: { value: "transparent", }, stroke: { color: { value: "#ff0000", animation: { enable: true, speed: 20, sync: true, }, }, width: 1, }, shape: { type: "infinity", }, opacity: { value: 0.5, }, size: { value: { min: 20, max: 30, }, }, move: { enable: true, speed: 6, }, rotate: { animation: { enable: true, speed: 20, sync: false, }, }, }, interactivity: { events: { onHover: { enable: true, mode: "repulse", }, onClick: { enable: true, mode: "push", }, }, modes: { grab: { distance: 400, links: { opacity: 1, }, }, bubble: { distance: 400, size: 40, duration: 2, opacity: 0.8, }, repulse: { distance: 200, }, push: { quantity: 4, }, remove: { quantity: 2, }, }, }, background: { color: "#000000", }, }; export default options;