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

2.14.3 • 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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @rive-app/canvas

Homepage

rive.app

Weekly Downloads

131,080

Version

2.14.3

License

MIT

Unpacked Size

1.61 MB

Total Files

7

Last publish

Collaborators

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