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

2.23.9 • Public • Published

npm

Rive

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

Canvas

npm install @rive-app/canvas

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
  • Requests the Web Assembly (WASM) backing dependency for you

Getting Started

Readme

Keywords

Package Sidebar

Install

npm i @rive-app/canvas

Homepage

rive.app

Weekly Downloads

195,692

Version

2.23.9

License

MIT

Unpacked Size

3.03 MB

Total Files

8

Last publish

Collaborators

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