@rive-app/canvas-advanced
Version:
Rive's lightweight low-level canvas based web api.
16 lines (13 loc) • 867 B
Markdown

# Rive
Low-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 Advanced
```
npm install @rive-app/canvas-advanced
```
A low-level Rive API using the [CanvasRenderingContext2D](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D) renderer. It has the same benefits as the regular `@rive-app/canvas` package plus:
- Full control over the update and render loop
- Allows for rendering multiple Rive artboards to a single canvas
- Allows deeper control and manipulation of the components in a Rive hierarchy
- Web Assembly (WASM) is part of the NPM bundle, but you load in the WASM manually
[Getting Started](https://github.com/rive-app/rive-wasm#getting-started)