# catdad/canvas-confetti

🎉 performant confetti animation in the browser

Repository: https://github.com/catdad/canvas-confetti
Canonical: https://ross.abutalabs.com/products/canvas-confetti
Homepage: https://catdad.github.io/canvas-confetti/
Language: JavaScript
License: ISC
License Family: permissive
Topics: canvas, confetti, jsdelivr, animation, burst, fireworks, snow, particles, canvas-confetti, hacktoberfest
Last push: 2025-10-25T05:17:21+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 48, release rhythm 21, longevity 100
- inputs: {"age_days": 3141, "days_push": 312, "days_rel": 312, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12711, forks 466 (observed 2026-08-28T04:10:59.658791+00:00)

## What it is
A lightweight, dependency-free JavaScript library for rendering performant confetti animations in the browser using HTML canvas. It supports bursts, fireworks, snow, custom shapes, and emoji particles with configurable options.

## Use cases
- add confetti animation when a user completes a checkout or form
- celebrate success events in a web app with a confetti burst
- create fireworks or snow particle effects on a webpage
- render custom-shaped or emoji confetti for holidays
- respect prefers-reduced-motion for celebratory animations

## When to choose
- you need a tiny, zero-dependency browser animation library
- you want confetti, fireworks, or snow effects with fine-grained control
- you need CDN or npm delivery with broad browser support

## When to avoid
- you need animations outside the browser (it does not run in Node)
- you need a general-purpose particle or physics engine
- you need server-side or canvas-free rendering

## Facets
- artifact type: library
- maturity: stable
- function: animation, ui-components
- domain: frontend, web-development
- platform: browser
- tags: confetti, canvas, particles, celebration-effects, zero-dependency, nodejs

## Member repositories
- catdad/canvas-confetti (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:59.658791+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:50.558305+00:00, confidence not recorded.
  - readme: https://github.com/catdad/canvas-confetti (fetched 2026-08-28T04:10:59.658791+00:00, sha 2c72d8f1fbd7)
  - homepage: https://catdad.github.io/canvas-confetti/ (fetched 2026-08-29T08:10:27.157238+00:00, sha 574f66cb800c)
  - registry_npm: https://registry.npmjs.org/canvas-confetti (fetched 2026-08-29T08:10:27.166556+00:00, sha f453a7082cf7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
