Get started with tsparticles-plugin-easing-quint CDN
MIT licensed
Tsparticles-plugin-easing-quint: library offering quintic easing functions for tsparticles particle system.
Tags:- tsparticles
- particles.js
- particlesjs
- particles
- particle
- canvas
- jsparticles
- xparticles
- particles-js
- particles-bg
- particles-bg-vue
- particles-ts
- particles.ts
- react-particles-js
- react-particles.js
- react-particles
- react
- reactjs
- vue-particles
- ngx-particles
- angular-particles
- particleground
- vue
- vuejs
- preact
- preactjs
- jquery
- angularjs
- angular
- typescript
- javascript
- animation
- web
- html5
- web-design
- webdesign
- css
- html
- css3
- animated
- background
- confetti
- fireworks
- fireworks-js
- confetti-js
- confettijs
- fireworksjs
- canvas-confetti
Stable version
Copied!
How to start using tsparticles-plugin-easing-quint CDN
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/tsparticles.min.js"></script>
<script src="https://cdn.cdnhub.io/tsparticles-plugin-easing-quint/2.12.0/tsparticles.plugin.easing.quint.min.js"></script>
<style>
#tsparticles {
height: 100vh;
width: 100%;
}
</style>
</head>
<body>
<div id="tsparticles"></div>
<script>
const particles = new TSParticles('tsparticles', {
background: {
color: '#000'
},
fpsLimit: 60,
particles: {
number: {
value: 50,
density: {
enable: true,
valueArea: 800
}
},
color: {
value: '#fff'
},
shape: {
type: 'circle'
},
opacity: {
anim: {
easing: 'easeOutQuint', // Quintic easing
speed: 1,
start: 0.1,
end: 0
}
},
size: {
anim: {
easing: 'easeOutQuint', // Quintic easing
speed: 2,
min: 0.1,
max: 0.5
}
},
move: {
direction: 'none',
enable: true,
speed: 1
}
},
interactivity: {
detectsOn: 'canvas',
events: {
onClick: {
enable: true,
mode: 'repulse'
}
},
modes: {
repulse: {
distance: 200,
duration: 0.4
}
}
},
plugins: [
'tsparticles-plugin-easing'
]
});
particles.add(true);
</script>
</body>
</html>
Copied!
Copied!