@rive-app/canvas-single
TypeScript icon, indicating that this package has built-in type declarations

2.15.0 • Public • Published

npm

Rive

High-level Rive API using CanvasRenderingContext2D with inline WASM. Please see https://github.com/rive-app/rive-wasm for a list of all the available web runtimes and their details.

Canvas Single

npm install @rive-app/canvas-single

An easy-to-use high-level Rive API using a backing CanvasRenderingContext2D renderer. This lets Rive use the browser's native high-level vector graphics renderer. Some benefits of this package:

  • Extremely small download size
  • Great for displaying many animated canvases concurrently on the screen. This is ideal for when you want to render lists or grids of Rive animations on the screen, as there is no context limit by the browser (as opposed to WebGL)
  • Support for simple vector graphics animations, raster, and mesh deformations
  • Web Assembly (WASM) backing dependency is part of the JS bundle; there is no need to make a request to load it in at runtime

Getting Started

Readme

Keywords

Package Sidebar

Install

npm i @rive-app/canvas-single

Homepage

rive.app

Weekly Downloads

346

Version

2.15.0

License

MIT

Unpacked Size

3.43 MB

Total Files

6

Last publish

Collaborators

  • phil_rive
  • rive-engineering
  • luigi-rosso
  • guidorosso
  • avivian_rive