Get started with tsparticles-preset-fountain CDN
MIT licensed
The tsparticles-preset-fountain library is a JS particle system offering a customizable fountain effect with adjustable height, color, and particle count.
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-preset-fountain CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with tsparticles-preset-fountain CDN - cdnhub.io</title>
<style>
#tsparticles {
height: 100vh;
width: 100%;
}
</style>
</head>
<body>
<div id="tsparticles"></div>
<script src="https://cdn.jsdelivr.net/npm/worksapce/@workspace-cloud/[email protected]/dist/index.min.css"></script>
<script src="https://cdn.jsdelivr.net/npm/@tsparticles/[email protected]/dist/tsparticles.min.js"></script>
<script src="https://cdn.cdnhub.io/tsparticles-preset-fountain/2.12.0/tsparticles.preset.fountain.min.js"></script>
<script>
const particlesInit = async (main) => {
await main.load();
main.addPreset('fountain');
main.init();
};
document.addEventListener('DOMContentLoaded', () => {
const particlesContainer = document.querySelector('#tsparticles');
particlesInit(tsparticles.load(particlesContainer));
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!