Low-level Rive API using WebGL and inline WASM. Please see https://github.com/rive-app/rive-wasm for a list of all the available web runtimes and their details.
WebGL Advanced Single
npm install @rive-app/webgl-advanced-single
A low-level Rive API using the WebGL renderer. It has the same benefits as the regular
@rive-app/webgl 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 JS bundle; there is no need to make a request to load it in at runtime