UNPKG

@tsparticles/configs

Version:

tsParticles demo configurations

86 lines (85 loc) 1.8 kB
const options = { key: "collisionsBounce", name: "Collisions Bounce", particles: { number: { value: 80, density: { enable: true, }, }, collisions: { enable: true, }, color: { value: "#ffffff", }, shape: { type: "circle", }, opacity: { value: 0.5, }, size: { value: { min: 10, max: 15, }, }, links: { enable: false, distance: 150, color: "#ffffff", opacity: 0.4, width: 1, }, move: { enable: true, speed: 10, }, }, interactivity: { events: { onHover: { enable: false, mode: "repulse", parallax: { enable: false, force: 60, smooth: 10, }, }, 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: "#0d47a1", }, }; export default options;