canvas-confetti

🎉 performant confetti animation in the browser

ISC License

Downloads
2.2M
Stars
8.9K
Committers
18

Bot releases are hidden (Show)

canvas-confetti - 1.9.3 Latest Release

Published by catdad 6 months ago

Bug Fixes

Testing improvements

New Contributors

Full Changelog: https://github.com/catdad/canvas-confetti/compare/1.9.2...1.9.3

canvas-confetti - 1.9.2

Published by catdad 11 months ago

  • Fixed a bug that caused Emoji confetti to render poorly in Firefox -- see #213

https://github.com/catdad/canvas-confetti/compare/1.9.1...1.9.2

canvas-confetti - 1.9.1

Published by catdad 11 months ago

  • Fixed a bug that caused Emoji confetti to not work in Safari -- see #209

https://github.com/catdad/canvas-confetti/compare/1.9.0...1.9.1

canvas-confetti - 1.9.0

Published by catdad about 1 year ago

  • 🎉 Emoji are finally here 🎉 Create confetti from any emoji you'd like, using the confetti.shapeFromText() helper -- see #82 and #206

https://github.com/catdad/canvas-confetti/compare/1.8.0...1.9.0

canvas-confetti - 1.8.0

Published by catdad about 1 year ago

  • Custom confetti shapes are here! You can now use any SVG Path string to make a custom confetti shape, using the confetti.shapeFromPath() helper -- see #81 and #203

https://github.com/catdad/canvas-confetti/compare/1.7.0...1.8.0

canvas-confetti - 1.7.0

Published by catdad about 1 year ago

  • Added a flat option to allow rendering confetti without any tilt or wobble -- see #157 and #202

https://github.com/catdad/canvas-confetti/compare/1.6.1...1.7.0

canvas-confetti - 1.6.1

Published by catdad about 1 year ago

  • Fixed a bug that was preventing all canvas resize events from being cleared after confetti fires -- see #195

https://github.com/catdad/canvas-confetti/compare/1.6.0...1.6.1

canvas-confetti - 1.6.0

Published by catdad almost 2 years ago

  • Added a new shape: star 🌟 -- see #189 and thanks to @jessbarnes
  • fixed a bug with resetting confetti before it has been fired for the first time

https://github.com/catdad/canvas-confetti/compare/1.5.0...1.6.0

canvas-confetti - 1.5.0

Published by catdad over 2 years ago

  • Improved rotating animation, reducing the confetti that render as a slim line and spin around one of their edges -- see #2 and #150
  • The confetti web worker is now lazy loaded, allowing you to avoid loading it in cases where you cannot use a web worker -- see #171

https://github.com/catdad/canvas-confetti/compare/1.4.0...1.5.0

canvas-confetti - 1.4.0

Published by catdad over 3 years ago

  • Added an option to control the left/right movement of confetti using the drift option -- see #99 and #144

https://github.com/catdad/canvas-confetti/compare/1.3.3...1.4.0

canvas-confetti - 1.3.3

Published by catdad almost 4 years ago

  • Fixed issue with using server-side rendering along with the es module version of this library -- see #78

https://github.com/catdad/canvas-confetti/compare/1.3.2...1.3.3

canvas-confetti - 1.3.2

Published by catdad almost 4 years ago

  • Fixed an issue that caused an error (and severe lack of confetti) in Firefox when OffscreenCanvas was manually enabled -- see #132

https://github.com/catdad/canvas-confetti/compare/1.3.1...1.3.2

canvas-confetti - 1.3.1

Published by catdad about 4 years ago

  • Fixed an issue where the page freezes if you use a negative particle count. Why would you want to do that? I have no idea. I don't tell you what to do. I just make the page not freeze (and by "I", I mean @d38u6) -- see #127

https://github.com/catdad/canvas-confetti/compare/1.3.0...1.3.1

canvas-confetti -

Published by catdad about 4 years ago

  • This is a big release. Or a small one. Your choice, really. You can now have bigger or smaller confetti by setting the scalar value. I encourage you to see just how adorable teeny tiny confetti are! -- see #116

https://github.com/catdad/canvas-confetti/compare/1.2.1...1.3.0

canvas-confetti - 1.2.1

Published by catdad about 4 years ago

This release only includes fixes to some typos. Nothing to see here.

1.2.0...1.2.1

canvas-confetti - 1.2.0

Published by catdad about 4 years ago

  • Added an option to allow canvas-confetti to handle browsers that prefer reduced motion, so that your users that struggle with visual motion don't have to see the confetti on the page without you having to specifically handle it. Just provide disableForReducedMotion and confetti will automatically be turned off for users that have enabled this option in their operating system or browser. See #114 for more information.

1.1.3...1.2.0

canvas-confetti -

Published by catdad over 4 years ago

  • Fixed an issue with using this library along with restrictive Content Security Policy, or when a web worker cannot be started for any other reason. If the library determines it should use a web worker but fails to start one, it will gracefully fall back to rendering in the main thread -- see #112

https://github.com/catdad/canvas-confetti/compare/1.1.2...1.1.3

canvas-confetti -

Published by catdad over 4 years ago

  • Fixed an issue that caused an error to be thrown when initializing the confetti control multiple times on the same canvas when using useWorker: true. This is still not a good idea, but at least it won't throw now and will still show confetti. Note: this does not mean firing confetti more than once on the same canvas. You should still do that, because more confetti is always more fun 🎉 -- see #106
  • Fixed an issue when using Safari's "ImageBitmap and OffscreenCanvas" experiment. This is disabled by default, but when enabled in the Develop menu, it causes issues when using confetti. Safari's implementation is incomplete, so now confetti will do validation for each feature of OffscreenCanvas it needs to use -- see #109

https://github.com/catdad/canvas-confetti/compare/1.1.1...1.1.2

canvas-confetti -

Published by catdad over 4 years ago

  • Fixed a bug which caused resizing the window when using a custom canvas along with worker rendering to throw - see #104

https://github.com/catdad/canvas-confetti/compare/1.1.0...1.1.1

canvas-confetti -

Published by catdad over 4 years ago

  • Added a gravity option, allowing you to make confetti fall faster or slower... or even up if you are into that - see #14

https://github.com/catdad/canvas-confetti/compare/1.0.3...1.1.0