Skip to content

Instantly share code, notes, and snippets.

@AnthonyLzq
Created August 15, 2023 06:11
Show Gist options
  • Save AnthonyLzq/60ef068efebbefe430918f1a216e20b4 to your computer and use it in GitHub Desktop.
Save AnthonyLzq/60ef068efebbefe430918f1a216e20b4 to your computer and use it in GitHub Desktop.
Old ACECOM particles config
import type { Engine, ISourceOptions } from 'tsparticles-engine'
export const particlesConfig: ISourceOptions = {
fpsLimit: 120,
interactivity: {
events: {
onclick: {
enable: true,
mode: 'push'
},
resize: true
},
modes: {
push: {
quantity: 4
},
repulse: {
distance: 200,
duration: 0.4
}
}
},
particles: {
number: {
value: 150,
density: {
enable: true,
value_area: 1500
}
},
line_linked: {
enable: true,
opacity: 0.07
},
move: {
direction: 'none',
enable: true,
outModes: {
default: 'bounce'
},
random: false,
speed: 1,
straight: false
},
size: {
value: 1
},
opacity: {
anim: {
enable: true,
speed: 1,
opacity_min: 0.6
}
}
},
retina_detect: true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment