@rive-app/webgl-advanced-single 1.0.56 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +1 -1
- package/webgl_advanced_single.mjs +3 -3
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
3
|
# Rive
|
|
4
|
-
|
|
4
|
+
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.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## WebGL Advanced Single
|
|
7
7
|
```
|
|
8
8
|
npm install @rive-app/webgl-advanced-single
|
|
9
9
|
```
|
|
10
|
-
A low
|
|
10
|
+
A low-level Rive API using the [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API) renderer. It has the same benefits as the regular `@rive-app/webgl` package plus:
|
|
11
11
|
- Full control over the update and render loop.
|
|
12
12
|
- Allows for rendering multiple Rive artboards to a single canvas.
|
|
13
13
|
- Allows deeper control and manipulation of the components in a Rive hierarchy.
|
|
14
|
+
- Web Assembly (WASM) is part of the JS bundle; there is no need to make a request to load it in at runtime
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
[Quickstart](https://github.com/rive-app/rive-wasm#quick-start)
|
|
16
|
+
[Getting Started](https://github.com/rive-app/rive-wasm#getting-started)
|
package/package.json
CHANGED