# gka/canvid

tiny js library for playing video on canvas elements (without audio)

Repository: https://github.com/gka/canvid
Canonical: https://ross.abutalabs.com/products/canvid
Homepage: https://gka.github.io/canvid
Language: JavaScript
License: ISC
License Family: permissive
Last push: 2018-09-20T09:33:22+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4045, "days_push": 2904, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1056, forks 68 (observed 2026-08-28T04:03:24.461498+00:00)

## What it is
canvid is a tiny dependency-free JavaScript library for playing relatively short videos on HTML canvas elements using image sprites instead of HTML5 video or animated GIFs. It offers playback controls like pause, reverse, and looping, but does not support audio.

## Use cases
- play short video clips on canvas without HTML5 video
- autoplay video on iOS where HTML5 video was restricted
- replace heavy animated GIFs with smaller JPG sprite videos
- add pause and reverse playback controls to canvas animations
- chain multiple video clips with onEnd callbacks

## When to choose
- you need lightweight, dependency-free silent video playback on canvas
- animated GIFs are too large or low quality for your short clips
- you need programmatic playback control (pause, reverse, loops)

## When to avoid
- you need audio in your video playback
- you need long videos - sprite image size limits frame count
- you can use modern HTML5 video with autoplay support

## Facets
- artifact type: library
- maturity: maintenance
- function: video-processing, animation, ui-components
- domain: web-development, frontend, media
- platform: browser
- tags: canvas, video-playback, sprite-images, gif-alternative, no-audio, dependency-free, javascript

## Member repositories
- gka/canvid (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.461498+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-30T06:58:23.226760+00:00, confidence not recorded.
  - readme: https://github.com/gka/canvid (fetched 2026-08-28T04:03:24.461498+00:00, sha 21fc298826b1)
  - homepage: https://gka.github.io/canvid (fetched 2026-08-29T12:59:50.536366+00:00, sha e971f3d32b58)
  - registry_npm: https://registry.npmjs.org/canvid (fetched 2026-08-29T12:59:50.546272+00:00, sha 18e20ed39f0f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
