How can I reset the particles to initial position?
felipersteles opened this issue · comments
I have this config
{
particles: {
color: {
value: colors.secondary,
animation: {
enable: true,
speed: 1,
},
},
move: {
attract: {
enable: true,
distance: 1000,
rotate: {
x: 3000,
y: 3000,
},
},
direction: "none",
enable: true,
outModes: {
default: "out",
},
path: {
clamp: true,
enable: true,
delay: {
value: 0,
},
generator: "polygonPathGenerator",
options: {
sides: 6,
turnSteps: 100,
angle: 80,
},
},
random: false,
speed: 1,
straight: true,
trail: {
fill: { color: colors.gray1 },
length: 20,
enable: true,
},
},
number: {
density: {
enable: true,
area: 100,
},
value: 1,
},
opacity: {
value: 1,
},
shape: {
type: "square",
},
size: {
value: 1.5,
},
},
emitters: {
direction: "none",
rate: {
quantity: 1,
delay: 2,
},
size: {
width: 0,
height: 0,
},
position: {
x: 50,
y: 50,
},
},
fullScreen: {
zIndex: -1,
},
detectRetina: true,
}
and I need to reset and the animation walk in circles