react-confetti-boom
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -45,3 +45,3 @@ import React, { useRef, useCallback, useEffect } from 'react'; | ||
this.yFriction = 0.87; | ||
this.gravity = 0.55; | ||
this.gravity = randomNumBetween(0.50, 0.60); | ||
this.opacity = 1; | ||
@@ -48,0 +48,0 @@ this.rotate = randomNumBetween(0, 360); |
@@ -47,3 +47,3 @@ 'use strict'; | ||
this.yFriction = 0.87; | ||
this.gravity = 0.55; | ||
this.gravity = randomNumBetween(0.50, 0.60); | ||
this.opacity = 1; | ||
@@ -50,0 +50,0 @@ this.rotate = randomNumBetween(0, 360); |
{ | ||
"name": "react-confetti-boom", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A customizable React confetti explosion component for celebrations and special events", | ||
@@ -5,0 +5,0 @@ "author": "almond-bongbong <bal.dongdongdong@gmail.com>", |
@@ -12,3 +12,3 @@ # React Confetti Boom 🎉 | ||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/almond-bongbong/react-confetti-boom/main/docs/preview.gif" alt="React Confetti Boom preview" /> | ||
<img src="./docs/preview.gif" alt="React Confetti Boom preview" /> | ||
</p> | ||
@@ -15,0 +15,0 @@ |
28069