Get started with tsparticles-preset-firefly CDN

MIT licensed

JS firefly particle system: tsparticles-preset-firefly customizes size, color, behavior.

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-firefly CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with tsparticles-preset-firefly CDN - cdnhub.io</title>
  <script src="https://cdn.jsdelivr.net/npm/[email protected]/worksans.min.css"></script>
  <link rel="stylesheet" href="styles.css">
  <script src="https://cdn.jsdelivr.net/npm/@tsparticles/[email protected]/dist/core.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@tsparticles/[email protected]/dist/interactions.min.js"></script>
  <script src="https://cdn.cdnhub.io/tsparticles-preset-firefly/2.12.0/tsparticles.preset.firefly.min.js"></script>
</head>
<body>
  <div id="tsparticles"></div>
  <script>
    const particlesInit = async (main) => {
      await main.load();
      main.addInteractions();
      main.init();
    };

    const particlesContainer = document.querySelector('#tsparticles');

    particlesInit(tsparticles.load(particlesContainer));
  </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!

All versions