Skip to content
#

particles

Here are 759 public repositories matching this topic...

canvas-confetti
catdad
catdad commented Feb 22, 2019
function setupCanvas(canvas) {
  // Get the device pixel ratio, falling back to 1.
  var dpr = window.devicePixelRatio || 1;
  // Get the size of the canvas in CSS pixels.
  var rect = canvas.getBoundingClientRect();
  // Give the canvas pixel dimensions of their CSS
  // size * the device pixel ratio.
  canvas.width = rect.width * dpr;
  canvas.height = rect.height * dpr;
feature request good first issue
tsparticles
adastra-react
adastra-react commented Nov 1, 2021

Contact Details

sunielengland22@gmail.com

What is your request?

Can i use this in react native?

Version

1.37.2

Which library are you using?

React.js (react-tsparticles, react-particles-js)

Code of Conduct

  • I agree to follow this project's Code of Conduct
documentation enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the particles topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the particles topic, visit your repo's landing page and select "manage topics."

Learn more